Package | Description |
---|---|
com.norconex.commons.lang.xml |
XML-related classes.
|
Modifier and Type | Method and Description |
---|---|
XMLFormatter.Builder |
XMLFormatter.Builder.attributeIndent(String indent)
String to use for indenting attributed, when wrapped.
|
XMLFormatter.Builder |
XMLFormatter.Builder.attributeWrapping(XMLFormatter.Builder.AttributeWrap attributeWrapping)
Attribute wrapping strategy.
|
XMLFormatter.Builder |
XMLFormatter.Builder.blankLineAfterComment()
Inserts a blank line after a comment.
|
XMLFormatter.Builder |
XMLFormatter.Builder.blankLineBeforeComment()
Inserts a blank line before a comment.
|
static XMLFormatter.Builder |
XMLFormatter.builder()
Gets an XML formatter builder.
|
XMLFormatter.Builder |
XMLFormatter.Builder.closeWrappingTagOnOwnLine()
Put the closing angle bracket of tags with wrapping
attributes on its own line, aligned with opening angle bracket.
|
XMLFormatter.Builder |
XMLFormatter.Builder.elementIndent(String indent)
String to use for indenting elements.
|
XMLFormatter.Builder |
XMLFormatter.Builder.maxLineLength(int charQty)
Maximum length a line can have before wrapping is performed.
|
XMLFormatter.Builder |
XMLFormatter.Builder.minTextLength(int charQty)
Minimum length for text on any line before text can be wrapped.
|
XMLFormatter.Builder |
XMLFormatter.Builder.preserveTextIndent()
Preserves indentation found in element or comment text.
|
XMLFormatter.Builder |
XMLFormatter.Builder.selfCloseEmptyElements()
Self-close elements with no or blank values.
|
Copyright © 2008–2023 Norconex Inc.. All rights reserved.