org.apache.fop.render.ps.extensions
Class AbstractPSExtensionElement
- Cloneable
public abstract class AbstractPSExtensionElement
Base class for the PostScript-specific extension elements.
addCharacters , addChildNode , attachSiblings , attributeError , attributeWarning , bind , canHaveMarkers , charIterator , clone , clone , createPropertyList , decorateWithContextInfo , endOfNode , errorText , gatherContextInfo , getChildNodes , getChildNodes , getContentHandlerFactory , getContextInfo , getExtensionAttachment , getFOEventHandler , getLocalName , getLocator , getLocatorString , getLogger , getName , getName , getNameId , getNamespaceURI , getNodeString , getNormalNamespacePrefix , getParent , getRoot , getUserAgent , inMarker , invalidChildError , invalidChildError , missingChildElementError , missingPropertyError , nodesOutOfOrderError , processNode , removeChild , setLocator , startOfNode , tooManyNodesError , tooManyNodesError , validateChildNode , validateChildNode , warningText |
AbstractPSExtensionElement
public AbstractPSExtensionElement(FONode parent)
Default constructor
parent
- parent of this node
addCharacters
protected void addCharacters(char[] data,
int start,
int length,
PropertyList pList,
Locator locator)
Adds characters (does nothing here)
- addCharacters in interface 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.
getNamespaceURI
public String getNamespaceURI()
- getNamespaceURI in interface FONode
- a String representation of this object
instantiateExtensionAttachment
protected abstract ExtensionAttachment instantiateExtensionAttachment()
Instantiates extension attachment object
validateChildNode
protected void validateChildNode(Locator loc,
String nsURI,
String localName)
throws ValidationException
Blocks XSL FO's from having non-FO parents.
- validateChildNode in interface FONode
loc
- location in the FO source filensURI
- namespace of incoming nodelocalName
- (e.g. "table" for "fo:table")
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.