ExtensionAttachment, org.apache.xmlgraphics.util.XMLizablepublic class PSSetupCode extends PSExtensionAttachment
| Modifier and Type | Field | Description |
|---|---|---|
protected static java.lang.String |
ELEMENT |
element name
|
protected java.lang.String |
name |
name attribute
|
CATEGORY, content| Constructor | Description |
|---|---|
PSSetupCode() |
No-argument contructor.
|
PSSetupCode(java.lang.String name,
java.lang.String content) |
Default constructor.
|
| Modifier and Type | Method | 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() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContent, 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-2016 The Apache Software Foundation. All Rights Reserved.