Class AFPPageOverlay
- java.lang.Object
-
- org.apache.fop.render.afp.extensions.AFPExtensionAttachment
-
- org.apache.fop.render.afp.extensions.AFPPageOverlay
-
- All Implemented Interfaces:
java.io.Serializable,ExtensionAttachment,org.apache.xmlgraphics.util.XMLizable
public class AFPPageOverlay extends AFPExtensionAttachment
This extension allows to include an AFP Page Overlay resource. It is implemented as an extension attachment (ExtensionAttachment).- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringATT_XX coordinate attributeprotected static java.lang.StringATT_YX coordinate attribute-
Fields inherited from class org.apache.fop.render.afp.extensions.AFPExtensionAttachment
ATT_NAME, CATEGORY, elementName, name
-
-
Constructor Summary
Constructors Constructor Description AFPPageOverlay()Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetX()returns X coordinateintgetY()returns Y coordinatevoidsetX(int x)Sets the X coordinatevoidsetY(int y)Sets the Y coordinatevoidtoSAX(org.xml.sax.ContentHandler handler)java.lang.StringtoString()-
Methods inherited from class org.apache.fop.render.afp.extensions.AFPExtensionAttachment
getCategory, getElementName, getName, hasName, setName
-
-
-
-
Field Detail
-
ATT_X
protected static final java.lang.String ATT_X
X coordinate attribute- See Also:
- Constant Field Values
-
ATT_Y
protected static final java.lang.String ATT_Y
X coordinate attribute- See Also:
- Constant Field Values
-
-
Method Detail
-
getX
public int getX()
returns X coordinate- Returns:
- x integer
-
setX
public void setX(int x)
Sets the X coordinate- Parameters:
x- The integer to be set.
-
getY
public int getY()
returns Y coordinate- Returns:
- y integer
-
setY
public void setY(int y)
Sets the Y coordinate- Parameters:
y- The integer to be set.
-
toSAX
public void toSAX(org.xml.sax.ContentHandler handler) throws org.xml.sax.SAXException- Throws:
org.xml.sax.SAXException
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-