|
fop 0.91beta | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.fop.fo.FONode | +--org.apache.fop.fo.FOText
A text node (PCDATA) in the formatting object tree. Unfortunately the BufferManager implementatation holds onto references to the character data in this object longer than the lifetime of the object itself, causing excessive memory consumption and OOM errors.
Field Summary | |
char[] |
ca
the character array containing the text |
int |
endIndex
The ending valid index of the ca array to be processed. |
int |
startIndex
The starting valid index of the ca array to be processed. |
Fields inherited from class org.apache.fop.fo.FONode |
FO_URI, locator, log, parent |
Constructor Summary | |
FOText(FONode parent)
Creates a now FO text node. |
Method Summary | |
protected void |
addCharacters(char[] data,
int start,
int end,
PropertyList list,
org.xml.sax.Locator locator)
Adds characters (does nothing here) |
void |
bind(PropertyList pList)
|
CharIterator |
charIterator()
|
protected void |
endOfNode()
Primarily used for making final content model validation checks and/or informing the FOEventHandler that the end of this FO has been reached. |
protected java.lang.String |
gatherContextInfo()
Gathers context information for the getContextInfo() method. |
Block |
getAncestorBlock()
|
Length |
getBaseLineShift()
|
ColorType |
getColor()
|
CommonFont |
getCommonFont()
|
CommonHyphenation |
getCommonHyphenation()
|
Property |
getLetterSpacing()
|
SpaceProperty |
getLineHeight()
|
java.lang.String |
getLocalName()
Returns the local name (i.e. without namespace prefix) of the node |
FOText |
getNextFOTextThisBlock()
|
java.lang.String |
getNormalNamespacePrefix()
|
FOText |
getPrevFOTextThisBlock()
|
CommonTextDecoration |
getTextDecoration()
|
Property |
getWordSpacing()
|
int |
getWrapOption()
|
static int |
isWordChar(char inputChar)
Determines whether the input char should be considered part of a "word". |
java.lang.String |
toString()
|
boolean |
willCreateArea()
Check if this text node will create an area. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public char[] ca
public int startIndex
public int endIndex
Constructor Detail |
public FOText(FONode parent)
parent
- FONode that is the parent of this objectMethod Detail |
protected void addCharacters(char[] data, int start, int end, PropertyList list, org.xml.sax.Locator locator) throws FOPException
FONode
addCharacters
in class FONode
FONode
public void bind(PropertyList pList) throws FOPException
FObj.bind(PropertyList)
protected void endOfNode() throws FOPException
FONode
endOfNode
in class FONode
FONode.endOfNode()
public boolean willCreateArea()
public CharIterator charIterator()
charIterator
in class FONode
public FOText getPrevFOTextThisBlock()
public FOText getNextFOTextThisBlock()
public Block getAncestorBlock()
public static int isWordChar(char inputChar)
inputChar
- the character to be tested.public CommonFont getCommonFont()
public CommonHyphenation getCommonHyphenation()
public ColorType getColor()
public Property getLetterSpacing()
public SpaceProperty getLineHeight()
public Property getWordSpacing()
public int getWrapOption()
public CommonTextDecoration getTextDecoration()
public Length getBaseLineShift()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public java.lang.String getLocalName()
FONode
getLocalName
in class FONode
FONode.getLocalName()
public java.lang.String getNormalNamespacePrefix()
getNormalNamespacePrefix
in class FONode
FONode.getNormalNamespacePrefix()
protected java.lang.String gatherContextInfo()
FONode
gatherContextInfo
in class FONode
FONode.gatherContextInfo()
|
fop 0.91beta | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |