public class PDFEmbeddedFileElement extends AbstractPDFExtensionElement
FONode.FONodeIterator, FONode.GatherContextInfoFunction
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
ELEMENT
name of element
|
attachment
Modifier | Constructor and Description |
---|---|
protected |
PDFEmbeddedFileElement(FONode parent)
Main constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLocalName()
Returns the local name (i.e.
|
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.
|
getExtensionAttachment, getNamespaceURI, getNormalNamespacePrefix
addCharacters, addChildNode, attachSiblings, bind, canHaveMarkers, characters, charIterator, clone, clone, collectDelimitedTextRanges, collectDelimitedTextRanges, createPropertyList, decorateWithContextInfo, endOfNode, errorText, finalizeNode, gatherContextInfo, getBuilderContext, getChildNodes, getChildNodes, getContentHandlerFactory, getContextInfo, getContextInfoAlt, getFOEventHandler, getFOValidationEventProducer, getLocator, getLocatorString, getLogger, getName, getName, getNameId, getNodePrefix, getNodeString, getParent, getRoot, getUserAgent, inMarker, invalidChildError, invalidChildError, isBidiRangeBlockItem, isDelimitedTextRangeBoundary, missingChildElementError, missingChildElementError, missingPropertyError, nodesOutOfOrderError, nodesOutOfOrderError, removeChild, setLocator, setStructureTreeElement, tooManyNodesError, tooManyNodesError, tooManyNodesError, validateChildNode, validateChildNode, warningText
protected static final java.lang.String ELEMENT
protected PDFEmbeddedFileElement(FONode parent)
parent
- parent FO nodeprotected 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 FONode
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 attributespublic java.lang.String getLocalName()
getLocalName
in class FONode
protected ExtensionAttachment instantiateExtensionAttachment()
instantiateExtensionAttachment
in class AbstractPDFExtensionElement
Copyright 1999-2012 The Apache Software Foundation. All Rights Reserved.