Class SVGSchema

java.lang.Object
com.adobe.xfa.Schema
com.adobe.xfa.svg.SVGSchema

public final class SVGSchema extends Schema
  • Field Details

  • Method Details

    • getSVGSchema

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

      public static int getTagImpl(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 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:
    • getAttributeTag

      public int getAttributeTag(String aNS, 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:
    • getElementTag

      public int getElementTag(String aNS, 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: