Package com.adobe.xfa.svg
Class SVGSchema
- java.lang.Object
-
- com.adobe.xfa.Schema
-
- com.adobe.xfa.svg.SVGSchema
-
public final class SVGSchema extends Schema
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
aSVG_WIDTH
static java.lang.String
aSVG_XFACAPTION
static java.lang.String
aSVG_XFACONTENT
-
Fields inherited from class com.adobe.xfa.Schema
XFAAVAILABILITY_ALL, XFAAVAILABILITY_CORE, XFAAVAILABILITY_DEPRECATED, XFAAVAILABILITY_DYNAMIC, XFAAVAILABILITY_PLUGIN, XFAAVAILABILITY_XFADESIGNER, XFAAVAILABILITY_XFAF, XFAAVAILABILITY_XFASUBSET, XFAVERSION_10, XFAVERSION_21, XFAVERSION_22, XFAVERSION_23, XFAVERSION_24, XFAVERSION_25, XFAVERSION_26, XFAVERSION_27, XFAVERSION_28, XFAVERSION_29, XFAVERSION_30, XFAVERSION_31, XFAVERSION_32, XFAVERSION_33, XFAVERSION_34, XFAVERSION_35, XFAVERSION_CONFIGURATIONHEAD, XFAVERSION_CONNECTIONSETHEAD, XFAVERSION_HEAD, XFAVERSION_LOCALESETHEAD, XFAVERSION_OBS, XFAVERSION_SOURCESETHEAD
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAtom(int eTag)
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 XFAint
getAttributeTag(java.lang.String aNS, java.lang.String aAttrName)
Find a schema tag given an atom representing an attribute nameint
getElementTag(java.lang.String aNS, java.lang.String aNodeName)
Find a schema tag given an atom representing an element namestatic SVGSchema
getSVGSchema()
Get the static version of the SVG Schemastatic int
getTagImpl(java.lang.String aSVGName, boolean bIsElement)
-
Methods inherited from class com.adobe.xfa.Schema
addForeignSchema, defaultAttribute, getInstance, getNodeSchema, getNS, newAttribute, nullSchema, putForeignElement
-
-
-
-
Field Detail
-
aSVG_WIDTH
public static final java.lang.String aSVG_WIDTH
- See Also:
- Constant Field Values
-
aSVG_XFACAPTION
public static final java.lang.String aSVG_XFACAPTION
- See Also:
- Constant Field Values
-
aSVG_XFACONTENT
public static final java.lang.String aSVG_XFACONTENT
- See Also:
- Constant Field Values
-
-
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 lookupbIsElement
- 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 classSchema
- 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 classSchema
- 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 classSchema
- Parameters:
aNS
- the namespace for this elementaNodeName
- the input element name to search for- Returns:
- tag number. -1 if not found.
- See Also:
Schema.getElementTag(String, String)
-
-