Package com.adobe.xfa.svg
Class SVG
- java.lang.Object
-
- com.adobe.xfa.svg.SVG
-
public final class SVG extends java.lang.Object
This 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.String
ALTGLYPH
static int
ALTGLYPHTAG
static java.lang.String
CODEPAGE
static int
CODEPAGETAG
static java.lang.String
DESC
static int
DESCTAG
static java.lang.String
FILL
static int
FILLTAG
static java.lang.String
FONTFAMILY
static int
FONTFAMILYTAG
static java.lang.String
FONTSIZE
static int
FONTSIZETAG
static java.lang.String
FONTSTYLE
static int
FONTSTYLETAG
static java.lang.String
FONTWEIGHT
static int
FONTWEIGHTTAG
static java.lang.String
G
static int
GTAG
static java.lang.String
HEIGHT
static int
HEIGHTTAG
static java.lang.String
ID
static int
IDTAG
static java.lang.String
LINE
static int
LINETAG
static java.lang.String
STROKE
static int
STROKETAG
static java.lang.String
STROKEWIDTH
static int
STROKEWIDTHTAG
static java.lang.String
SVG
static int
SVG_ATTRIBUTE_COUNT
static int
SVG_ATTRIBUTE_MAX
static int
SVG_ATTRIBUTE_MIN
static int
SVG_ELEMENT_COUNT
static int
SVG_ELEMENT_MAX
static int
SVG_ELEMENT_MIN
static int
SVG_INVALID
static int
SVG_KEYWORD_COUNT
static int
SVGTAG
static java.lang.String
TEXT
static java.lang.String
TEXTDATA
static int
TEXTDATATAG
static int
TEXTTAG
static java.lang.String
TRANSFORM
static int
TRANSFORMTAG
static java.lang.String
TSPAN
static int
TSPANTAG
static java.lang.String
VIEWBOX
static int
VIEWBOXTAG
static java.lang.String
WIDTH
static int
WIDTHTAG
static java.lang.String
X
static java.lang.String
X1
static int
X1TAG
static java.lang.String
X2
static int
X2TAG
static java.lang.String
XFACAPTION
static java.lang.String
XFACONTENT
static java.lang.String
XMLNS
static int
XMLNSTAG
static int
XTAG
static java.lang.String
Y
static java.lang.String
Y1
static int
Y1TAG
static java.lang.String
Y2
static int
Y2TAG
static int
YTAG
-
Constructor Summary
Constructors Constructor Description SVG()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getAtom(int eTag)
static int
getAttributeTag(java.lang.String aSVGName)
Find an attribute tag in SVG namespace by name.static int
getElementTag(java.lang.String aSVGName)
Find an element tag in SVG namespace by name.static java.lang.String
getString(int eTag)
static int
getTag(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)
-
-