Class PageType
- java.lang.Object
-
- net.webpdf.parameter.schema.extraction.info.PageType
-
- Direct Known Subclasses:
DocumentType.Pages.Page
public class PageType extends Object
<?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">This type is used to describe a page of a PDF document.</p>
Java class for PageType complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="PageType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="objectKey" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> <attribute name="number" default="0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}int"> <minInclusive value="0"/> </restriction> </simpleType> </attribute> <attribute name="label" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> <attribute name="width" default="0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}float"> <minInclusive value="0"/> </restriction> </simpleType> </attribute> <attribute name="height" default="0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}float"> <minInclusive value="0"/> </restriction> </simpleType> </attribute> <attribute name="rotation" default="0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}int"> <minInclusive value="0"/> </restriction> </simpleType> </attribute> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description PageType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatgetHeight()<?StringgetLabel()<?intgetNumber()<?StringgetObjectKey()<?intgetRotation()<?floatgetWidth()<?voidsetHeight(Float value)Sets the value of the height property.voidsetLabel(String value)Sets the value of the label property.voidsetNumber(Integer value)Sets the value of the number property.voidsetObjectKey(String value)Sets the value of the objectKey property.voidsetRotation(Integer value)Sets the value of the rotation property.voidsetWidth(Float value)Sets the value of the width property.
-
-
-
Field Detail
-
objectKey
protected String objectKey
<?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">The object ID of the page. <b>Info:</b> A PDF object ID consists of two numbers, where the first number selects the object's number and the second the "generation" of the object. The object ID shall always be unique within the context of the document and can be used to select a specific object. </p>
-
number
protected Integer number
<?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">The page number of this page.</p>
-
label
protected String label
<?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">The page label of this page.</p>
-
width
protected Float width
<?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">The width of this page in points.</p>
-
height
protected Float height
<?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">The height of this page in points.</p>
-
rotation
protected Integer rotation
<?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">The rotation of this page in degrees.</p>
-
-
Method Detail
-
getObjectKey
public String getObjectKey()
<?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">The object ID of the page. <b>Info:</b> A PDF object ID consists of two numbers, where the first number selects the object's number and the second the "generation" of the object. The object ID shall always be unique within the context of the document and can be used to select a specific object. </p>- Returns:
- possible object is
String
-
setObjectKey
public void setObjectKey(String value)
Sets the value of the objectKey property.- Parameters:
value- allowed object isString- See Also:
getObjectKey()
-
getNumber
public int getNumber()
<?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">The page number of this page.</p>
- Returns:
- possible object is
Integer
-
setNumber
public void setNumber(Integer value)
Sets the value of the number property.- Parameters:
value- allowed object isInteger- See Also:
getNumber()
-
getLabel
public String getLabel()
<?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">The page label of this page.</p>
- Returns:
- possible object is
String
-
setLabel
public void setLabel(String value)
Sets the value of the label property.- Parameters:
value- allowed object isString- See Also:
getLabel()
-
getWidth
public float getWidth()
<?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">The width of this page in points.</p>
- Returns:
- possible object is
Float
-
setWidth
public void setWidth(Float value)
Sets the value of the width property.- Parameters:
value- allowed object isFloat- See Also:
getWidth()
-
getHeight
public float getHeight()
<?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">The height of this page in points.</p>
- Returns:
- possible object is
Float
-
setHeight
public void setHeight(Float value)
Sets the value of the height property.- Parameters:
value- allowed object isFloat- See Also:
getHeight()
-
getRotation
public int getRotation()
<?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">The rotation of this page in degrees.</p>
- Returns:
- possible object is
Integer
-
setRotation
public void setRotation(Integer value)
Sets the value of the rotation property.- Parameters:
value- allowed object isInteger- See Also:
getRotation()
-
-