|
||||||||||
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
public abstract class SubSequenceSpecifier
Abstract superclass for the formatting objects that can be used to specify a sub-sequence of pages to be used in a page-sequence-master.
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 | |
---|---|
protected |
SubSequenceSpecifier(FObj parent,
PropertyList propertyList)
Constructor. |
Method Summary | |
---|---|
protected void |
end()
This method is a hook into the parsing process, primarily to allow the subclass to do some validation or setup work after the object and all of its properties have been parsed and all of its children processed. |
abstract Set<AbstractPageMaster> |
getPages()
Returns the page-master instances that are included in this specifier. |
FObj |
getParent()
|
PropertyList |
getPropertyList()
Returns the property list for this FObj. |
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. |
LayoutMasterSet |
layoutMasterSet()
Convenience method returning the grandparent. |
PageSequenceMaster |
pageSequenceMaster()
The parent. |
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. |
abstract void |
validatePageExistence()
Checks to make sure that each page referenced actually exists. |
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 |
---|
acceptProxyFactory, getChildAt, isValid |
Methods inherited from interface javax.swing.tree.TreeNode |
---|
children, getChildCount, getIndex, isLeaf |
Methods inherited from interface org.axsl.fo.fo.prop.CommonFontPa |
---|
getPrimaryFont |
Constructor Detail |
---|
protected SubSequenceSpecifier(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 FObj
org.axsl.fo.FoTreeException
- For invalid ancestry.public void setup()
FObj
setup
in class FObj
protected void end() throws org.axsl.fo.FoTreeException
FObj
end
in class FObj
org.axsl.fo.FoTreeException
- For errors during validation or setup.public PageSequenceMaster pageSequenceMaster()
public LayoutMasterSet layoutMasterSet()
public abstract Set<AbstractPageMaster> getPages()
public abstract void validatePageExistence() throws org.axsl.fo.FoTreeException
org.axsl.fo.FoTreeException
- If any referenced pages do not exist.public FObj getParent()
getParent
in interface TreeNode
getParent
in interface org.axsl.fo.Fo
getParent
in class FObj
public boolean isContentInline()
FObj
isContentInline
in class FObj
public boolean isContentBlock()
FObj
isContentBlock
in class FObj
public boolean isContentPcdata()
FObj
isContentPcdata
in class FObj
public PropertyList getPropertyList()
FObj
getPropertyList
in class FObj
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |