Class WatermarkType
- java.lang.Object
-
- net.webpdf.wsclient.schema.operation.BaseToolboxType
-
- net.webpdf.wsclient.schema.operation.WatermarkType
-
- All Implemented Interfaces:
ParameterInterface
public class WatermarkType extends BaseToolboxType
<?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">The watermark operation element can be used to add watermarks to the PDF document.</p>
Java class for WatermarkType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="WatermarkType"> <complexContent> <extension base="{http://schema.webpdf.de/1.0/operation}BaseToolboxType"> <choice> <element name="text" type="{http://schema.webpdf.de/1.0/operation}WatermarkTextType" minOccurs="0"/> <element name="image" type="{http://schema.webpdf.de/1.0/operation}WatermarkImageType" minOccurs="0"/> </choice> <attribute name="pages" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> <attribute name="angle" default="45"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}int"> <minInclusive value="0"/> <maxInclusive value="360"/> </restriction> </simpleType> </attribute> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected Integerangleprotected WatermarkImageTypeimageprotected Stringpagesprotected WatermarkTextTypetext
-
Constructor Summary
Constructors Constructor Description WatermarkType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAngle()Gets the value of the angle property.WatermarkImageTypegetImage()Gets the value of the image property.StringgetPages()Gets the value of the pages property.WatermarkTextTypegetText()Gets the value of the text property.booleanisSetAngle()booleanisSetImage()booleanisSetPages()booleanisSetText()voidsetAngle(int value)Sets the value of the angle property.voidsetImage(WatermarkImageType value)Sets the value of the image property.voidsetPages(String value)Sets the value of the pages property.voidsetText(WatermarkTextType value)Sets the value of the text property.voidunsetAngle()
-
-
-
Field Detail
-
text
protected WatermarkTextType text
-
image
protected WatermarkImageType image
-
pages
protected String pages
-
angle
protected Integer angle
-
-
Method Detail
-
getText
public WatermarkTextType getText()
Gets the value of the text property.- Returns:
- possible object is
WatermarkTextType
-
setText
public void setText(WatermarkTextType value)
Sets the value of the text property.- Parameters:
value- allowed object isWatermarkTextType
-
isSetText
public boolean isSetText()
-
getImage
public WatermarkImageType getImage()
Gets the value of the image property.- Returns:
- possible object is
WatermarkImageType
-
setImage
public void setImage(WatermarkImageType value)
Sets the value of the image property.- Parameters:
value- allowed object isWatermarkImageType
-
isSetImage
public boolean isSetImage()
-
getPages
public String getPages()
Gets the value of the pages property.- Returns:
- possible object is
String
-
setPages
public void setPages(String value)
Sets the value of the pages property.- Parameters:
value- allowed object isString
-
isSetPages
public boolean isSetPages()
-
getAngle
public int getAngle()
Gets the value of the angle property.- Returns:
- possible object is
Integer
-
setAngle
public void setAngle(int value)
Sets the value of the angle property.- Parameters:
value- allowed object isInteger
-
isSetAngle
public boolean isSetAngle()
-
unsetAngle
public void unsetAngle()
-
-