public class AFPPageSegmentElement extends AFPPageSetupElement
Modifier and Type | Class and Description |
---|---|
static class |
AFPPageSegmentElement.AFPPageSegmentSetup
This is the pass-through value object for the AFP extension.
|
FONode.FONodeIterator, FONode.GatherContextInfoFunction
extensionAttachment, name
Constructor and Description |
---|
AFPPageSegmentElement(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.
|
characters, startOfNode
endOfNode, getExtensionAttachment, getLocalName, getNamespaceURI, getNormalNamespacePrefix, validateChildNode
addCharacters, addChildNode, attachSiblings, bind, canHaveMarkers, charIterator, clone, clone, collectDelimitedTextRanges, collectDelimitedTextRanges, createPropertyList, decorateWithContextInfo, errorText, finalizeNode, gatherContextInfo, getBuilderContext, getChildNodes, getChildNodes, getContentHandlerFactory, getContextInfo, getContextInfoAlt, getFOEventHandler, getFOValidationEventProducer, getLocator, getLocatorString, getLogger, getName, getName, getNameId, getNodePrefix, getNodeString, getParent, getRoot, getStructureTreeElement, getUserAgent, inMarker, invalidChildError, invalidChildError, invalidPropertyValueError, isBidiRangeBlockItem, isDelimitedTextRangeBoundary, missingChildElementError, missingChildElementError, missingPropertyError, nodesOutOfOrderError, nodesOutOfOrderError, notSupportedChildError, removeChild, setLocator, setStructureTreeElement, tooManyNodesError, tooManyNodesError, tooManyNodesError, validateChildNode, warningText
public AFPPageSegmentElement(FONode parent, java.lang.String name)
parent
- the parent formatting objectname
- the name of the afp elementpublic void processNode(java.lang.String elementName, org.xml.sax.Locator locator, org.xml.sax.Attributes attlist, PropertyList propertyList) throws FOPException
processNode
in class AFPPageSetupElement
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 AFPPageSetupElement
Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.