|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.fop.fo.FONode
org.apache.fop.fo.FObj
org.apache.fop.fo.flow.AbstractPageNumberCitation
public abstract class AbstractPageNumberCitation
Common base class for the
fo:page-number-citation and
fo:page-number-citation-last objects.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.fop.fo.FObj |
|---|
FObj.FObjIterator |
| Nested classes/interfaces inherited from class org.apache.fop.fo.FONode |
|---|
FONode.FONodeIterator, FONode.GatherContextInfoFunction |
| Field Summary |
|---|
| Fields inherited from class org.apache.fop.fo.FObj |
|---|
firstChild, lastChild |
| Fields inherited from class org.apache.fop.fo.FONode |
|---|
FO_URI, FOX_URI, locator, log, parent, siblings |
| Constructor Summary | |
|---|---|
AbstractPageNumberCitation(FONode parent)
Base constructor |
|
| Method Summary | |
|---|---|
void |
bind(PropertyList pList)
Bind property values from the property list to the FO node. |
protected java.util.Stack |
collectDelimitedTextRanges(java.util.Stack ranges,
DelimitedTextRange currentRange)
Collect the sequence of delimited text ranges, where each new range is pushed onto RANGES, where default implementation collects ranges of child nodes. |
Length |
getAlignmentAdjust()
|
int |
getAlignmentBaseline()
|
Length |
getBaselineShift()
|
java.awt.Color |
getColor()
|
CommonAccessibility |
getCommonAccessibility()
Returns the accessibility properties. |
CommonBorderPaddingBackground |
getCommonBorderPaddingBackground()
|
CommonFont |
getCommonFont()
|
int |
getDominantBaseline()
|
SpaceProperty |
getLineHeight()
|
java.lang.String |
getRefId()
|
StructureTreeElement |
getStructureTreeElement()
Returns the element in the document's structure tree that corresponds to this instance. |
CommonTextDecoration |
getTextDecoration()
|
boolean |
isDelimitedTextRangeBoundary(int boundary)
Determine if node has a delimited text range boundary. |
void |
processNode(java.lang.String elementName,
org.xml.sax.Locator locator,
org.xml.sax.Attributes attlist,
PropertyList pList)
Initialize the node with its name, location information, and attributes The attributes must be used immediately as the sax attributes will be altered for the next element. |
void |
setStructureTreeElement(StructureTreeElement structureTreeElement)
Sets the structure tree element. |
protected void |
validateChildNode(org.xml.sax.Locator loc,
java.lang.String nsURI,
java.lang.String localName)
Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that fo:table is not an immediate child of fo:root)
called from FOTreeBuilder.startElement(String, String, String, Attributes)
before constructing the child FObj. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractPageNumberCitation(FONode parent)
parent - FONode that is the parent of this object| Method Detail |
|---|
public void bind(PropertyList pList)
throws FOPException
bind in class FObjpList - the PropertyList where the properties can be found.
FOPException - if there is a problem binding the values
public void processNode(java.lang.String elementName,
org.xml.sax.Locator locator,
org.xml.sax.Attributes attlist,
PropertyList pList)
throws FOPException
processNode in class FObjelementName - element name (e.g., "fo:block")locator - Locator object (ignored by default)attlist - Collection of attributes passed to us from the parser.pList - the property list of the parent node
FOPException - for errors or inconsistencies in the attributes
protected void validateChildNode(org.xml.sax.Locator loc,
java.lang.String nsURI,
java.lang.String localName)
throws ValidationException
fo:table is not an immediate child of fo:root)
called from FOTreeBuilder.startElement(String, String, String, Attributes)
before constructing the child FObj.
validateChildNode in class FONodeloc - location in the FO source filensURI - namespace of incoming nodelocalName - name of the incoming node (without namespace prefix)
ValidationException - if incoming node not valid for parentpublic CommonAccessibility getCommonAccessibility()
getCommonAccessibility in interface CommonAccessibilityHolderpublic CommonFont getCommonFont()
CommonFontpublic java.awt.Color getColor()
public CommonTextDecoration getTextDecoration()
public void setStructureTreeElement(StructureTreeElement structureTreeElement)
FONode
setStructureTreeElement in class FONodestructureTreeElement - set.public StructureTreeElement getStructureTreeElement()
getStructureTreeElement in interface StructureTreeElementHolderpublic Length getAlignmentAdjust()
public int getAlignmentBaseline()
public Length getBaselineShift()
public int getDominantBaseline()
public CommonBorderPaddingBackground getCommonBorderPaddingBackground()
CommonBorderPaddingBackgroundpublic SpaceProperty getLineHeight()
public java.lang.String getRefId()
public boolean isDelimitedTextRangeBoundary(int boundary)
FONode
isDelimitedTextRangeBoundary in class FONodeboundary - one of {EN_BEFORE, EN_AFTER, or EN_BOTH} enumeration constants
protected java.util.Stack collectDelimitedTextRanges(java.util.Stack ranges,
DelimitedTextRange currentRange)
FONode
collectDelimitedTextRanges in class FONoderanges - a stack of delimited text rangescurrentRange - the current range or null (if none)
|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||