public class AFPIncludeFormMapElement extends AbstractAFPExtensionObject
ExtensionObj
class. It represents the "include-form-map"
extension in the FO tree.FONode.FONodeIterator, FONode.GatherContextInfoFunction
extensionAttachment, name
Constructor and Description |
---|
AFPIncludeFormMapElement(FONode parent,
java.lang.String name)
Constructs an AFP object (called by Maker).
|
Modifier and Type | Method and Description |
---|---|
protected ExtensionAttachment |
instantiateExtensionAttachment()
Instantiates extension attachment object
|
void |
processNode(java.lang.String elementName,
org.xml.sax.Locator locator,
org.xml.sax.Attributes attlist,
PropertyList propertyList)
Initialize the node with its name, location information, and attributes
The attributes must be used immediately as the sax attributes
will be altered for the next element.
|
protected void |
startOfNode()
Called after processNode() is called.
|
endOfNode, getExtensionAttachment, getLocalName, getNamespaceURI, getNormalNamespacePrefix, validateChildNode
addCharacters, addChildNode, attachSiblings, bind, canHaveMarkers, characters, charIterator, clone, clone, createPropertyList, decorateWithContextInfo, errorText, finalizeNode, gatherContextInfo, getBuilderContext, getChildNodes, getChildNodes, getContentHandlerFactory, getContextInfo, getContextInfoAlt, getFOEventHandler, getFOValidationEventProducer, getLocator, getLocatorString, getLogger, getName, getName, getNameId, getNodeString, getParent, getRoot, getUserAgent, inMarker, invalidChildError, invalidChildError, missingChildElementError, missingChildElementError, missingPropertyError, nodesOutOfOrderError, nodesOutOfOrderError, removeChild, setLocator, tooManyNodesError, tooManyNodesError, tooManyNodesError, validateChildNode, warningText
public AFPIncludeFormMapElement(FONode parent, java.lang.String name)
parent
- the parent formatting objectname
- the name of the AFP elementprotected void startOfNode() throws FOPException
startOfNode
in class FONode
FOPException
- if there's a problem during processingpublic void processNode(java.lang.String elementName, org.xml.sax.Locator locator, org.xml.sax.Attributes attlist, PropertyList propertyList) throws FOPException
processNode
in class AbstractAFPExtensionObject
elementName
- element name (e.g., "fo:block")locator
- Locator object (ignored by default)attlist
- Collection of attributes passed to us from the parser.propertyList
- the property list of the parent nodeFOPException
- for errors or inconsistencies in the attributesprotected ExtensionAttachment instantiateExtensionAttachment()
instantiateExtensionAttachment
in class AbstractAFPExtensionObject
Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.