Class WatermarkPositionType
- java.lang.Object
-
- net.webpdf.wsclient.schema.operation.WatermarkPositionType
-
public class WatermarkPositionType extends Object
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p618970_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:p733942_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to set the position of the watermark in the PDF document.</p>
Java class for WatermarkPositionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="WatermarkPositionType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="x" default="0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}int"> <minInclusive value="0"/> </restriction> </simpleType> </attribute> <attribute name="y" default="0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}int"> <minInclusive value="0"/> </restriction> </simpleType> </attribute> <attribute name="width" default="0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}int"> <minInclusive value="0"/> </restriction> </simpleType> </attribute> <attribute name="height" default="0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}int"> <minInclusive value="0"/> </restriction> </simpleType> </attribute> <attribute name="position" type="{http://schema.webpdf.de/1.0/operation}WatermarkPositionModeType" default="center_center" /> <attribute name="aspectRatio" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> <attribute name="metrics" type="{http://schema.webpdf.de/1.0/operation}MetricsType" default="mm" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected BooleanaspectRatioprotected Integerheightprotected MetricsTypemetricsprotected WatermarkPositionModeTypepositionprotected Integerwidthprotected Integerxprotected Integery
-
Constructor Summary
Constructors Constructor Description WatermarkPositionType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetHeight()Gets the value of the height property.MetricsTypegetMetrics()Gets the value of the metrics property.WatermarkPositionModeTypegetPosition()Gets the value of the position property.intgetWidth()Gets the value of the width property.intgetX()Gets the value of the x property.intgetY()Gets the value of the y property.booleanisAspectRatio()Gets the value of the aspectRatio property.booleanisSetAspectRatio()booleanisSetHeight()booleanisSetMetrics()booleanisSetPosition()booleanisSetWidth()booleanisSetX()booleanisSetY()voidsetAspectRatio(boolean value)Sets the value of the aspectRatio property.voidsetHeight(int value)Sets the value of the height property.voidsetMetrics(MetricsType value)Sets the value of the metrics property.voidsetPosition(WatermarkPositionModeType value)Sets the value of the position property.voidsetWidth(int value)Sets the value of the width property.voidsetX(int value)Sets the value of the x property.voidsetY(int value)Sets the value of the y property.voidunsetAspectRatio()voidunsetHeight()voidunsetWidth()voidunsetX()voidunsetY()
-
-
-
Field Detail
-
x
protected Integer x
-
y
protected Integer y
-
width
protected Integer width
-
height
protected Integer height
-
position
protected WatermarkPositionModeType position
-
aspectRatio
protected Boolean aspectRatio
-
metrics
protected MetricsType metrics
-
-
Method Detail
-
getX
public int getX()
Gets the value of the x property.- Returns:
- possible object is
Integer
-
setX
public void setX(int value)
Sets the value of the x property.- Parameters:
value- allowed object isInteger
-
isSetX
public boolean isSetX()
-
unsetX
public void unsetX()
-
getY
public int getY()
Gets the value of the y property.- Returns:
- possible object is
Integer
-
setY
public void setY(int value)
Sets the value of the y property.- Parameters:
value- allowed object isInteger
-
isSetY
public boolean isSetY()
-
unsetY
public void unsetY()
-
getWidth
public int getWidth()
Gets the value of the width property.- Returns:
- possible object is
Integer
-
setWidth
public void setWidth(int value)
Sets the value of the width property.- Parameters:
value- allowed object isInteger
-
isSetWidth
public boolean isSetWidth()
-
unsetWidth
public void unsetWidth()
-
getHeight
public int getHeight()
Gets the value of the height property.- Returns:
- possible object is
Integer
-
setHeight
public void setHeight(int value)
Sets the value of the height property.- Parameters:
value- allowed object isInteger
-
isSetHeight
public boolean isSetHeight()
-
unsetHeight
public void unsetHeight()
-
getPosition
public WatermarkPositionModeType getPosition()
Gets the value of the position property.- Returns:
- possible object is
WatermarkPositionModeType
-
setPosition
public void setPosition(WatermarkPositionModeType value)
Sets the value of the position property.- Parameters:
value- allowed object isWatermarkPositionModeType
-
isSetPosition
public boolean isSetPosition()
-
isAspectRatio
public boolean isAspectRatio()
Gets the value of the aspectRatio property.- Returns:
- possible object is
Boolean
-
setAspectRatio
public void setAspectRatio(boolean value)
Sets the value of the aspectRatio property.- Parameters:
value- allowed object isBoolean
-
isSetAspectRatio
public boolean isSetAspectRatio()
-
unsetAspectRatio
public void unsetAspectRatio()
-
getMetrics
public MetricsType getMetrics()
Gets the value of the metrics property.- Returns:
- possible object is
MetricsType
-
setMetrics
public void setMetrics(MetricsType value)
Sets the value of the metrics property.- Parameters:
value- allowed object isMetricsType
-
isSetMetrics
public boolean isSetMetrics()
-
-