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.StringATT_NAMEname attributestatic java.lang.StringCATEGORYThe category URI for this extension attachment.protected java.lang.StringelementNamethe extension element nameprotected java.lang.Stringnamethe extension name attribute
-
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.StringgetCategory()This method returns a category URI that allows a processor (layout manager or renderer) to determine if it supports this object.java.lang.StringgetElementName()java.lang.StringgetName()protected booleanhasName()voidsetName(java.lang.String name)Sets the name of the setup code object.
-
-
-
Field Detail
-
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:
getCategoryin interfaceExtensionAttachment- Returns:
- the category URI
-
-