|
||||||||||
| 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.AbstractFolioDescriptor
public abstract class AbstractFolioDescriptor
Abstract superclass for "folio-prefix" and "folio-suffix" FOs.
| 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 | |
|---|---|
AbstractFolioDescriptor(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. |
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 |
isValid()
|
protected 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 javax.swing.tree.TreeNode |
|---|
children, getChildCount, getIndex, isLeaf |
| Constructor Detail |
|---|
public AbstractFolioDescriptor(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.
protected 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 Namespace getNamespace()
FObj
getNamespace in class FObjpublic boolean blockMustEnclosePCDATA()
FObjMixed
blockMustEnclosePCDATA in class FObjMixedpublic Object acceptProxyFactory(org.axsl.fo.ProxyFactory factory)
public 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)
throws org.axsl.fo.FoTreeException
FObjMixed
addNonTextNode in class FObjMixednonTextNode - The non-text node to be added.
org.axsl.fo.FoTreeException - If the new content is not valid.public org.axsl.font.FontUse getPrimaryFont(org.axsl.fo.FoContext context)
public FObj getChildAt(int index)
public boolean isValid()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||