Class ImageType
- java.lang.Object
-
- net.webpdf.parameter.schema.extraction.info.ImageType
-
public class ImageType 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">Defines an image resource of a PDF document.</p>
Java class for ImageType complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="ImageType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="objectKey" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}int" default="0" /> <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}int" default="0" /> <attribute name="suffix" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> <attribute name="page" default="0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}int"> <minInclusive value="0"/> </restriction> </simpleType> </attribute> <attribute name="bitsPerComponent" 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 ImageType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetBitsPerComponent()<?intgetHeight()<?StringgetObjectKey()<?intgetPage()<?StringgetSuffix()<?intgetWidth()<?voidsetBitsPerComponent(Integer value)Sets the value of the bitsPerComponent property.voidsetHeight(Integer value)Sets the value of the height property.voidsetObjectKey(String value)Sets the value of the objectKey property.voidsetPage(Integer value)Sets the value of the page property.voidsetSuffix(String value)Sets the value of the suffix property.voidsetWidth(Integer 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 image resource definition. <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>
-
width
protected Integer 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 the image in points.</p>
-
height
protected Integer 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 the image in points.</p>
-
suffix
protected String suffix
<?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">Returns the file type suffix of the image. (This suffix depends on the used image encoding and therefore is highly reliable.)</p>
-
page
protected Integer page
<?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 number of the page containing the image resource.</p>
-
bitsPerComponent
protected Integer bitsPerComponent
<?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 number of bits used to encode one color component.</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 image resource definition. <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()
-
getWidth
public int 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 the image in points.</p>
- Returns:
- possible object is
Integer
-
setWidth
public void setWidth(Integer value)
Sets the value of the width property.- Parameters:
value- allowed object isInteger- See Also:
getWidth()
-
getHeight
public int 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 the image in points.</p>
- Returns:
- possible object is
Integer
-
setHeight
public void setHeight(Integer value)
Sets the value of the height property.- Parameters:
value- allowed object isInteger- See Also:
getHeight()
-
getSuffix
public String getSuffix()
<?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">Returns the file type suffix of the image. (This suffix depends on the used image encoding and therefore is highly reliable.)</p>
- Returns:
- possible object is
String
-
setSuffix
public void setSuffix(String value)
Sets the value of the suffix property.- Parameters:
value- allowed object isString- See Also:
getSuffix()
-
getPage
public int getPage()
<?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 number of the page containing the image resource.</p>
- Returns:
- possible object is
Integer
-
setPage
public void setPage(Integer value)
Sets the value of the page property.
-
getBitsPerComponent
public int getBitsPerComponent()
<?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 number of bits used to encode one color component.</p>
- Returns:
- possible object is
Integer
-
setBitsPerComponent
public void setBitsPerComponent(Integer value)
Sets the value of the bitsPerComponent property.- Parameters:
value- allowed object isInteger- See Also:
getBitsPerComponent()
-
-