public abstract class PSExtensionAttachment extends java.lang.Object implements ExtensionAttachment, org.apache.xmlgraphics.util.XMLizable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CATEGORY
The category URI for this extension attachment.
|
protected java.lang.String |
content
extension node content
|
Constructor and Description |
---|
PSExtensionAttachment()
No-argument contructor.
|
PSExtensionAttachment(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.
|
java.lang.String |
getContent() |
protected abstract java.lang.String |
getElement() |
java.lang.String |
getType() |
void |
setContent(java.lang.String content)
Sets the content for the setup code object.
|
void |
toSAX(org.xml.sax.ContentHandler handler)
Generates SAX events representing the object's state.
|
java.lang.String |
toString() |
protected java.lang.String content
public static final java.lang.String CATEGORY
public PSExtensionAttachment(java.lang.String content)
content
- the content of the setup code objectpublic PSExtensionAttachment()
public java.lang.String getCategory()
ExtensionAttachment
getCategory
in interface ExtensionAttachment
ExtensionAttachment.getCategory()
public java.lang.String getContent()
public void setContent(java.lang.String content)
content
- The content to set.public void toSAX(org.xml.sax.ContentHandler handler) throws org.xml.sax.SAXException
toSAX
in interface org.apache.xmlgraphics.util.XMLizable
handler
- 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)
public java.lang.String getType()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
protected abstract java.lang.String getElement()
Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.