com.fasterxml.aalto.sax
Class SAXUtil

java.lang.Object
  extended by com.fasterxml.aalto.sax.SAXUtil

public final class SAXUtil
extends java.lang.Object

Container for utility methods needed by the parser factory, or parser wrapper components.


Method Summary
static SAXFeature findStdFeature(java.lang.String featURI)
           
static SAXProperty findStdProperty(java.lang.String featURI)
           
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.
static void reportUnknownFeature(java.lang.String name)
           
static void reportUnknownProperty(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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