Class SVGSchema


  • public final class SVGSchema
    extends Schema
    • Method Detail

      • getSVGSchema

        public static SVGSchema getSVGSchema()
        Get the static version of the SVG Schema
        Returns:
        the SVG schema instance
      • getTagImpl

        public static int getTagImpl​(java.lang.String aSVGName,
                                     boolean bIsElement)
        Parameters:
        aSVGName - the name to lookup
        bIsElement - a clue whether we're looking for an element name or attribute name
        Returns:
        the tag if found (-1 if not found)
      • getAtom

        public java.lang.String getAtom​(int eTag)
        Description copied from class: Schema
        Get the Atom corresponding to this class tag Note that this is a schema-specific look-up! We no longer assume all class Tags are defined in XFA
        Overrides:
        getAtom in class Schema
        Parameters:
        eTag - the class tag to look up
        Returns:
        the corresponding Atom
        See Also:
        Schema.getAtom(int)
      • getAttributeTag

        public int getAttributeTag​(java.lang.String aNS,
                                   java.lang.String aAttrName)
        Description copied from class: Schema
        Find a schema tag given an atom representing an attribute name
        Overrides:
        getAttributeTag in class Schema
        Parameters:
        aNS - the namespace for this attribute. This String must be interned.
        aAttrName - the input attribute name to search for. This String must be interned.
        Returns:
        integer value of the tag. -1 if not found.
        See Also:
        Schema.getAttributeTag(String, String)
      • getElementTag

        public int getElementTag​(java.lang.String aNS,
                                 java.lang.String aNodeName)
        Description copied from class: Schema
        Find a schema tag given an atom representing an element name
        Overrides:
        getElementTag in class Schema
        Parameters:
        aNS - the namespace for this element
        aNodeName - the input element name to search for
        Returns:
        tag number. -1 if not found.
        See Also:
        Schema.getElementTag(String, String)