public abstract class AFPExtensionAttachment extends Object implements ExtensionAttachment, Serializable, org.apache.xmlgraphics.util.XMLizable
Modifier and Type | Field and Description |
---|---|
protected static String |
ATT_NAME
name attribute
|
static String |
CATEGORY
The category URI for this extension attachment.
|
protected String |
elementName
the extension element name
|
protected String |
name
the extension name attribute
|
Constructor and Description |
---|
AFPExtensionAttachment(String elementName)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getCategory()
This method returns a category URI that allows a processor (layout manager or renderer)
to determine if it supports this object.
|
String |
getElementName() |
String |
getName() |
protected boolean |
hasName() |
void |
setName(String name)
Sets the name of the setup code object.
|
public static final String CATEGORY
protected static final String ATT_NAME
protected String elementName
protected String name
public AFPExtensionAttachment(String elementName)
elementName
- the name of the afp extension attachment, may be nullpublic String getElementName()
protected boolean hasName()
public String getName()
public void setName(String name)
name
- The name to set.public String getCategory()
getCategory
in interface ExtensionAttachment
Copyright © 2025 Apache Software Foundation. All rights reserved.