public class AFPPageSetupElement extends AbstractAFPExtensionObject
FONode.FONodeIterator, FONode.GatherContextInfoFunction
extensionAttachment, name
FO_URI, FOX_URI, locator, log, nodeChangeBarList, parent, siblings, startOfNodeChangeBarList
Constructor and Description |
---|
AFPPageSetupElement(FONode parent,
String name)
Constructs an AFP object (called by Maker).
|
Modifier and Type | Method and Description |
---|---|
protected void |
characters(char[] data,
int start,
int length,
PropertyList pList,
Locator locator)
Adds characters.
|
protected ExtensionAttachment |
instantiateExtensionAttachment()
Instantiates extension attachment object
|
void |
processNode(String elementName,
Locator locator,
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.
|
void |
startOfNode()
Called after processNode() is called.
|
endOfNode, getExtensionAttachment, getLocalName, getNamespaceURI, getNormalNamespacePrefix, validateChildNode
addCharacters, addChildNode, attachSiblings, bind, canHaveMarkers, charIterator, clone, clone, collectDelimitedTextRanges, collectDelimitedTextRanges, createPropertyList, decorateWithContextInfo, errorText, finalizeNode, gatherContextInfo, getBuilderContext, getChangeBarList, getChildNodes, getChildNodes, getContentHandlerFactory, getContextInfo, getContextInfoAlt, getFOEventHandler, getFOValidationEventProducer, getLocator, getLocatorString, getLogger, getName, getName, getNameId, getNodePrefix, getNodeString, getParent, getRoot, getStructureTreeElement, getUserAgent, inMarker, invalidChildError, invalidChildError, invalidPropertyValueError, isBidiRangeBlockItem, isChangeBarElement, isDelimitedTextRangeBoundary, missingChildElementError, missingChildElementError, missingPropertyError, nodesOutOfOrderError, nodesOutOfOrderError, notSupportedChildError, removeChild, setLocator, setStructureTreeElement, tooManyNodesError, tooManyNodesError, tooManyNodesError, validateChildNode, warningText
public void startOfNode() throws FOPException
startOfNode
in class FONode
FOPException
- if there's a problem during processingprotected void characters(char[] data, int start, int length, PropertyList pList, Locator locator) throws FOPException
#PCDATA
content.characters
in class FONode
data
- array of characters containing text to be addedstart
- starting array element to addlength
- number of elements to addpList
- currently applicable PropertyListlocator
- location in the XSL-FO source file.FOPException
- if there's a problem during processingpublic void processNode(String elementName, Locator locator, 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 © 2025 Apache Software Foundation. All rights reserved.