mirror of
https://github.com/fankes/JSON-java-compat.git
synced 2025-09-09 20:14:28 +08:00
Enhanced documentation for Java classes
This commit is contained in:
committed by
Valentyn Kolesnikov
parent
010e83b925
commit
99c84fdf3a
@@ -352,9 +352,20 @@ public class XMLParserConfiguration extends ParserConfiguration {
|
||||
return clonedConfiguration;
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if the parser should automatically close empty XML tags.
|
||||
*
|
||||
* @return {@code true} if empty XML tags should be automatically closed, {@code false} otherwise.
|
||||
*/
|
||||
public boolean isCloseEmptyTag() {
|
||||
return this.closeEmptyTag;
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if the parser should trim white spaces from XML content.
|
||||
*
|
||||
* @return {@code true} if white spaces should be trimmed, {@code false} otherwise.
|
||||
*/
|
||||
public boolean shouldTrimWhiteSpace() {
|
||||
return this.shouldTrimWhiteSpace;
|
||||
}
|
||||
|
Reference in New Issue
Block a user