public class PSSetPageDevice extends PSExtensionAttachment
Modifier and Type | Field and Description |
---|---|
protected static String |
ELEMENT
element name
|
protected String |
name
name attribute
|
CATEGORY, content
Constructor and Description |
---|
PSSetPageDevice()
constructor
|
PSSetPageDevice(String content)
default constructor
|
PSSetPageDevice(String name,
String content)
constructor
|
Modifier and Type | Method and Description |
---|---|
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() |
getCategory, getContent, getType, setContent
protected static final String ELEMENT
protected String name
public PSSetPageDevice(String content)
content
- set page device dictionarypublic PSSetPageDevice(String name, String content)
name
- name attribute of this setpagedevice contentcontent
- set page device dictionarypublic PSSetPageDevice()
public String getName()
public void setName(String name)
name
- The name to set.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.