public abstract class PSExtensionAttachment extends Object implements ExtensionAttachment, org.apache.xmlgraphics.util.XMLizable
Modifier and Type | Field and Description |
---|---|
static String |
CATEGORY
The category URI for this extension attachment.
|
protected String |
content
extension node content
|
Constructor and Description |
---|
PSExtensionAttachment()
No-argument contructor.
|
PSExtensionAttachment(String content)
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 |
getContent() |
protected abstract String |
getElement() |
String |
getType() |
void |
setContent(String content)
Sets the content for the setup code object.
|
void |
toSAX(ContentHandler handler)
Generates SAX events representing the object's state.
|
String |
toString() |
protected String content
public static final String CATEGORY
public PSExtensionAttachment(String content)
content
- the content of the setup code objectpublic PSExtensionAttachment()
public String getCategory()
ExtensionAttachment
getCategory
in interface ExtensionAttachment
ExtensionAttachment.getCategory()
public String getContent()
public void setContent(String content)
content
- The content to set.public void toSAX(ContentHandler handler) throws SAXException
toSAX
in interface org.apache.xmlgraphics.util.XMLizable
handler
- ContentHandler instance to send the SAX events toSAXException
- if there's a problem generating the SAX eventsXMLizable.toSAX(org.xml.sax.ContentHandler)
public String getType()
public String toString()
toString
in class Object
Object.toString()
protected abstract String getElement()
Copyright © 2025 Apache Software Foundation. All rights reserved.