|
aXSL API 0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for nodes in the formatting object tree.
Method Summary | |
Marker |
ancestorMarker()
The nearest ancestor Marker instance. |
java.util.List |
childrenFO()
Returns the children of this node. |
int |
getColumn()
Returns the column number of the location of this node in the original document, if known. |
java.lang.String |
getContextMessage()
Provides formatted information about the location (system-id, line, and column number from the parsed document) of this node, suitable for user messages. |
FONode |
getFONodeChildAt(int childIndex)
Returns a specific child, cast as an FONode. |
int |
getLine()
Returns the line number of the location of this node in the original document, if known. |
FONodeProxy |
getProxy()
Returns the FONodeProxy instance, if any, associated with this object. |
FONodeResult |
getResult()
Returns the FONodeResult instance, if any, associated with this object. |
java.lang.String |
getSystemId()
Returns any system-id information that is available about which document this node was parsed from. |
FONodeProxy |
makeProxy(ProxyFactory factory)
Used the Gang of Four "Visitor" pattern to create a suitable proxy instance for this node. |
FObj |
parentFO()
Returns the parent of this node. |
void |
reset()
Resets this node and all child nodes so that they can be reused. |
void |
setProxy(FONodeProxy proxy)
Sets a proxy for this FONode. |
void |
setResult(FONodeResult result)
Sets a result set for this FONode. |
Methods inherited from interface org.axsl.common.OrderedTreeNode |
getChildren, getFirstChild, getFirstLeaf, getLastChild, getLastLeaf, getNextLeaf, getNextSibling, getPreviousLeaf, getPreviousSibling, getSiblings, hasChildren, nextPreOrderNode, siblingIndex |
Methods inherited from interface javax.swing.tree.TreeNode |
children, getAllowsChildren, getChildAt, getChildCount, getIndex, getParent, isLeaf |
Method Detail |
public FObj parentFO()
public FONode getFONodeChildAt(int childIndex)
childIndex
- The index of the child item to be returned.
childIndex
, cast as an FONode, or null
if there is no child at that index.public java.util.List childrenFO()
public void setProxy(FONodeProxy proxy)
proxy
- The FONodeProxy to be set for this node.public FONodeProxy getProxy()
public void setResult(FONodeResult result)
result
- The FONodeResult to be set for this node.public FONodeResult getResult()
public void reset()
FONodeProxy
and
FONodeResult
instances should be dereferenced by implementations.
Running reset on the FORoot instance should reset the entire FOTree
for reuse.
public java.lang.String getSystemId()
Locator
during
parsing.
However, this information will not be available for documents that were
not parsed, for documents parsed with parsers that do not provide this
information, or for documents that are downstream in a SAX chain.
public int getLine()
Locator
during
parsing.
However, this information will not be available for documents that were
not parsed, for documents parsed with parsers that do not provide this
information, or for documents that are downstream in a SAX chain.
public int getColumn()
Locator
during
parsing.
However, this information will not be available for documents that were
not parsed, for documents parsed with parsers that do not provide this
information, or for documents that are downstream in a SAX chain.
public java.lang.String getContextMessage()
public FONodeProxy makeProxy(ProxyFactory factory)
factory
- The proxy factory that should be used to actually create
the instance.
public Marker ancestorMarker()
|
aXSL API 0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This documentation was created September 6 2006 by The aXSL Group and may be freely copied. See license for details.