Package com.adobe.xfa.svg
Class SVG
- java.lang.Object
-
- com.adobe.xfa.svg.SVG
-
public final class SVG extends java.lang.ObjectThis is the SVG class. It is modelled after the XFA class. Here is where we control all the keywords supported in our subset of SVG.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringALTGLYPHstatic intALTGLYPHTAGstatic java.lang.StringCODEPAGEstatic intCODEPAGETAGstatic java.lang.StringDESCstatic intDESCTAGstatic java.lang.StringFILLstatic intFILLTAGstatic java.lang.StringFONTFAMILYstatic intFONTFAMILYTAGstatic java.lang.StringFONTSIZEstatic intFONTSIZETAGstatic java.lang.StringFONTSTYLEstatic intFONTSTYLETAGstatic java.lang.StringFONTWEIGHTstatic intFONTWEIGHTTAGstatic java.lang.StringGstatic intGTAGstatic java.lang.StringHEIGHTstatic intHEIGHTTAGstatic java.lang.StringIDstatic intIDTAGstatic java.lang.StringLINEstatic intLINETAGstatic java.lang.StringSTROKEstatic intSTROKETAGstatic java.lang.StringSTROKEWIDTHstatic intSTROKEWIDTHTAGstatic java.lang.StringSVGstatic intSVG_ATTRIBUTE_COUNTstatic intSVG_ATTRIBUTE_MAXstatic intSVG_ATTRIBUTE_MINstatic intSVG_ELEMENT_COUNTstatic intSVG_ELEMENT_MAXstatic intSVG_ELEMENT_MINstatic intSVG_INVALIDstatic intSVG_KEYWORD_COUNTstatic intSVGTAGstatic java.lang.StringTEXTstatic java.lang.StringTEXTDATAstatic intTEXTDATATAGstatic intTEXTTAGstatic java.lang.StringTRANSFORMstatic intTRANSFORMTAGstatic java.lang.StringTSPANstatic intTSPANTAGstatic java.lang.StringVIEWBOXstatic intVIEWBOXTAGstatic java.lang.StringWIDTHstatic intWIDTHTAGstatic java.lang.StringXstatic java.lang.StringX1static intX1TAGstatic java.lang.StringX2static intX2TAGstatic java.lang.StringXFACAPTIONstatic java.lang.StringXFACONTENTstatic java.lang.StringXMLNSstatic intXMLNSTAGstatic intXTAGstatic java.lang.StringYstatic java.lang.StringY1static intY1TAGstatic java.lang.StringY2static intY2TAGstatic intYTAG
-
Constructor Summary
Constructors Constructor Description SVG()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringgetAtom(int eTag)static intgetAttributeTag(java.lang.String aSVGName)Find an attribute tag in SVG namespace by name.static intgetElementTag(java.lang.String aSVGName)Find an element tag in SVG namespace by name.static java.lang.StringgetString(int eTag)static intgetTag(java.lang.String aSVGName)Find a tag in SVG namespace by name.
-
-
-
Field Detail
-
TEXTDATA
public static final java.lang.String TEXTDATA
- See Also:
- Constant Field Values
-
DESC
public static final java.lang.String DESC
- See Also:
- Constant Field Values
-
G
public static final java.lang.String G
- See Also:
- Constant Field Values
-
LINE
public static final java.lang.String LINE
- See Also:
- Constant Field Values
-
SVG
public static final java.lang.String SVG
- See Also:
- Constant Field Values
-
TEXT
public static final java.lang.String TEXT
- See Also:
- Constant Field Values
-
TSPAN
public static final java.lang.String TSPAN
- See Also:
- Constant Field Values
-
ALTGLYPH
public static final java.lang.String ALTGLYPH
- See Also:
- Constant Field Values
-
CODEPAGE
public static final java.lang.String CODEPAGE
- See Also:
- Constant Field Values
-
FILL
public static final java.lang.String FILL
- See Also:
- Constant Field Values
-
FONTFAMILY
public static final java.lang.String FONTFAMILY
- See Also:
- Constant Field Values
-
FONTSIZE
public static final java.lang.String FONTSIZE
- See Also:
- Constant Field Values
-
FONTSTYLE
public static final java.lang.String FONTSTYLE
- See Also:
- Constant Field Values
-
FONTWEIGHT
public static final java.lang.String FONTWEIGHT
- See Also:
- Constant Field Values
-
HEIGHT
public static final java.lang.String HEIGHT
- See Also:
- Constant Field Values
-
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
-
STROKE
public static final java.lang.String STROKE
- See Also:
- Constant Field Values
-
STROKEWIDTH
public static final java.lang.String STROKEWIDTH
- See Also:
- Constant Field Values
-
TRANSFORM
public static final java.lang.String TRANSFORM
- See Also:
- Constant Field Values
-
VIEWBOX
public static final java.lang.String VIEWBOX
- See Also:
- Constant Field Values
-
WIDTH
public static final java.lang.String WIDTH
- See Also:
- Constant Field Values
-
X
public static final java.lang.String X
- See Also:
- Constant Field Values
-
X1
public static final java.lang.String X1
- See Also:
- Constant Field Values
-
X2
public static final java.lang.String X2
- See Also:
- Constant Field Values
-
XMLNS
public static final java.lang.String XMLNS
- See Also:
- Constant Field Values
-
Y
public static final java.lang.String Y
- See Also:
- Constant Field Values
-
Y1
public static final java.lang.String Y1
- See Also:
- Constant Field Values
-
Y2
public static final java.lang.String Y2
- See Also:
- Constant Field Values
-
SVG_INVALID
public static final int SVG_INVALID
- See Also:
- Constant Field Values
-
SVG_ELEMENT_MIN
public static final int SVG_ELEMENT_MIN
- See Also:
- Constant Field Values
-
TEXTDATATAG
public static final int TEXTDATATAG
- See Also:
- Constant Field Values
-
DESCTAG
public static final int DESCTAG
- See Also:
- Constant Field Values
-
GTAG
public static final int GTAG
- See Also:
- Constant Field Values
-
LINETAG
public static final int LINETAG
- See Also:
- Constant Field Values
-
SVGTAG
public static final int SVGTAG
- See Also:
- Constant Field Values
-
TEXTTAG
public static final int TEXTTAG
- See Also:
- Constant Field Values
-
TSPANTAG
public static final int TSPANTAG
- See Also:
- Constant Field Values
-
SVG_ELEMENT_MAX
public static final int SVG_ELEMENT_MAX
- See Also:
- Constant Field Values
-
SVG_ELEMENT_COUNT
public static final int SVG_ELEMENT_COUNT
- See Also:
- Constant Field Values
-
SVG_ATTRIBUTE_MIN
public static final int SVG_ATTRIBUTE_MIN
- See Also:
- Constant Field Values
-
ALTGLYPHTAG
public static final int ALTGLYPHTAG
- See Also:
- Constant Field Values
-
CODEPAGETAG
public static final int CODEPAGETAG
- See Also:
- Constant Field Values
-
FILLTAG
public static final int FILLTAG
- See Also:
- Constant Field Values
-
FONTFAMILYTAG
public static final int FONTFAMILYTAG
- See Also:
- Constant Field Values
-
FONTSIZETAG
public static final int FONTSIZETAG
- See Also:
- Constant Field Values
-
FONTSTYLETAG
public static final int FONTSTYLETAG
- See Also:
- Constant Field Values
-
FONTWEIGHTTAG
public static final int FONTWEIGHTTAG
- See Also:
- Constant Field Values
-
HEIGHTTAG
public static final int HEIGHTTAG
- See Also:
- Constant Field Values
-
IDTAG
public static final int IDTAG
- See Also:
- Constant Field Values
-
STROKETAG
public static final int STROKETAG
- See Also:
- Constant Field Values
-
STROKEWIDTHTAG
public static final int STROKEWIDTHTAG
- See Also:
- Constant Field Values
-
TRANSFORMTAG
public static final int TRANSFORMTAG
- See Also:
- Constant Field Values
-
VIEWBOXTAG
public static final int VIEWBOXTAG
- See Also:
- Constant Field Values
-
WIDTHTAG
public static final int WIDTHTAG
- See Also:
- Constant Field Values
-
XTAG
public static final int XTAG
- See Also:
- Constant Field Values
-
X1TAG
public static final int X1TAG
- See Also:
- Constant Field Values
-
X2TAG
public static final int X2TAG
- See Also:
- Constant Field Values
-
XMLNSTAG
public static final int XMLNSTAG
- See Also:
- Constant Field Values
-
YTAG
public static final int YTAG
- See Also:
- Constant Field Values
-
Y1TAG
public static final int Y1TAG
- See Also:
- Constant Field Values
-
Y2TAG
public static final int Y2TAG
- See Also:
- Constant Field Values
-
SVG_ATTRIBUTE_MAX
public static final int SVG_ATTRIBUTE_MAX
- See Also:
- Constant Field Values
-
SVG_ATTRIBUTE_COUNT
public static final int SVG_ATTRIBUTE_COUNT
- See Also:
- Constant Field Values
-
SVG_KEYWORD_COUNT
public static final int SVG_KEYWORD_COUNT
- See Also:
- Constant Field Values
-
XFACAPTION
public static final java.lang.String XFACAPTION
- See Also:
- Constant Field Values
-
XFACONTENT
public static final java.lang.String XFACONTENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getTag
public static int getTag(java.lang.String aSVGName)
Find a tag in SVG namespace by name.- Parameters:
aSVGName- the input name to search for.- Returns:
- the eTag value if found and SVG_INVALID if not.
-
getElementTag
public static int getElementTag(java.lang.String aSVGName)
Find an element tag in SVG namespace by name.- Parameters:
aSVGName- the input name to search for.- Returns:
- the eTag value of the element if found and SVG_INVALID if not.
-
getAttributeTag
public static int getAttributeTag(java.lang.String aSVGName)
Find an attribute tag in SVG namespace by name.- Parameters:
aSVGName- the input name to search for.- Returns:
- the eTag value of the attribute if found and SVG_INVALID if not.
-
getString
public static java.lang.String getString(int eTag)
-
getAtom
public static java.lang.String getAtom(int eTag)
-
-