|
||||||||||
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.fo.obj.SubSequenceSpecifier
org.foray.fotree.fo.obj.SinglePageMasterReference
public class SinglePageMasterReference
A "single-page-master-reference" 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 | |
---|---|
SinglePageMasterReference(FObj parent,
PropertyList propertyList)
Constructor. |
Method Summary | |
---|---|
Object |
acceptProxyFactory(org.axsl.fo.ProxyFactory factory)
|
void |
addChild(FObj child)
Add a child to this object. |
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. |
Set<AbstractPageMaster> |
getPages()
Returns the page-master instances that are included in this specifier. |
org.axsl.font.FontUse |
getPrimaryFont(org.axsl.fo.FoContext context)
|
boolean |
isValid()
|
protected void |
validateDescendants()
A hook into the parsing process which allows the subclass instance to validate its descendants. |
void |
validatePageExistence()
Checks to make sure that each page referenced actually exists. |
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.fo.obj.SubSequenceSpecifier |
---|
end, getParent, getPropertyList, isContentBlock, isContentInline, isContentPcdata, layoutMasterSet, pageSequenceMaster, setup, validateAncestry |
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 SinglePageMasterReference(FObj parent, PropertyList propertyList)
parent
- The parent FObj.propertyList
- The property list for this FObj.Method Detail |
---|
protected void validateProperties() throws org.axsl.fo.FoTreeException
FObj
validateProperties
in class FObj
org.axsl.fo.FoTreeException
- For invalid properties.protected void validateDescendants() throws org.axsl.fo.FoTreeException
FObj
validateDescendants
in class FObj
org.axsl.fo.FoTreeException
- For invalid descendants.public String getName()
getName
in interface org.axsl.fo.Fo
getName
in class FObj
public Namespace getNamespace()
FObj
getNamespace
in class FObj
public Object acceptProxyFactory(org.axsl.fo.ProxyFactory factory)
public Set<AbstractPageMaster> getPages()
SubSequenceSpecifier
getPages
in class SubSequenceSpecifier
public void validatePageExistence() throws org.axsl.fo.FoTreeException
SubSequenceSpecifier
validatePageExistence
in class SubSequenceSpecifier
org.axsl.fo.FoTreeException
- If any referenced pages do not exist.public List<FObj> getChildren()
AbstractOrderedTreeNode
getChildren
in class FObj
public void addChild(FObj child) throws org.axsl.fo.FoTreeException
FObj
addChild
in class FObj
child
- The child to be added.
org.axsl.fo.FoTreeException
- If the child cannot be added as a child for any
reason, either because it an invalid type or is in the wrong order.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 |