public static class AFPPageSegmentElement.AFPPageSegmentSetup extends AFPPageSetup
ATT_ENCODING, ATT_PLACEMENT, ATT_VALUE, content, encoding, placement, value
ATT_NAME, CATEGORY, elementName, name
Constructor and Description |
---|
AFPPageSegmentSetup(java.lang.String elementName)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getResourceSrc()
Returns the source URI for the page segment.
|
void |
setResourceSrc(java.lang.String resourceSrc)
Sets the source URI for the page segment.
|
void |
toSAX(org.xml.sax.ContentHandler handler) |
java.lang.String |
toString() |
getContent, getEncoding, getPlacement, getValue, setContent, setEncoding, setPlacement, setValue
getCategory, getElementName, getName, hasName, setName
public AFPPageSegmentSetup(java.lang.String elementName)
elementName
- the name of the setup code object, may be nullpublic java.lang.String getResourceSrc()
public void setResourceSrc(java.lang.String resourceSrc)
resourceSrc
- the source URIpublic void toSAX(org.xml.sax.ContentHandler handler) throws org.xml.sax.SAXException
toSAX
in interface org.apache.xmlgraphics.util.XMLizable
toSAX
in class AFPPageSetup
org.xml.sax.SAXException
public java.lang.String toString()
toString
in class AFPPageSetup
Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.