Package com.fasterxml.aalto.sax
Class SAXUtil
java.lang.Object
com.fasterxml.aalto.sax.SAXUtil
Container for utility methods needed by the parser factory, or
parser wrapper components.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final HashMap
<String, SAXFeature> (package private) static final HashMap
<String, SAXProperty> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SAXFeature
findStdFeature
(String featURI) static SAXProperty
findStdProperty
(String featURI) static Boolean
getFixedStdFeatureValue
(SAXFeature stdFeat) Convenience method that will return value (True/False) for the given standard feature, iff it has fixed (immutable) value for the current implementation.static void
reportUnknownFeature
(String name) static void
reportUnknownProperty
(String name)
-
Field Details
-
sStdFeatures
-
sStdProperties
-
-
Constructor Details
-
SAXUtil
private SAXUtil()
-
-
Method Details
-
findStdFeature
-
findStdProperty
-
getFixedStdFeatureValue
Convenience method that will return value (True/False) for the given standard feature, iff it has fixed (immutable) value for the current implementation. If value is not immutable, returns null -
reportUnknownFeature
- Throws:
SAXNotRecognizedException
-
reportUnknownProperty
- Throws:
SAXNotRecognizedException
-