Package com.landawn.abacus.parser
Class XMLSerializationConfig
java.lang.Object
com.landawn.abacus.parser.ParserConfig<XMLSerializationConfig>
com.landawn.abacus.parser.SerializationConfig<XMLSerializationConfig>
com.landawn.abacus.parser.JSONXMLSerializationConfig<XMLSerializationConfig>
com.landawn.abacus.parser.XMLSerializationConfig
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
XMLSerializationConfig.XSC
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
boolean
Checks if is ignore type info.ignoreTypeInfo
(boolean ignoreTypeInfo) Sets the ignore type info.Deprecated.this method should not be calledDeprecated.this method should not be calledDeprecated.this method should not be calledsetCharQuotation
(char charQuotation) Deprecated.this method should not be calledsetStringQuotation
(char stringQuotation) Deprecated.this method should not be calledboolean
Checks if is tag by property name.tagByPropertyName
(boolean tagByPropertyName) Sets the tag by property name.toString()
Methods inherited from class com.landawn.abacus.parser.JSONXMLSerializationConfig
failOnEmptyBean, failOnEmptyBean, getCharQuotation, getDateTimeFormat, getIndentation, getPropNamingPolicy, getStringQuotation, prettyFormat, prettyFormat, setDateTimeFormat, setIndentation, setPropNamingPolicy, supportCircularReference, supportCircularReference, writeBigDecimalAsPlain, writeBigDecimalAsPlain, writeLongAsString, writeLongAsString, writeNullBooleanAsFalse, writeNullBooleanAsFalse, writeNullNumberAsZero, writeNullNumberAsZero, writeNullStringAsEmpty, writeNullStringAsEmpty
Methods inherited from class com.landawn.abacus.parser.SerializationConfig
getExclusion, setExclusion, skipTransientField, skipTransientField
Methods inherited from class com.landawn.abacus.parser.ParserConfig
copy, getIgnoredPropNames, getIgnoredPropNames, setIgnoredPropNames, setIgnoredPropNames, setIgnoredPropNames
-
Constructor Details
-
XMLSerializationConfig
public XMLSerializationConfig()
-
-
Method Details
-
setStringQuotation
Deprecated.this method should not be calledSets the string quotation.- Overrides:
setStringQuotation
in classJSONXMLSerializationConfig<XMLSerializationConfig>
- Parameters:
stringQuotation
-- Returns:
-
setCharQuotation
Deprecated.this method should not be calledSets the char quotation.- Overrides:
setCharQuotation
in classJSONXMLSerializationConfig<XMLSerializationConfig>
- Parameters:
charQuotation
-- Returns:
-
noCharQuotation
Deprecated.this method should not be calledSets the string quotation.- Overrides:
noCharQuotation
in classJSONXMLSerializationConfig<XMLSerializationConfig>
- Returns:
-
noStringQuotation
Deprecated.this method should not be calledSets the string quotation.- Overrides:
noStringQuotation
in classJSONXMLSerializationConfig<XMLSerializationConfig>
- Returns:
-
noQuotation
Deprecated.this method should not be calledSets the string quotation.- Overrides:
noQuotation
in classJSONXMLSerializationConfig<XMLSerializationConfig>
- Returns:
-
tagByPropertyName
public boolean tagByPropertyName()Checks if is tag by property name.- Returns:
true
, if is tag by property name
-
tagByPropertyName
Sets the tag by property name.- Parameters:
tagByPropertyName
-- Returns:
-
ignoreTypeInfo
public boolean ignoreTypeInfo()Checks if is ignore type info.- Returns:
true
, if is ignore type info
-
ignoreTypeInfo
Sets the ignore type info.- Parameters:
ignoreTypeInfo
-- Returns:
-
hashCode
public int hashCode()- Overrides:
hashCode
in classSerializationConfig<XMLSerializationConfig>
-
equals
- Overrides:
equals
in classSerializationConfig<XMLSerializationConfig>
- Parameters:
obj
-- Returns:
true
, if successful
-
toString
- Overrides:
toString
in classSerializationConfig<XMLSerializationConfig>
-