Enhanced documentation for Java classes

This commit is contained in:
Valentyn Kolesnikov
2024-02-02 09:07:48 +02:00
committed by Valentyn Kolesnikov
parent 010e83b925
commit 99c84fdf3a
9 changed files with 68 additions and 1 deletions

View File

@@ -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;
}