Class AFPExtensionAttachment
java.lang.Object
org.apache.fop.render.afp.extensions.AFPExtensionAttachment
- All Implemented Interfaces:
Serializable
,ExtensionAttachment
,org.apache.xmlgraphics.util.XMLizable
- Direct Known Subclasses:
AFPIncludeFormMap
,AFPInvokeMediumMap
,AFPPageOverlay
,AFPPageSetup
public abstract class AFPExtensionAttachment
extends Object
implements ExtensionAttachment, Serializable, org.apache.xmlgraphics.util.XMLizable
This is the pass-through value object for the AFP extension.
- See Also:
-
Field Details
-
CATEGORY
The category URI for this extension attachment.- See Also:
-
ATT_NAME
name attribute- See Also:
-
elementName
the extension element name -
name
the extension name attribute
-
-
Constructor Details
-
AFPExtensionAttachment
Default constructor.- Parameters:
elementName
- the name of the afp extension attachment, may be null
-
-
Method Details
-
getElementName
- Returns:
- the name
-
hasName
protected boolean hasName()- Returns:
- true if this element has a name attribute
-
getName
- Returns:
- the name
-
setName
Sets the name of the setup code object.- Parameters:
name
- The name to set.
-
getCategory
This method returns a category URI that allows a processor (layout manager or renderer) to determine if it supports this object.- Specified by:
getCategory
in interfaceExtensionAttachment
- Returns:
- the category URI
-