org.apache.fop.render.afp.extensions

Class AbstractAFPExtensionObject

Implemented Interfaces:
Cloneable
Known Direct Subclasses:
AFPElement, AFPPageSetupElement

public abstract class AbstractAFPExtensionObject
extends FONode

Base class for the AFP-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

AbstractAFPExtensionObject(FONode parent, String name)

Method Summary

protected void
addCharacters(char[] data, int start, int end, PropertyList pList, Locator locator)
protected void
endOfNode()
ExtensionAttachment
getExtensionAttachment()
String
getLocalName()
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, validateChildNode, warningText

Constructor Details

AbstractAFPExtensionObject

public AbstractAFPExtensionObject(FONode parent,
                                  String name)
Parameters:
parent - the parent formatting object
name - the name of the afp element

Method Details

addCharacters

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

endOfNode

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

getExtensionAttachment

public ExtensionAttachment getExtensionAttachment()
Overrides:
getExtensionAttachment in interface FONode

getLocalName

public String getLocalName()
Overrides:
getLocalName 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-2008 The Apache Software Foundation. All Rights Reserved.