Class SAXUtil


  • public final class SAXUtil
    extends java.lang.Object
    Container for utility methods needed by the parser factory, or parser wrapper components.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) static java.util.HashMap<java.lang.String,​SAXFeature> sStdFeatures  
      (package private) static java.util.HashMap<java.lang.String,​SAXProperty> sStdProperties  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private SAXUtil()  
    • Field Detail

      • sStdFeatures

        static final java.util.HashMap<java.lang.String,​SAXFeature> sStdFeatures
      • sStdProperties

        static final java.util.HashMap<java.lang.String,​SAXProperty> sStdProperties
    • Constructor Detail

      • SAXUtil

        private SAXUtil()
    • 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