Interface AttributesDecl


  • public interface AttributesDecl
    represents a constraint for XML attributes. This interface also provides feature/property mechanism to encourage communications between two different implementations.
    Author:
    Kohsuke KAWAGUCHI
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean getFeature​(java.lang.String featureName)
      looks up the value of a feature this method works like getFeature method of SAX.
      java.lang.String getName()
      gets name of this rule.
      java.lang.Object getProperty​(java.lang.String propertyName)
      looks up the value of a property this method works like getProperty method of SAX.
    • Method Detail

      • getName

        java.lang.String getName()
        gets name of this rule. every AttributesDecl has a unique name within the schema.
      • getFeature

        boolean getFeature​(java.lang.String featureName)
                    throws org.xml.sax.SAXNotRecognizedException,
                           org.xml.sax.SAXNotSupportedException
        looks up the value of a feature this method works like getFeature method of SAX. featureName is a fully-qualified URI. Implementators are encouraged to invent their own features, by using their own URIs.
        Throws:
        org.xml.sax.SAXNotRecognizedException
        org.xml.sax.SAXNotSupportedException
      • getProperty

        java.lang.Object getProperty​(java.lang.String propertyName)
                              throws org.xml.sax.SAXNotRecognizedException,
                                     org.xml.sax.SAXNotSupportedException
        looks up the value of a property this method works like getProperty method of SAX. propertyName is a fully-qualified URI. Implementators are encouraged to invent their own properties, by using their own URIs.
        Throws:
        org.xml.sax.SAXNotRecognizedException
        org.xml.sax.SAXNotSupportedException