|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.foray.common.AbstractOrderedTreeNode
org.foray.fotree.FObj
org.foray.fotree.FObjMixed
org.foray.fotree.fo.obj.Marker
public class Marker
A "marker" object in XSL-FO.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.foray.common.AbstractOrderedTreeNode |
|---|
AbstractOrderedTreeNode.PostOrderDescendantIterator |
| Field Summary |
|---|
| Fields inherited from class org.foray.fotree.FObj |
|---|
EMPTY_CHILD_LIST, PAGE_CITATION_TEXT_SEGMENT |
| Fields inherited from interface org.axsl.fo.Fo |
|---|
DIMENSION_AUTO |
| Fields inherited from interface org.axsl.fo.fo.prop.CommonPositionPa |
|---|
ABSOLUTE_POSITION_AUTO |
| Constructor Summary | |
|---|---|
Marker(FObj parent,
PropertyList propertyList)
Constructor. |
|
| Method Summary | |
|---|---|
Object |
acceptProxyFactory(org.axsl.fo.ProxyFactory factory)
|
void |
addNonTextNode(FObj nonTextNode)
Add a non-text node to the children of this object. |
void |
addTextNode(AbstractCharacterSequence textNode)
Add a text node to the children of this object. |
boolean |
blockMustEnclosePCDATA()
Indicates whether any PCDATA (text) found in this element must have an ancestor block element. |
FObj |
getChildAt(int index)
|
List<FObj> |
getChildren()
Return the List of this node's children. |
String |
getName()
|
Namespace |
getNamespace()
Gets the Namespace instance that is associated with this object. |
FObj |
getParent()
|
org.axsl.font.FontUse |
getPrimaryFont(org.axsl.fo.FoContext context)
|
boolean |
isContentBlock()
Reports whether the object fits the %block parameter entity described in XSL-FO Std 1.0, Section 6.2. |
boolean |
isContentInline()
Reports whether the object fits the %inline parameter entity described in XSL-FO Std 1.0, Section 6.2. |
boolean |
isContentPcdata()
Reports whether the object fits the #PCDATA content type in XSL-FO Std 1.0, Section 6.2. |
boolean |
isValid()
|
void |
setup()
A hook into the parsing process which allows the subclass instance to do some initialization-type work after all of the properties have been parsed, but before any of the children have been parsed. |
protected void |
validateAncestry()
A hook into the parsing process which allows the subclass instance to validate its ancestry. |
protected void |
validateDescendants()
A hook into the parsing process which allows the subclass instance to validate its descendants. |
protected void |
validateProperties()
A hook into the parsing process which allows the subclass instance to validate its properties. |
| Methods inherited from class org.foray.fotree.FObjMixed |
|---|
addCharacters, addChild, end, finalizeText, getPropertyList, getTextBuffer |
| Methods inherited from class org.foray.common.AbstractOrderedTreeNode |
|---|
children, getChildCount, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLevel, getNextLeaf, getNextSibling, getPreviousLeaf, getPreviousSibling, getSharedAncestor, hasChildren, isLeaf, isNodeAncestor, isNodeDescendant, nextPostOrderNode, nextPreOrderNode, postOrderDescendantIterator, siblingIndex |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.axsl.fo.Fo |
|---|
ancestorBasicLink, ancestorListRelatedObject, ancestorMarker, ancestorTable, getColumn, getContextMessage, getLine, getSequentialIndex, getSystemId, isBlockLevelFo, qtyMarkerChildren, traitIsReferenceArea |
| Methods inherited from interface javax.swing.tree.TreeNode |
|---|
children, getAllowsChildren, getChildCount, getIndex, isLeaf |
| Methods inherited from interface java.lang.Iterable |
|---|
iterator |
| Methods inherited from interface org.axsl.fo.fo.prop.MarkerClassNamePa |
|---|
traitMarkerClassName |
| Constructor Detail |
|---|
public Marker(FObj parent,
PropertyList propertyList)
parent - The parent FObj.propertyList - The property list for this FObj.| Method Detail |
|---|
protected void validateAncestry()
throws org.axsl.fo.FoTreeException
FObj
validateAncestry in class FObjorg.axsl.fo.FoTreeException - For invalid ancestry.
protected void validateProperties()
throws org.axsl.fo.FoTreeException
FObj
validateProperties in class FObjorg.axsl.fo.FoTreeException - For invalid properties.
public void setup()
throws org.axsl.fo.FoTreeException
FObj
setup in class FObjorg.axsl.fo.FoTreeException - For errors during initialization.
protected void validateDescendants()
throws org.axsl.fo.FoTreeException
FObj
validateDescendants in class FObjorg.axsl.fo.FoTreeException - For invalid descendants.public String getName()
getName in interface org.axsl.fo.FogetName in class FObjpublic Namespace getNamespace()
FObj
getNamespace in class FObjpublic boolean blockMustEnclosePCDATA()
FObjMixed
blockMustEnclosePCDATA in class FObjMixedpublic Object acceptProxyFactory(org.axsl.fo.ProxyFactory factory)
acceptProxyFactory in interface org.axsl.fo.Fopublic FObj getParent()
getParent in interface TreeNodegetParent in interface org.axsl.fo.FogetParent in class FObjpublic List<FObj> getChildren()
AbstractOrderedTreeNode
getChildren in class FObjpublic void addTextNode(AbstractCharacterSequence textNode)
FObjMixed
addTextNode in class FObjMixedtextNode - The text node to be added.public void addNonTextNode(FObj nonTextNode)
FObjMixed
addNonTextNode in class FObjMixednonTextNode - The non-text node to be added.public boolean isContentInline()
FObj
isContentInline in class FObjpublic boolean isContentBlock()
FObj
isContentBlock in class FObjpublic boolean isContentPcdata()
FObj
isContentPcdata in class FObjpublic org.axsl.font.FontUse getPrimaryFont(org.axsl.fo.FoContext context)
getPrimaryFont in interface org.axsl.fo.fo.prop.CommonFontPapublic FObj getChildAt(int index)
getChildAt in interface TreeNodegetChildAt in interface org.axsl.fo.Fopublic boolean isValid()
isValid in interface org.axsl.fo.Fo
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||