Package | Description |
---|---|
org.apache.flex.compiler.fxg |
This package and its subpackages contains classes and interfaces
for compiling FXG.
|
org.apache.flex.compiler.fxg.dom | |
org.apache.flex.compiler.fxg.flex | |
org.apache.flex.compiler.fxg.swf | |
org.apache.flex.compiler.internal.fxg.dom | |
org.apache.flex.compiler.internal.fxg.dom.fills | |
org.apache.flex.compiler.internal.fxg.dom.filters | |
org.apache.flex.compiler.internal.fxg.dom.richtext | |
org.apache.flex.compiler.internal.fxg.dom.strokes | |
org.apache.flex.compiler.internal.fxg.dom.text | |
org.apache.flex.compiler.internal.fxg.dom.transforms | |
org.apache.flex.compiler.internal.fxg.sax |
Modifier and Type | Method and Description |
---|---|
IFXGNode |
FXGFileNode.getTree() |
IFXGNode |
IFXGParser.parse(Reader reader,
Collection<ICompilerProblem> problems)
Parses an FXG document reader to produce an IFXGNode based DOM.
|
IFXGNode |
IFXGParser.parse(Reader reader,
String documentPath,
Collection<ICompilerProblem> problems)
Parses an FXG document reader to produce an IFXGNode based DOM.
|
Modifier and Type | Method and Description |
---|---|
FXGSymbolClass |
IFXGTranscoder.transcode(IFXGNode node,
String packageName,
String className,
Map<ITag,ITag> extraTags,
Collection<ICompilerProblem> problems)
Traverses an FXG DOM to generate a SWF graphics primitives, with the root
DefineSpriteTag associated with a generated ActionScript symbol class if
any.
|
Constructor and Description |
---|
FXGFileNode(IWorkspace workspace,
String pathName,
IFXGNode tree) |
Modifier and Type | Method and Description |
---|---|
IFXGNode |
IFXGNode.getDocumentNode() |
Modifier and Type | Method and Description |
---|---|
List<IFXGNode> |
IFXGNode.getChildren()
debug method, do not use
|
Modifier and Type | Method and Description |
---|---|
void |
IFXGNode.addChild(IFXGNode child,
Collection<ICompilerProblem> problems)
Adds an FXG child node to this node.
|
void |
IFXGNode.setDocumentNode(IFXGNode root)
Establishes the root node of the FXG document containing this node.
|
Modifier and Type | Class and Description |
---|---|
class |
FlexGraphicNode
A Flex specific override for GraphicNode used to record whether the
FXG document includes any <TextGraphic> child nodes.
|
class |
FlexParagraphNode
A Flex specific override for ParagraphNode used catch attributes that need to
be renamed on a <p> tag.
|
class |
FlexRichTextNode
A Flex specific override for RichTextNode used to capture the
attributes specified on a <RichText> node in FXG 2.0.
|
class |
FlexSpanNode
A Flex specific override for SpanNode used to capture the
attributes specified on a <span> node in FXG.
|
class |
FlexTextGraphicNode
A Flex specific override for TextGraphicNode used to capture the
attributes specified on a <TextGraphic> node in FXG 1.0.
|
Modifier and Type | Method and Description |
---|---|
void |
FlexTextGraphicNode.setDocumentNode(IFXGNode root)
If the document root is a FlexGraphicNode, it records that the document
makes use of TextGraphic and thus will need to generate symbol classes to
programmatically draw the text (as there is no equivalent to TextGraphic
in SWF).
|
void |
FlexRichTextNode.setDocumentNode(IFXGNode root)
If the document root is a FlexGraphicNode, it records that the document
makes use of TextGraphic and thus will need to generate symbol classes to
programmatically draw the text (as there is no equivalent to TextGraphic
in SWF).
|
FXGSymbolClass |
FlexFXG2SWFTranscoder.transcode(IFXGNode node,
String packageName,
String className,
Map<ITag,ITag> extraTags,
Collection<ICompilerProblem> problems) |
Modifier and Type | Method and Description |
---|---|
protected DefineImage |
FXG2SWFTranscoder.createDefineBitsTag(IFXGNode node,
String source) |
FXGSymbolClass |
FXG2SWFTranscoder.transcode(IFXGNode fxgNode,
String packageName,
String className,
Map<ITag,ITag> extraTags,
Collection<ICompilerProblem> problems) |
Modifier and Type | Interface and Description |
---|---|
interface |
IFillNode
A marker interface to denote that an FXG node represents a type of fill.
|
interface |
IFilterNode
A marker interface to denote that an FXG node represents a type of filter.
|
interface |
IMaskableNode
This interface implies that a node may also have a mask.
|
interface |
IMaskingNode
Marker interface to imply node can be used to create a mask.
|
interface |
IStrokeNode
A marker interface to denote that an FXG node represents a type of stroke.
|
interface |
ITextNode
A marker interface to determine whether a node constitutes an element
of a text flow.
|
interface |
ITransformNode
A marker interface to denote that an FXG node represents a type of transform.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractFXGNode
A helper class that serves as the base implementation of IFXGNode.
|
class |
AbstractShapeNode
A base class for all FXG nodes that represent a stroke.
|
class |
BitmapGraphicNode |
class |
CDATANode
A class to determine whether a node constitutes an CData in
a text flow.
|
class |
ContentPropertyNode
This is a special delegate which special cases content node children for
the ITextNode and RichTextNode classes.
|
class |
DefinitionNode
A <Definition> is a special template node that is not itself rendered
but rather can be referenced by name in an FXG document.
|
class |
DelegateNode
A special kind of relationship node that delegates the addition of child
nodes to another parent node (instead of adding them to itself).
|
class |
EllipseNode |
class |
GradientEntryNode |
class |
GraphicContentNode
Base class for all nodes that present graphic content or represent groups
of graphic content.
|
class |
GraphicNode
Represents the root <Graphic> element of an FXG Document.
|
class |
GroupDefinitionNode
A GroupDefinition represents the special use of Group as the basis for an
FXG Library Definition.
|
class |
GroupNode |
class |
LibraryNode
Represents the special <Library> section of an FXG document.
|
class |
LineNode |
class |
MaskPropertyNode
The mask property node is a special delegate that associates a mask with a
parent graphic content node.
|
class |
PathNode |
class |
PlaceObjectNode
A PlaceObject node does not appear itself in an FXG document but rather
represents an instance of a DefinitionNode.
|
class |
RectNode |
class |
RichTextNode
Represents a <RichText> element of an FXG Document.
|
class |
TextGraphicNode |
Modifier and Type | Field and Description |
---|---|
protected IFXGNode |
DelegateNode.delegate |
protected IFXGNode |
DelegateNode.documentNode |
protected IFXGNode |
AbstractFXGNode.documentNode |
Modifier and Type | Field and Description |
---|---|
Map<String,Class<? extends IFXGNode>> |
GraphicNode.reservedNodes |
Modifier and Type | Method and Description |
---|---|
IFXGNode |
DelegateNode.getDocumentNode() |
IFXGNode |
AbstractFXGNode.getDocumentNode() |
Modifier and Type | Method and Description |
---|---|
List<IFXGNode> |
TextGraphicNode.getChildren() |
List<IFXGNode> |
RichTextNode.getChildren() |
List<IFXGNode> |
LibraryNode.getChildren() |
List<IFXGNode> |
GroupNode.getChildren() |
List<IFXGNode> |
GroupDefinitionNode.getChildren() |
List<IFXGNode> |
GraphicNode.getChildren() |
List<IFXGNode> |
GraphicContentNode.getChildren() |
List<IFXGNode> |
DelegateNode.getChildren() |
List<IFXGNode> |
DefinitionNode.getChildren() |
List<IFXGNode> |
AbstractShapeNode.getChildren() |
List<IFXGNode> |
AbstractFXGNode.getChildren() |
Modifier and Type | Method and Description |
---|---|
void |
TextGraphicNode.addChild(IFXGNode child,
Collection<ICompilerProblem> problems)
This method is invoked for only non-content children.
|
void |
RichTextNode.addChild(IFXGNode child,
Collection<ICompilerProblem> problems)
This method is invoked for only non-content children.
|
void |
MaskPropertyNode.addChild(IFXGNode child,
Collection<ICompilerProblem> problems) |
void |
LibraryNode.addChild(IFXGNode child,
Collection<ICompilerProblem> problems) |
void |
GroupNode.addChild(IFXGNode child,
Collection<ICompilerProblem> problems)
Adds an FXG child node to this Group node.
|
void |
GroupDefinitionNode.addChild(IFXGNode child,
Collection<ICompilerProblem> problems) |
void |
GraphicNode.addChild(IFXGNode child,
Collection<ICompilerProblem> problems)
Adds an FXG child node to this Graphic node.
|
void |
GraphicContentNode.addChild(IFXGNode child,
Collection<ICompilerProblem> problems)
Adds an FXG child node to this node.
|
void |
DelegateNode.addChild(IFXGNode child,
Collection<ICompilerProblem> problems)
Adds an FXG child node to the delegate node.
|
void |
DefinitionNode.addChild(IFXGNode child,
Collection<ICompilerProblem> problems) |
void |
ContentPropertyNode.addChild(IFXGNode child,
Collection<ICompilerProblem> problems) |
void |
AbstractShapeNode.addChild(IFXGNode child,
Collection<ICompilerProblem> problems) |
void |
AbstractFXGNode.addChild(IFXGNode child,
Collection<ICompilerProblem> problems)
Adds an FXG child node to this node.
|
void |
TextGraphicNode.addContentChild(IFXGNode child,
Collection<ICompilerProblem> problems)
<TextGraphic> content allows child <p>, <span> and
<br /> tags, as well as character data (text content).
|
void |
RichTextNode.addContentChild(IFXGNode child,
Collection<ICompilerProblem> problems)
<RichText> content allows child <p>, <span> and
<br /> tags, as well as character data (text content).
|
static boolean |
DOMParserHelper.parseBoolean(IFXGNode node,
String value,
String name,
boolean defaultValue,
Collection<ICompilerProblem> problems)
Convert an FXG String value to a boolean.
|
static double |
DOMParserHelper.parseDouble(IFXGNode node,
String value,
double min,
double max)
Convert an FXG String value to a double and check that the result is
within the specified range (inclusive).
|
static double |
DOMParserHelper.parseDouble(IFXGNode node,
String value,
String name,
double defaultValue,
Collection<ICompilerProblem> problems)
Convert an FXG String value to a double.
|
static double |
DOMParserHelper.parseDouble(IFXGNode node,
String value,
String name,
double min,
double max,
double defaultValue,
Collection<ICompilerProblem> problems)
Convert an FXG String value to a double and check that the result is
within the specified range (inclusive).
|
static FillMode |
DOMParserHelper.parseFillMode(IFXGNode node,
String value,
FillMode defaultValue,
Collection<ICompilerProblem> problems)
Convert an FXG String value to a fillMode enumeration.
|
static float |
DOMParserHelper.parseFloat(IFXGNode node,
String value)
Convert an FXG String value to a float.
|
static float |
DOMParserHelper.parseFloat(IFXGNode node,
String name,
String value,
float defaultValue,
Collection<ICompilerProblem> problems)
Convert an FXG String value to a float.
|
static String |
DOMParserHelper.parseIdentifier(IFXGNode node,
String name,
String value,
String defaultValue,
Collection<ICompilerProblem> problems)
Convert an FXG String value to a Identifier matching pattern
[a-zA-Z_][a-zA-Z_0-9]*.
|
static int |
DOMParserHelper.parseInt(IFXGNode node,
String value,
int min,
int max)
Convert an FXG String value to an int and check that the result is
within the specified range (inclusive).
|
static int |
DOMParserHelper.parseInt(IFXGNode node,
String value,
String name,
int min,
int max,
int defaultValue,
Collection<ICompilerProblem> problems)
Convert an FXG String value to an int and check that the result is
within the specified range (inclusive).
|
static InterpolationMethod |
DOMParserHelper.parseInterpolationMethod(IFXGNode node,
String value,
InterpolationMethod defaultValue,
Collection<ICompilerProblem> problems)
Convert an FXG String value to an InterpolationMethod enumeration.
|
static MaskType |
DOMParserHelper.parseMaskType(IFXGNode node,
String value,
MaskType defaultValue,
Collection<ICompilerProblem> problems)
Convert an FXG String value to a MaskType enumeration.
|
static double |
DOMParserHelper.parseNumberPercent(IFXGNode node,
String value,
double min,
double max)
Convert an FXG String value to a double after taking care of the % sign.
|
static double |
DOMParserHelper.parseNumberPercent(IFXGNode node,
String value,
String name,
double min,
double max,
double defaultValue,
Collection<ICompilerProblem> problems)
Convert an FXG String value to a double after taking care of the % sign.
|
static double |
DOMParserHelper.parseNumberPercentWithSeparateRange(IFXGNode node,
String value,
String name,
double minNumber,
double maxNumber,
double minPercent,
double maxPercent,
double defaultValue,
Collection<ICompilerProblem> problems)
Convert an FXG String value to a double after taking care of the % sign.
|
static double |
DOMParserHelper.parsePercent(IFXGNode node,
String value,
String name,
double defaultValue,
Collection<ICompilerProblem> problems)
Convert an FXG String value to a double after taking care of the % sign.
|
static int |
DOMParserHelper.parseRGB(IFXGNode node,
String value,
String name,
int defaultValue,
Collection<ICompilerProblem> problems)
Convert an FXG hexadecimal color String to an int.
|
static SpreadMethod |
DOMParserHelper.parseSpreadMethod(IFXGNode node,
String value,
SpreadMethod defaultValue,
Collection<ICompilerProblem> problems)
Convert an FXG String value to a SpreadMethod enumeration.
|
void |
DelegateNode.setDelegate(IFXGNode delegate,
Collection<ICompilerProblem> problems) |
void |
ContentPropertyNode.setDelegate(IFXGNode delegate,
Collection<ICompilerProblem> problems) |
void |
DelegateNode.setDocumentNode(IFXGNode root)
Establishes the root node of the FXG document containing this node.
|
void |
AbstractFXGNode.setDocumentNode(IFXGNode root)
Establishes the root node of the FXG document containing this node.
|
Modifier and Type | Method and Description |
---|---|
void |
GraphicNode.setReservedNodes(Map<String,Class<? extends IFXGNode>> reservedNodes)
Set the reserved nodes HashMap.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractFillNode
A base class for all FXG nodes that represent a fill.
|
class |
BitmapFillNode |
class |
LinearGradientFillNode |
class |
RadialGradientFillNode |
class |
SolidColorFillNode |
Modifier and Type | Method and Description |
---|---|
List<IFXGNode> |
RadialGradientFillNode.getChildren() |
List<IFXGNode> |
LinearGradientFillNode.getChildren() |
List<IFXGNode> |
BitmapFillNode.getChildren() |
Modifier and Type | Method and Description |
---|---|
void |
RadialGradientFillNode.addChild(IFXGNode child,
Collection<ICompilerProblem> problems) |
void |
LinearGradientFillNode.addChild(IFXGNode child,
Collection<ICompilerProblem> problems) |
void |
BitmapFillNode.addChild(IFXGNode child,
Collection<ICompilerProblem> problems) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractFilterNode |
class |
BevelFilterNode |
class |
BlurFilterNode |
class |
ColorMatrixFilterNode |
class |
DropShadowFilterNode |
class |
GlowFilterNode |
class |
GradientBevelFilterNode |
class |
GradientGlowFilterNode |
Modifier and Type | Method and Description |
---|---|
List<IFXGNode> |
GradientGlowFilterNode.getChildren() |
List<IFXGNode> |
GradientBevelFilterNode.getChildren() |
Modifier and Type | Method and Description |
---|---|
void |
GradientGlowFilterNode.addChild(IFXGNode child,
Collection<ICompilerProblem> problems) |
void |
GradientBevelFilterNode.addChild(IFXGNode child,
Collection<ICompilerProblem> problems) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractRichBlockTextNode
A base class that represents a block text.
|
class |
AbstractRichParagraphNode
A base class that represents a paragraph text.
|
class |
AbstractRichTextLeafNode
A base text left node class that have character formatting.
|
class |
AbstractRichTextNode
A base class for all FXG nodes concerned with formatted text.
|
class |
BRNode
Represents a <br /> child tag of FXG <RichText> content.
|
class |
DivNode
Represents a <p /> child tag of FXG <RichText> content.
|
class |
ImgNode
Represents a <p /> FXG image node.
|
class |
LinkNode
Represents a <p /> FXG link node.
|
class |
TabNode
Represents a <br /> child tag of FXG <RichText> content.
|
class |
TCYNode
Represents a <br /> child tag of FXG <RichText> content.
|
class |
TextLayoutFormatNode
TextLayoutFormat applied to a link.
|
class |
TextPropertyNode |
Modifier and Type | Field and Description |
---|---|
IFXGNode |
AbstractRichTextNode.parentNode
Keep a reference to the parent node.
|
Modifier and Type | Method and Description |
---|---|
List<IFXGNode> |
AbstractRichTextNode.getChildren() |
Modifier and Type | Method and Description |
---|---|
void |
TextPropertyNode.addChild(IFXGNode child,
Collection<ICompilerProblem> problems) |
void |
TCYNode.addChild(IFXGNode child,
Collection<ICompilerProblem> problems)
Adds an FXG child node to this TCY node.
|
void |
TabNode.addChild(IFXGNode child,
Collection<ICompilerProblem> problems)
Tab node doesn't allow any children.
|
void |
SpanNode.addChild(IFXGNode child,
Collection<ICompilerProblem> problems)
Adds an FXG child node to this span node.
|
void |
ParagraphNode.addChild(IFXGNode child,
Collection<ICompilerProblem> problems)
Adds an FXG child node to this Paragraph node.
|
void |
LinkNode.addChild(IFXGNode child,
Collection<ICompilerProblem> problems)
Adds an FXG child node to this link node.
|
void |
DivNode.addChild(IFXGNode child,
Collection<ICompilerProblem> problems)
Adds an FXG child node to this division node.
|
void |
BRNode.addChild(IFXGNode child,
Collection<ICompilerProblem> problems)
BR node doesn't allow any children.
|
void |
AbstractRichTextNode.addChild(IFXGNode child,
Collection<ICompilerProblem> problems)
Check child node to ensure that exception isn't thrown for ignorable
white spaces.
|
static AlignmentBaseline |
TextHelper.getAlignmentBaseline(IFXGNode node,
String value,
AlignmentBaseline defaultValue,
Collection<ICompilerProblem> problems)
Convert an FXG String value to a AlignmentBaseline enumeration.
|
static BlockProgression |
TextHelper.getBlockProgression(IFXGNode node,
String value,
BlockProgression defaultValue,
Collection<ICompilerProblem> problems)
Convert an FXG String value to a BlockProgression enumeration.
|
static BreakOpportunity |
TextHelper.getBreakOpportunity(IFXGNode node,
String value,
BreakOpportunity defaultValue,
Collection<ICompilerProblem> problems)
Convert an FXG String value to a BreakOpportunity enumeration.
|
static DigitCase |
TextHelper.getDigitCase(IFXGNode node,
String value,
DigitCase defaultValue,
Collection<ICompilerProblem> problems)
Convert an FXG String value to a DigitCase enumeration.
|
static DigitWidth |
TextHelper.getDigitWidth(IFXGNode node,
String value,
DigitWidth defaultValue,
Collection<ICompilerProblem> problems)
Convert an FXG String value to a DigitWidth enumeration.
|
static Direction |
TextHelper.getDirection(IFXGNode node,
String value,
Direction defaultValue,
Collection<ICompilerProblem> problems)
Convert an FXG String value to a Direction enumeration.
|
static DominantBaseline |
TextHelper.getDominantBaseline(IFXGNode node,
String value,
DominantBaseline defaultValue,
Collection<ICompilerProblem> problems)
Convert an FXG String value to a DominantBaseline enumeration.
|
static FontStyle |
TextHelper.getFontStyle(IFXGNode node,
String value,
FontStyle defaultValue,
Collection<ICompilerProblem> problems)
Convert an FXG String value to a FontStyle enumeration.
|
static FontWeight |
TextHelper.getFontWeight(IFXGNode node,
String value,
FontWeight defaultValue,
Collection<ICompilerProblem> problems)
Convert an FXG String value to a FontWeight enumeration.
|
static JustificationRule |
TextHelper.getJustificationRule(IFXGNode node,
String value,
JustificationRule defaultValue,
Collection<ICompilerProblem> problems)
Convert an FXG String value to a JustificationRule enumeration.
|
static JustificationStyle |
TextHelper.getJustificationStyle(IFXGNode node,
String value,
JustificationStyle defaultValue,
Collection<ICompilerProblem> problems)
Convert an FXG String value to a JustificationStyle enumeration.
|
static Kerning |
TextHelper.getKerning(IFXGNode node,
String value,
Kerning defaultValue,
Collection<ICompilerProblem> problems)
Convert an FXG String value to a Kerning enumeration.
|
static LeadingModel |
TextHelper.getLeadingModel(IFXGNode node,
String value,
LeadingModel defaultValue,
Collection<ICompilerProblem> problems)
Convert an FXG String value to a LeadingModel enumeration.
|
static LigatureLevel |
TextHelper.getLigatureLevel(IFXGNode node,
String value,
LigatureLevel defaultValue,
Collection<ICompilerProblem> problems)
Convert an FXG String value to a LigatureLevel enumeration.
|
static LineBreak |
TextHelper.getLineBreak(IFXGNode node,
String value,
LineBreak defaultValue,
Collection<ICompilerProblem> problems)
Convert an FXG String value to a LineBreak enumeration.
|
static TextAlign |
TextHelper.getTextAlign(IFXGNode node,
String value,
TextAlign defaultValue,
Collection<ICompilerProblem> problems)
Convert an FXG String value to a TextAlign enumeration.
|
static TextDecoration |
TextHelper.getTextDecoration(IFXGNode node,
String value,
TextDecoration defaultValue,
Collection<ICompilerProblem> problems)
Convert an FXG String value to a TextDecoration enumeration.
|
static TextJustify |
TextHelper.getTextJustify(IFXGNode node,
String value,
TextJustify defaultValue,
Collection<ICompilerProblem> problems)
Convert an FXG String value to a TextJustify enumeration.
|
static TextRotation |
TextHelper.getTextRotation(IFXGNode node,
String value,
TextRotation defaultValue,
Collection<ICompilerProblem> problems)
Convert an FXG String value to a TextRotation enumeration.
|
static TypographicCase |
TextHelper.getTypographicCase(IFXGNode node,
String value,
TypographicCase defaultValue,
Collection<ICompilerProblem> problems)
Convert an FXG String value to a TypographicCase enumeration.
|
static VerticalAlign |
TextHelper.getVerticalAlign(IFXGNode node,
String value,
VerticalAlign defaultValue,
Collection<ICompilerProblem> problems)
Convert an FXG String value to a VerticalAlign enumeration.
|
static WhiteSpaceCollapse |
TextHelper.getWhiteSpaceCollapse(IFXGNode node,
String value,
WhiteSpaceCollapse defaultValue,
Collection<ICompilerProblem> problems)
Convert an FXG String value to a WhiteSpaceCollapse enumeration.
|
static String |
TextHelper.parseTabStops(IFXGNode node,
String value,
String defaultValue,
Collection<ICompilerProblem> problems) |
void |
AbstractRichTextNode.setParent(IFXGNode parent)
Set the parent node.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractStrokeNode
Base class for all FXG stroke nodes.
|
class |
LinearGradientStrokeNode |
class |
RadialGradientStrokeNode |
class |
SolidColorStrokeNode |
Modifier and Type | Method and Description |
---|---|
List<IFXGNode> |
RadialGradientStrokeNode.getChildren() |
List<IFXGNode> |
LinearGradientStrokeNode.getChildren() |
Modifier and Type | Method and Description |
---|---|
void |
RadialGradientStrokeNode.addChild(IFXGNode child,
Collection<ICompilerProblem> problems) |
void |
LinearGradientStrokeNode.addChild(IFXGNode child,
Collection<ICompilerProblem> problems) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractCharacterTextNode
A base class for text nodes that have character formatting.
|
class |
AbstractTextNode
A base class for all FXG nodes concerned with formatted text.
|
class |
ParagraphNode
Represents a <p /> child tag of FXG <TextGraphic> content.
|
class |
SpanNode
Represents a <span /> child tag of FXG text content.
|
Modifier and Type | Method and Description |
---|---|
List<IFXGNode> |
AbstractTextNode.getChildren() |
Modifier and Type | Method and Description |
---|---|
void |
SpanNode.addChild(IFXGNode child,
Collection<ICompilerProblem> problems)
A <span> allows child <br /> tags, as well as character
data (text content).
|
void |
ParagraphNode.addChild(IFXGNode child,
Collection<ICompilerProblem> problems)
A <p> allows child <span> and <br /> tags, as
well as character data (text content).
|
void |
AbstractTextNode.addChild(IFXGNode child,
Collection<ICompilerProblem> problems)
Check child node to ensure that exception isn't thrown for ignorable
white spaces.
|
static Kerning |
AbstractCharacterTextNode.getKerning(IFXGNode node,
String value,
Collection<ICompilerProblem> problems)
Convert an FXG String value to a Kerning enumeration.
|
static LineBreak |
AbstractCharacterTextNode.getLineBreak(IFXGNode node,
String value,
Collection<ICompilerProblem> problems)
Convert an FXG String value to a LineBreak enumeration.
|
static WhiteSpaceCollapse |
AbstractCharacterTextNode.getWhiteSpaceCollapse(IFXGNode node,
String value,
Collection<ICompilerProblem> problems)
Convert an FXG String value to a WhiteSpaceCollapse enumeration.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractTransformNode
A base class for all FXG nodes that represent a transform.
|
class |
ColorTransformNode |
class |
MatrixNode |
Modifier and Type | Field and Description |
---|---|
static Map<String,Class<? extends IFXGNode>> |
FXG_v2_0_Handler.DEFAULT_FXG_2_0_NODES
The default IFXGNode Classes to handle elements in the FXG 2.0
|
protected Map<String,Map<String,Class<? extends IFXGNode>>> |
AbstractFXGVersionHandler.elementNodesByURI
A Map of URIs to a Map of local element names to an IFXGNode Class.
|
Modifier and Type | Method and Description |
---|---|
protected IFXGNode |
FXGSAXScanner.createNode(String uri,
String localName)
Attempts to construct an instance of IFXGNode for the given element.
|
IFXGNode |
FXGSAXScanner.getRootNode()
Provides access to the root IFXGNode of the FXG document AFTER parsing.
|
IFXGNode |
FXGSAXParser.parse(Reader reader,
Collection<ICompilerProblem> problems)
Parses an FXG document InputStream to produce an IFXGNode based DOM.
|
IFXGNode |
FXGSAXParser.parse(Reader reader,
String documentPath,
Collection<ICompilerProblem> problems)
Parses an FXG document InputStream to produce an IFXGNode based DOM.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Class<? extends IFXGNode>> |
IFXGVersionHandler.getElementNodes(String URI) |
Map<String,Class<? extends IFXGNode>> |
AbstractFXGVersionHandler.getElementNodes(String URI) |
Modifier and Type | Method and Description |
---|---|
void |
IFXGVersionHandler.registerElementNodes(String URI,
Map<String,Class<? extends IFXGNode>> elementNodes)
Registers mapping for the scanner to process elements and Classes that
handle the elements
|
void |
AbstractFXGVersionHandler.registerElementNodes(String URI,
Map<String,Class<? extends IFXGNode>> elementNodes)
Registers mapping for the scanner to process elements and Classes that
handle the elements
|
Copyright © 2016 The Apache Software Foundation. All rights reserved.