Class 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>
     
    • Constructor Detail

      • WatermarkType

        public WatermarkType()
    • Method Detail

      • isSetText

        public boolean isSetText()
      • 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 is String
      • 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 is Integer
      • isSetAngle

        public boolean isSetAngle()
      • unsetAngle

        public void unsetAngle()