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