Package com.fasterxml.aalto.sax
Class SAXUtil
- java.lang.Object
-
- com.fasterxml.aalto.sax.SAXUtil
-
public final class SAXUtil extends java.lang.ObjectContainer for utility methods needed by the parser factory, or parser wrapper components.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SAXFeaturefindStdFeature(java.lang.String featURI)static SAXPropertyfindStdProperty(java.lang.String featURI)static java.lang.BooleangetFixedStdFeatureValue(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 voidreportUnknownFeature(java.lang.String name)static voidreportUnknownProperty(java.lang.String name)
-
-
-
Method Detail
-
findStdFeature
public static SAXFeature findStdFeature(java.lang.String featURI)
-
findStdProperty
public static SAXProperty findStdProperty(java.lang.String featURI)
-
getFixedStdFeatureValue
public static java.lang.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. If value is not immutable, returns null
-
reportUnknownFeature
public static void reportUnknownFeature(java.lang.String name) throws org.xml.sax.SAXNotRecognizedException- Throws:
org.xml.sax.SAXNotRecognizedException
-
reportUnknownProperty
public static void reportUnknownProperty(java.lang.String name) throws org.xml.sax.SAXNotRecognizedException- Throws:
org.xml.sax.SAXNotRecognizedException
-
-