org.apache.fop.render.ps.extensions

Class AbstractPSExtensionObject

Implemented Interfaces:
Cloneable
Known Direct Subclasses:
PSPageSetupCodeElement, PSSetupCodeElement

public abstract class AbstractPSExtensionObject
extends FONode

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

Fields inherited from class org.apache.fop.fo.FONode

FOX_URI, FO_URI, locator, log, parent, siblings

Constructor Summary

AbstractPSExtensionObject(FONode parent)

Method Summary

protected void
addCharacters(char[] data, int start, int length, PropertyList pList, Locator locator)
protected void
endOfNode()
ExtensionAttachment
getExtensionAttachment()
String
getNamespaceURI()
String
getNormalNamespacePrefix()
void
processNode(String elementName, Locator locator, Attributes attlist, PropertyList propertyList)
protected void
validateChildNode(Locator loc, String nsURI, String localName)

Methods inherited from class org.apache.fop.fo.FONode

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, warningText

Constructor Details

AbstractPSExtensionObject

public AbstractPSExtensionObject(FONode parent)

Method Details

addCharacters

protected void addCharacters(char[] data,
                             int start,
                             int length,
                             PropertyList pList,
                             Locator locator)
Overrides:
addCharacters in interface FONode
See Also:
FONode

endOfNode

protected void endOfNode()
            throws FOPException
Overrides:
endOfNode in interface FONode

getExtensionAttachment

public ExtensionAttachment getExtensionAttachment()
Overrides:
getExtensionAttachment in interface FONode

getNamespaceURI

public String getNamespaceURI()
Overrides:
getNamespaceURI in interface FONode

getNormalNamespacePrefix

public String getNormalNamespacePrefix()
Overrides:
getNormalNamespacePrefix in interface FONode

processNode

public void processNode(String elementName,
                        Locator locator,
                        Attributes attlist,
                        PropertyList propertyList)
            throws FOPException
Overrides:
processNode in interface FONode

validateChildNode

protected void validateChildNode(Locator loc,
                                 String nsURI,
                                 String localName)
            throws ValidationException
Overrides:
validateChildNode in interface FONode

Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.