public class PageReadHandler extends AbstractPropertyXmlReadHandler
Modifier and Type | Field and Description |
---|---|
static String |
BOTTOMMARGIN_ATT
Literal text for an XML attribute.
|
static String |
HEIGHT_ATT
Literal text for an XML attribute.
|
static String |
LEFTMARGIN_ATT
Literal text for an XML attribute.
|
static String |
ORIENTATION_ATT
Literal text for an XML attribute.
|
static String |
ORIENTATION_LANDSCAPE_VAL
Literal text for an XML attribute.
|
static String |
ORIENTATION_PORTRAIT_VAL
Literal text for an XML attribute.
|
static String |
ORIENTATION_REVERSE_LANDSCAPE_VAL
Literal text for an XML attribute.
|
static String |
PAGEFORMAT_ATT
Literal text for an XML attribute.
|
static String |
RIGHTMARGIN_ATT
Literal text for an XML attribute.
|
static String |
TOPMARGIN_ATT
Literal text for an XML attribute.
|
static String |
WIDTH_ATT
Literal text for an XML attribute.
|
Constructor and Description |
---|
PageReadHandler() |
Modifier and Type | Method and Description |
---|---|
Object |
getObject()
Returns the object for this element or null, if this element does not create an object.
|
PageFormat |
getPageFormat() |
float |
getX() |
float |
getY() |
protected void |
startParsing(PropertyAttributes attrs)
Starts parsing.
|
getHandlerForChild, getHandlerForChild, startParsing
characters, deriveParseParameters, doneParsing, endElement, getLocator, getRootHandler, getTagName, getUri, init, isSameNamespace, performExternalParsing, performExternalParsing, startElement
public static final String PAGEFORMAT_ATT
public static final String LEFTMARGIN_ATT
public static final String RIGHTMARGIN_ATT
public static final String TOPMARGIN_ATT
public static final String BOTTOMMARGIN_ATT
public static final String WIDTH_ATT
public static final String HEIGHT_ATT
public static final String ORIENTATION_ATT
public static final String ORIENTATION_PORTRAIT_VAL
public static final String ORIENTATION_LANDSCAPE_VAL
public static final String ORIENTATION_REVERSE_LANDSCAPE_VAL
public PageFormat getPageFormat()
public float getY()
public float getX()
protected void startParsing(PropertyAttributes attrs) throws SAXException
startParsing
in class AbstractPropertyXmlReadHandler
attrs
- the attributes.SAXException
- if there is a parsing error.public Object getObject()
Copyright © 2017 Hitachi Vantara. All rights reserved.