Class AbstractPDFExtensionElement
- java.lang.Object
-
- org.apache.fop.fo.FONode
-
- org.apache.fop.render.pdf.extensions.AbstractPDFExtensionElement
-
- All Implemented Interfaces:
java.lang.Cloneable
- Direct Known Subclasses:
PDFCollectionEntryElement
,PDFEmbeddedFileElement
public abstract class AbstractPDFExtensionElement extends FONode
Base class for the PDF-specific extension elements.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.fop.fo.FONode
FONode.FONodeIterator, FONode.GatherContextInfoFunction
-
-
Field Summary
Fields Modifier and Type Field Description protected PDFExtensionAttachment
attachment
Extension attachment.
-
Constructor Summary
Constructors Constructor Description AbstractPDFExtensionElement(FONode parent)
Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExtensionAttachment
getExtensionAttachment()
Returns the extension attachment.java.lang.String
getNamespaceURI()
Returns the namespace URI for this nodejava.lang.String
getNormalNamespacePrefix()
Returns the normally used namespace prefix for this nodeprotected ExtensionAttachment
instantiateExtensionAttachment()
Instantiates extension attachment object.-
Methods inherited from class org.apache.fop.fo.FONode
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, getLocalName, getLocator, getLocatorString, getLogger, getName, getName, getNameId, getNodePrefix, getNodeString, getParent, getRoot, getStructureTreeElement, getUserAgent, inMarker, invalidChildError, invalidChildError, invalidPropertyValueError, isBidiRangeBlockItem, isDelimitedTextRangeBoundary, missingChildElementError, missingChildElementError, missingPropertyError, nodesOutOfOrderError, nodesOutOfOrderError, notSupportedChildError, processNode, removeChild, setLocator, setStructureTreeElement, startOfNode, tooManyNodesError, tooManyNodesError, tooManyNodesError, validateChildNode, validateChildNode, warningText
-
-
-
-
Field Detail
-
attachment
protected PDFExtensionAttachment attachment
Extension attachment.
-
-
Constructor Detail
-
AbstractPDFExtensionElement
public AbstractPDFExtensionElement(FONode parent)
Default constructor- Parameters:
parent
- parent of this node- See Also:
FONode(FONode)
-
-
Method Detail
-
getNamespaceURI
public java.lang.String getNamespaceURI()
Returns the namespace URI for this node- Overrides:
getNamespaceURI
in classFONode
- Returns:
- the namespace URI for this node
-
getNormalNamespacePrefix
public java.lang.String getNormalNamespacePrefix()
Returns the normally used namespace prefix for this node- Specified by:
getNormalNamespacePrefix
in classFONode
- Returns:
- the normally used namespace prefix for this kind of node (ex. "fo" for XSL-FO)
-
getExtensionAttachment
public ExtensionAttachment getExtensionAttachment()
Returns the extension attachment.- Overrides:
getExtensionAttachment
in classFONode
- Returns:
- the extension attachment if one is created by the extension element, null otherwise.
- See Also:
FONode.getExtensionAttachment()
-
instantiateExtensionAttachment
protected ExtensionAttachment instantiateExtensionAttachment()
Instantiates extension attachment object.- Returns:
- extension attachment
-
-