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:p526781_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p950257_="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 Integerangle<?protected WatermarkImageTypeimageprotected Stringpages<?protected WatermarkTextTypetext
-
Constructor Summary
Constructors Constructor Description WatermarkType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAngle()<?WatermarkImageTypegetImage()Gets the value of the image property.StringgetPages()<?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
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p526781_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p950257_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Specifies on which page(s) the watermark should be created. The page number can be an individual page, a page range, or a list (separated with commas) (e.g., "1,5-6,9"). A blank value or "*" selects all pages of the PDF document.</p>
-
angle
protected Integer angle
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p526781_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p950257_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Specifies the rotation angle for the text or image output of the watermark. Values between 0 and 360 are allowed. Rotation is performed clockwise.</p>
-
-
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()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p526781_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p950257_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Specifies on which page(s) the watermark should be created. The page number can be an individual page, a page range, or a list (separated with commas) (e.g., "1,5-6,9"). A blank value or "*" selects all pages of the PDF document.</p>
- Returns:
- possible object is
String
-
setPages
public void setPages(String value)
Sets the value of the pages property.- Parameters:
value- allowed object isString- See Also:
getPages()
-
isSetPages
public boolean isSetPages()
-
getAngle
public int getAngle()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p526781_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p950257_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Specifies the rotation angle for the text or image output of the watermark. Values between 0 and 360 are allowed. Rotation is performed clockwise.</p>
- Returns:
- possible object is
Integer
-
setAngle
public void setAngle(int value)
Sets the value of the angle property.- Parameters:
value- allowed object isInteger- See Also:
getAngle()
-
isSetAngle
public boolean isSetAngle()
-
unsetAngle
public void unsetAngle()
-
-