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 private static long
serialVersionUID
private int
x
The x coordinateprivate int
y
The y coordinate-
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 int
getX()
returns X coordinateint
getY()
returns Y coordinatevoid
setX(int x)
Sets the X coordinatevoid
setY(int y)
Sets the Y coordinatevoid
toSAX(org.xml.sax.ContentHandler handler)
java.lang.String
toString()
-
Methods inherited from class org.apache.fop.render.afp.extensions.AFPExtensionAttachment
getCategory, getElementName, getName, hasName, setName
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
x
private int x
The x coordinate
-
y
private int y
The y coordinate
-
-
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:
toString
in classjava.lang.Object
-
-