Package org.apache.uima.util
Class XMLParser.ParsingOptions
java.lang.Object
org.apache.uima.util.XMLParser.ParsingOptions
- Enclosing interface:
XMLParser
Option settings for the parser.
-
Field Summary
Modifier and TypeFieldDescriptionboolean
Whether to expand <envVarRef>VARNAME</envVarRef> elements by substituting the value of the System property VARNAME.boolean
Deprecated.XInclude is no longer supportedboolean
Whether to preserve comments and ignorable whitespace -
Constructor Summary
ConstructorDescriptionParsingOptions
(boolean aExpandEnvVarRefs) Creates a new ParsingOptions object.ParsingOptions
(boolean aExpandXIncludes, boolean aExpandEnvVarRefs) Deprecated.XInclude is no longer supported -
Method Summary
-
Field Details
-
expandXIncludes
Deprecated.XInclude is no longer supportedWhether to expand <xi:include> elements according to the XInclude spec. -
expandEnvVarRefs
public boolean expandEnvVarRefsWhether to expand <envVarRef>VARNAME</envVarRef> elements by substituting the value of the System property VARNAME. -
preserveComments
public boolean preserveCommentsWhether to preserve comments and ignorable whitespace
-
-
Constructor Details
-
ParsingOptions
Deprecated.XInclude is no longer supportedCreates a new ParsingOptions object.- Parameters:
aExpandXIncludes
- Whether to expand <xi:include> elements according to the XInclude spec.aExpandEnvVarRefs
- Whether to expand <envVarRef>VARNAME</envVarRef> elements by substituting the value of the System property VARNAME.
-
ParsingOptions
public ParsingOptions(boolean aExpandEnvVarRefs) Creates a new ParsingOptions object.- Parameters:
aExpandEnvVarRefs
- Whether to expand <envVarRef>VARNAME</envVarRef> elements by substituting the value of the System property VARNAME.
-