public class PSSetupCode extends PSExtensionAttachment
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
ELEMENT
element name
|
protected java.lang.String |
name
name attribute
|
CATEGORY, content| Constructor and Description |
|---|
PSSetupCode()
No-argument contructor.
|
PSSetupCode(java.lang.String name,
java.lang.String content)
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.
|
protected java.lang.String |
getElement() |
java.lang.String |
getName() |
void |
setName(java.lang.String name)
Sets the name of the setup code object.
|
void |
toSAX(org.xml.sax.ContentHandler handler)
Generates SAX events representing the object's state.
|
java.lang.String |
toString() |
getContent, getType, setContentprotected static final java.lang.String ELEMENT
protected java.lang.String name
public PSSetupCode()
public PSSetupCode(java.lang.String name,
java.lang.String content)
name - the name of the setup code object, may be nullcontent - the content of the setup code objectpublic java.lang.String getName()
public void setName(java.lang.String name)
name - The name to set.public java.lang.String getCategory()
getCategory in interface ExtensionAttachmentgetCategory in class PSExtensionAttachmentExtensionAttachment.getCategory()public java.lang.String toString()
toString in class PSExtensionAttachmentObject.toString()protected java.lang.String getElement()
getElement in class PSExtensionAttachmentPSExtensionAttachment.getElement()public void toSAX(org.xml.sax.ContentHandler handler)
throws org.xml.sax.SAXException
toSAX in interface org.apache.xmlgraphics.util.XMLizabletoSAX in class PSExtensionAttachmenthandler - ContentHandler instance to send the SAX events toorg.xml.sax.SAXException - if there's a problem generating the SAX eventsXMLizable.toSAX(org.xml.sax.ContentHandler)Copyright 1999-2022 The Apache Software Foundation. All Rights Reserved.