mirror of
https://github.com/stleary/JSON-java.git
synced 2025-08-03 03:15:32 -04:00
#748 - javadoc updated for methods.
This commit is contained in:
parent
7fe2fd95a5
commit
c05d7058ff
@ -149,6 +149,7 @@ public class XMLParserConfiguration extends ParserConfiguration {
|
|||||||
* xsi:type="integer" as integer, xsi:type="string" as string
|
* xsi:type="integer" as integer, xsi:type="string" as string
|
||||||
* @param forceList <code>new HashSet<String>()</code> to parse the provided tags' values as arrays
|
* @param forceList <code>new HashSet<String>()</code> to parse the provided tags' values as arrays
|
||||||
* @param maxNestingDepth <code>int</code> to limit the nesting depth
|
* @param maxNestingDepth <code>int</code> to limit the nesting depth
|
||||||
|
* @param closeEmptyTag <code>boolean</code> to turn on explicit end tag for tag with empty value
|
||||||
*/
|
*/
|
||||||
private XMLParserConfiguration (final boolean keepStrings, final String cDataTagName,
|
private XMLParserConfiguration (final boolean keepStrings, final String cDataTagName,
|
||||||
final boolean convertNilAttributeToNull, final Map<String, XMLXsiTypeConverter<?>> xsiTypeMap, final Set<String> forceList,
|
final boolean convertNilAttributeToNull, final Map<String, XMLXsiTypeConverter<?>> xsiTypeMap, final Set<String> forceList,
|
||||||
@ -313,6 +314,11 @@ public class XMLParserConfiguration extends ParserConfiguration {
|
|||||||
return super.withMaxNestingDepth(maxNestingDepth);
|
return super.withMaxNestingDepth(maxNestingDepth);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* To enable explicit end tag with empty value.
|
||||||
|
* @param closeEmptyTag
|
||||||
|
* @return same instance of configuration with empty tag config updated
|
||||||
|
*/
|
||||||
public XMLParserConfiguration withCloseEmptyTag(boolean closeEmptyTag){
|
public XMLParserConfiguration withCloseEmptyTag(boolean closeEmptyTag){
|
||||||
this.closeEmptyTag = closeEmptyTag;
|
this.closeEmptyTag = closeEmptyTag;
|
||||||
return this;
|
return this;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user