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, setContentprotected 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 ExtensionAttachmentgetCategory in class PSExtensionAttachmentExtensionAttachment.getCategory()public String toString()
toString in class PSExtensionAttachmentObject.toString()protected String getElement()
getElement in class PSExtensionAttachmentPSExtensionAttachment.getElement()public void toSAX(ContentHandler handler) throws SAXException
toSAX in interface org.apache.xmlgraphics.util.XMLizabletoSAX in class PSExtensionAttachmenthandler - ContentHandler instance to send the SAX events toSAXException - if there's a problem generating the SAX eventsXMLizable.toSAX(org.xml.sax.ContentHandler)Copyright © 2023 Apache Software Foundation. All rights reserved.