|
fop 0.95 | |||||||||
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.render.ps.extensions.AbstractPSExtensionElement
public abstract class AbstractPSExtensionElement
Base class for the PostScript-specific extension elements.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.fop.fo.FONode |
---|
FONode.FONodeIterator |
Field Summary | |
---|---|
protected PSExtensionAttachment |
attachment
extension attachment |
Fields inherited from class org.apache.fop.fo.FONode |
---|
FO_URI, FOX_URI, locator, log, parent, siblings |
Constructor Summary | |
---|---|
AbstractPSExtensionElement(FONode parent)
Default constructor |
Method Summary | |
---|---|
protected void |
addCharacters(char[] data,
int start,
int length,
PropertyList pList,
org.xml.sax.Locator locator)
Adds characters (does nothing here) |
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. |
ExtensionAttachment |
getExtensionAttachment()
This method is overridden by extension elements and allows the extension element to return a pass-through attachment which the parent formatting objects should simply carry with them but otherwise ignore. |
java.lang.String |
getNamespaceURI()
|
java.lang.String |
getNormalNamespacePrefix()
|
protected abstract ExtensionAttachment |
instantiateExtensionAttachment()
Instantiates extension attachment object |
protected void |
validateChildNode(org.xml.sax.Locator loc,
java.lang.String nsURI,
java.lang.String localName)
Blocks XSL FO's from having non-FO parents. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected PSExtensionAttachment attachment
Constructor Detail |
---|
public AbstractPSExtensionElement(FONode parent)
parent
- parent of this nodeFONode.FONode(FONode)
Method Detail |
---|
protected void validateChildNode(org.xml.sax.Locator loc, java.lang.String nsURI, java.lang.String localName) throws ValidationException
validateChildNode
in class FONode
loc
- location in the FO source filensURI
- namespace of incoming nodelocalName
- (e.g. "table" for "fo:table")
ValidationException
- if incoming node not valid for parentFONode.validateChildNode(Locator, String, String)
protected void addCharacters(char[] data, int start, int length, PropertyList pList, org.xml.sax.Locator locator)
addCharacters
in class FONode
data
- array of characters containing text to be addedstart
- starting array element to addlength
- of data array to addpList
- currently applicable PropertyListlocator
- location in fo source file.FONode.addCharacters(char[], int, int, PropertyList, Locator)
public java.lang.String getNamespaceURI()
getNamespaceURI
in class FONode
FONode.getNamespaceURI()
public java.lang.String getNormalNamespacePrefix()
getNormalNamespacePrefix
in class FONode
FONode.getNormalNamespacePrefix()
protected void endOfNode() throws FOPException
FONode
endOfNode
in class FONode
FOPException
- if there's a problem during processingFONode.endOfNode()
public ExtensionAttachment getExtensionAttachment()
FONode
getExtensionAttachment
in class FONode
FONode.getExtensionAttachment()
protected abstract ExtensionAttachment instantiateExtensionAttachment()
|
fop 0.95 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |