Class XmlDOMParser.XmlDOMParserBuilder
java.lang.Object
com.aquima.interactions.foundation.xml.parsing.XmlDOMParser.XmlDOMParserBuilder
- Enclosing class:
- XmlDOMParser
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
coalescing
(boolean coalescing) Specifies that the parser produced by this code will convert CDATA nodes to Text nodes and append it to the adjacent (if any) text node.entityResolver
(EntityResolver entityResolver) Set a SAX2 Entity Resolver to handle system entities.namespaceAware
(boolean namespaceAware) enable or disable Namespace awareness.validating
(boolean validating) Enable or disable DTD-validating.valueTrimming
(boolean valueTrimming) Enable or disable automatic value trimming.
-
Constructor Details
-
XmlDOMParserBuilder
public XmlDOMParserBuilder()
-
-
Method Details
-
coalescing
Specifies that the parser produced by this code will convert CDATA nodes to Text nodes and append it to the adjacent (if any) text node. By default the value of this is set tofalse
- Parameters:
coalescing
- true if the parser produced will convert CDATA nodes to Text nodes and append it to the adjacent (if any) text node; false otherwise.
-
validating
Enable or disable DTD-validating. Default=false.- Parameters:
validating
- Boolean indicating if the XML should be validated.
-
valueTrimming
Enable or disable automatic value trimming. Default=false- Parameters:
valueTrimming
- Boolean indicating if white-spaces should be removed while parsing.
-
namespaceAware
enable or disable Namespace awareness. Default=false.- Parameters:
namespaceAware
- Boolean indicating if the parser should consider name-spaces.
-
entityResolver
Set a SAX2 Entity Resolver to handle system entities.- Parameters:
entityResolver
- The entity resolver that should be used.
-
build
-