Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  package com.fasterxml.jackson.core.util;
  
  
  
 public class JsonGeneratorDelegate extends JsonGenerator
 {
    
Delegate object that method calls are delegated to.
 
     protected JsonGenerator delegate;
 
     public JsonGeneratorDelegate(JsonGenerator d) {
          = d;
     }   
 
     @Override
     public void close() throws IOException {
         .close();
     }
 
     @Override
     public void copyCurrentEvent(JsonParser jpthrows IOExceptionJsonProcessingException {
         .copyCurrentEvent(jp);
     }
 
     @Override
     public void copyCurrentStructure(JsonParser jpthrows IOExceptionJsonProcessingException {
         .copyCurrentStructure(jp);
     }
 
     @Override
     public JsonGenerator disable(Feature f) {
         .disable(f);
         return this;
     }
 
     @Override
     public JsonGenerator enable(Feature f) {
         .enable(f);
         return this;
     }
 
     @Override
     public void flush() throws IOException {
         .flush();
     }
 
     @Override
     public ObjectCodec getCodec() {
         return .getCodec();
     }
 
     @Override
     public JsonStreamContext getOutputContext() {
         return .getOutputContext();
     }
 
     @Override
     public void setSchema(FormatSchema schema) {
         .setSchema(schema);
     }
     
     @Override
     public boolean canUseSchema(FormatSchema schema) {
         return .canUseSchema(schema);
     }
     
     @Override
     public Version version() {
         return .version();
     }
     
     @Override
     public Object getOutputTarget() {
         return .getOutputTarget();
     }
 
     @Override
         .setRootValueSeparator(sep);
         return this;
     }
     
     @Override
     public boolean isClosed() {
         return .isClosed();
     }
 
     @Override
     public boolean isEnabled(Feature f) {
         return .isEnabled(f);
     }
 
     @Override
    public JsonGenerator setCodec(ObjectCodec oc) {
        .setCodec(oc);
        return this;
    }
    @Override
        return this;
    }
    @Override
    public void writeBinary(Base64Variant b64variantbyte[] dataint offsetint len)
        throws IOExceptionJsonGenerationException
    {
        .writeBinary(b64variantdataoffsetlen);
    }
    @Override
    public int writeBinary(Base64Variant b64variantInputStream dataint dataLength)
        throws IOExceptionJsonGenerationException {
        return .writeBinary(b64variantdatadataLength);
    }
    
    @Override
    public void writeBoolean(boolean statethrows IOExceptionJsonGenerationException {
        .writeBoolean(state);
    }
    @Override
    public void writeEndArray() throws IOExceptionJsonGenerationException {
        .writeEndArray();
    }
    @Override
    public void writeEndObject() throws IOExceptionJsonGenerationException {
        .writeEndObject();
    }
    @Override
    public void writeFieldName(String name)
        throws IOExceptionJsonGenerationException
    {
        .writeFieldName(name);
    }
    @Override
    public void writeFieldName(SerializableString name)
        throws IOExceptionJsonGenerationException
    {
        .writeFieldName(name);
    }
    
    @Override
    public void writeNull() throws IOExceptionJsonGenerationException {
        .writeNull();
    }
    @Override
    public void writeNumber(int vthrows IOExceptionJsonGenerationException {
        .writeNumber(v);
    }
    @Override
    public void writeNumber(long vthrows IOExceptionJsonGenerationException {
        .writeNumber(v);
    }
    @Override
    public void writeNumber(BigInteger vthrows IOException,
            JsonGenerationException {
        .writeNumber(v);
    }
    @Override
    public void writeNumber(double vthrows IOException,
            JsonGenerationException {
        .writeNumber(v);
    }
    @Override
    public void writeNumber(float vthrows IOException,
            JsonGenerationException {
        .writeNumber(v);
    }
    @Override
    public void writeNumber(BigDecimal vthrows IOException,
            JsonGenerationException {
        .writeNumber(v);
    }
    @Override
    public void writeNumber(String encodedValuethrows IOExceptionJsonGenerationExceptionUnsupportedOperationException {
        .writeNumber(encodedValue);
    }
    @Override
    public void writeObject(Object pojothrows IOException,JsonProcessingException {
        .writeObject(pojo);
    }
    @Override
    public void writeRaw(String textthrows IOExceptionJsonGenerationException {
        .writeRaw(text);
    }
    @Override
    public void writeRaw(String textint offsetint lenthrows IOExceptionJsonGenerationException {
        .writeRaw(textoffsetlen);
    }
    @Override
    public void writeRaw(SerializableString raw)
        throws IOExceptionJsonGenerationException {
        .writeRaw(raw);
    }
    
    @Override
    public void writeRaw(char[] textint offsetint lenthrows IOExceptionJsonGenerationException {
        .writeRaw(textoffsetlen);
    }
    @Override
    public void writeRaw(char cthrows IOExceptionJsonGenerationException {
        .writeRaw(c);
    }
    @Override
    public void writeRawValue(String textthrows IOExceptionJsonGenerationException {
        .writeRawValue(text);
    }
    @Override
    public void writeRawValue(String textint offsetint lenthrows IOExceptionJsonGenerationException {
         .writeRawValue(textoffsetlen);
    }
    @Override
    public void writeRawValue(char[] textint offsetint lenthrows IOExceptionJsonGenerationException {
         .writeRawValue(textoffsetlen);
    }
    @Override
    public void writeStartArray() throws IOExceptionJsonGenerationException {
         .writeStartArray();
    }
    @Override
    public void writeStartObject() throws IOExceptionJsonGenerationException {
        .writeStartObject();
    }
    @Override
    public void writeString(String textthrows IOException,JsonGenerationException {
        .writeString(text);
    }
    @Override
    public void writeString(char[] textint offsetint lenthrows IOExceptionJsonGenerationException {
        .writeString(textoffsetlen);
    }
    @Override
    public void writeString(SerializableString textthrows IOExceptionJsonGenerationException {
        .writeString(text);
    }
    @Override
    public void writeRawUTF8String(byte[] textint offsetint length)
        throws IOExceptionJsonGenerationException
    {
        .writeRawUTF8String(textoffsetlength);
    }
    @Override
    public void writeUTF8String(byte[] textint offsetint length)
        throws IOExceptionJsonGenerationException
    {
        .writeUTF8String(textoffsetlength);
    }
    
    @Override
    public void writeTree(TreeNode rootNodethrows IOExceptionJsonProcessingException {
        .writeTree(rootNode);
    }
New to GrepCode? Check out our FAQ X