Class AFPExtensionAttachment
- java.lang.Object
-
- org.apache.fop.render.afp.extensions.AFPExtensionAttachment
-
- All Implemented Interfaces:
java.io.Serializable
,ExtensionAttachment
,org.apache.xmlgraphics.util.XMLizable
- Direct Known Subclasses:
AFPIncludeFormMap
,AFPInvokeMediumMap
,AFPPageOverlay
,AFPPageSetup
public abstract class AFPExtensionAttachment extends java.lang.Object implements ExtensionAttachment, java.io.Serializable, org.apache.xmlgraphics.util.XMLizable
This is the pass-through value object for the AFP extension.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
ATT_NAME
name attributestatic java.lang.String
CATEGORY
The category URI for this extension attachment.protected java.lang.String
elementName
the extension element nameprotected java.lang.String
name
the extension name attributeprivate static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description AFPExtensionAttachment(java.lang.String elementName)
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCategory()
This method returns a category URI that allows a processor (layout manager or renderer) to determine if it supports this object.java.lang.String
getElementName()
java.lang.String
getName()
protected boolean
hasName()
void
setName(java.lang.String name)
Sets the name of the setup code object.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
CATEGORY
public static final java.lang.String CATEGORY
The category URI for this extension attachment.- See Also:
- Constant Field Values
-
ATT_NAME
protected static final java.lang.String ATT_NAME
name attribute- See Also:
- Constant Field Values
-
elementName
protected java.lang.String elementName
the extension element name
-
name
protected java.lang.String name
the extension name attribute
-
-
Method Detail
-
getElementName
public java.lang.String getElementName()
- Returns:
- the name
-
hasName
protected boolean hasName()
- Returns:
- true if this element has a name attribute
-
getName
public java.lang.String getName()
- Returns:
- the name
-
setName
public void setName(java.lang.String name)
Sets the name of the setup code object.- Parameters:
name
- The name to set.
-
getCategory
public java.lang.String 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
-
-