public abstract class AFPExtensionAttachment extends java.lang.Object implements ExtensionAttachment, java.io.Serializable, org.apache.xmlgraphics.util.XMLizable
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
ATT_NAME
name attribute
|
static java.lang.String |
CATEGORY
The category URI for this extension attachment.
|
protected java.lang.String |
elementName
the extension element name
|
protected java.lang.String |
name
the extension name attribute
|
Constructor and Description |
---|
AFPExtensionAttachment(java.lang.String elementName)
Default constructor.
|
Modifier and Type | Method and 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.
|
public static final java.lang.String CATEGORY
protected static final java.lang.String ATT_NAME
protected java.lang.String elementName
protected java.lang.String name
public AFPExtensionAttachment(java.lang.String elementName)
elementName
- the name of the afp extension attachment, may be nullpublic java.lang.String getElementName()
protected boolean hasName()
public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name to set.public java.lang.String getCategory()
getCategory
in interface ExtensionAttachment
Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.