// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.geocities.com/kpdus/jad.html // Decompiler options: braces fieldsfirst space lnc package com.fasterxml.jackson.databind; import com.fasterxml.jackson.core.FormatSchema; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.core.PrettyPrinter; import com.fasterxml.jackson.core.SerializableString; import com.fasterxml.jackson.core.io.CharacterEscapes; import com.fasterxml.jackson.core.io.SerializedString; import com.fasterxml.jackson.core.util.Instantiatable; import java.io.Serializable; // Referenced classes of package com.fasterxml.jackson.databind: // ObjectWriter public static final class rootValueSeparator implements Serializable { public static final empty = new (null, null, null, null); private static final long serialVersionUID = 1L; public final CharacterEscapes characterEscapes; public final PrettyPrinter prettyPrinter; public final SerializableString rootValueSeparator; public final FormatSchema schema; public void initialize(JsonGenerator jsongenerator) { PrettyPrinter prettyprinter1 = prettyPrinter; if (prettyPrinter != null) { if (prettyprinter1 == ObjectWriter.NULL_PRETTY_PRINTER) { jsongenerator.setPrettyPrinter(null); } else { PrettyPrinter prettyprinter = prettyprinter1; if (prettyprinter1 instanceof Instantiatable) { prettyprinter = (PrettyPrinter)((Instantiatable)prettyprinter1).createInstance(); } jsongenerator.setPrettyPrinter(prettyprinter); } } if (characterEscapes != null) { jsongenerator.setCharacterEscapes(characterEscapes); } if (schema != null) { jsongenerator.setSchema(schema); } if (rootValueSeparator != null) { jsongenerator.setRootValueSeparator(rootValueSeparator); } } public rootValueSeparator with(FormatSchema formatschema) { if (schema == formatschema) { return this; } else { return new (prettyPrinter, formatschema, characterEscapes, rootValueSeparator); } } public rootValueSeparator with(PrettyPrinter prettyprinter) { PrettyPrinter prettyprinter1 = prettyprinter; if (prettyprinter == null) { prettyprinter1 = ObjectWriter.NULL_PRETTY_PRINTER; } if (prettyprinter1 == prettyPrinter) { return this; } else { return new (prettyprinter1, schema, characterEscapes, rootValueSeparator); } } public rootValueSeparator with(CharacterEscapes characterescapes) { if (characterEscapes == characterescapes) { return this; } else { return new (prettyPrinter, schema, characterescapes, rootValueSeparator); } } public rootValueSeparator withRootValueSeparator(SerializableString serializablestring) { if (serializablestring != null ? rootValueSeparator != null && serializablestring.getValue().equals(rootValueSeparator.getValue()) : rootValueSeparator == null) { return this; } else { return new (prettyPrinter, schema, characterEscapes, serializablestring); } } public characterEscapes withRootValueSeparator(String s) { if (s != null ? s.equals(rootValueSeparator) : rootValueSeparator == null) { return this; } PrettyPrinter prettyprinter = prettyPrinter; FormatSchema formatschema = schema; CharacterEscapes characterescapes = characterEscapes; if (s == null) { s = null; } else { s = new SerializedString(s); } return new (prettyprinter, formatschema, characterescapes, s); } public (PrettyPrinter prettyprinter, FormatSchema formatschema, CharacterEscapes characterescapes, SerializableString serializablestring) { prettyPrinter = prettyprinter; schema = formatschema; characterEscapes = characterescapes; rootValueSeparator = serializablestring; } }