Class PrintType
- java.lang.Object
-
- net.webpdf.wsclient.schema.operation.BaseToolboxType
-
- net.webpdf.wsclient.schema.operation.PrintType
-
- All Implemented Interfaces:
ParameterInterface
public class PrintType extends BaseToolboxType
<?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">The print operation element can be used to print documents.</p>
Java class for PrintType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PrintType"> <complexContent> <extension base="{http://schema.webpdf.de/1.0/operation}BaseToolboxType"> <attribute name="printerName" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> <attribute name="pages" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> <attribute name="jobName" type="{http://www.w3.org/2001/XMLSchema}string" default="webPDF Print Job" /> <attribute name="copies" default="1"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}int"> <minInclusive value="1"/> </restriction> </simpleType> </attribute> <attribute name="autoRotate" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> <attribute name="shrinkToMargins" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="expandToMargins" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="centerInPage" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="dpi" type="{http://www.w3.org/2001/XMLSchema}int" default="0" /> <attribute name="mode" type="{http://schema.webpdf.de/1.0/operation}PrintModeType" default="default" /> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected BooleanautoRotateprotected BooleancenterInPageprotected Integercopiesprotected Integerdpiprotected BooleanexpandToMarginsprotected StringjobNameprotected PrintModeTypemodeprotected Stringpagesprotected StringprinterNameprotected BooleanshrinkToMargins
-
Constructor Summary
Constructors Constructor Description PrintType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCopies()Gets the value of the copies property.intgetDpi()Gets the value of the dpi property.StringgetJobName()Gets the value of the jobName property.PrintModeTypegetMode()Gets the value of the mode property.StringgetPages()Gets the value of the pages property.StringgetPrinterName()Gets the value of the printerName property.booleanisAutoRotate()Gets the value of the autoRotate property.booleanisCenterInPage()Gets the value of the centerInPage property.booleanisExpandToMargins()Gets the value of the expandToMargins property.booleanisSetAutoRotate()booleanisSetCenterInPage()booleanisSetCopies()booleanisSetDpi()booleanisSetExpandToMargins()booleanisSetJobName()booleanisSetMode()booleanisSetPages()booleanisSetPrinterName()booleanisSetShrinkToMargins()booleanisShrinkToMargins()Gets the value of the shrinkToMargins property.voidsetAutoRotate(boolean value)Sets the value of the autoRotate property.voidsetCenterInPage(boolean value)Sets the value of the centerInPage property.voidsetCopies(int value)Sets the value of the copies property.voidsetDpi(int value)Sets the value of the dpi property.voidsetExpandToMargins(boolean value)Sets the value of the expandToMargins property.voidsetJobName(String value)Sets the value of the jobName property.voidsetMode(PrintModeType value)Sets the value of the mode property.voidsetPages(String value)Sets the value of the pages property.voidsetPrinterName(String value)Sets the value of the printerName property.voidsetShrinkToMargins(boolean value)Sets the value of the shrinkToMargins property.voidunsetAutoRotate()voidunsetCenterInPage()voidunsetCopies()voidunsetDpi()voidunsetExpandToMargins()voidunsetShrinkToMargins()
-
-
-
Field Detail
-
printerName
protected String printerName
-
pages
protected String pages
-
jobName
protected String jobName
-
copies
protected Integer copies
-
autoRotate
protected Boolean autoRotate
-
shrinkToMargins
protected Boolean shrinkToMargins
-
expandToMargins
protected Boolean expandToMargins
-
centerInPage
protected Boolean centerInPage
-
dpi
protected Integer dpi
-
mode
protected PrintModeType mode
-
-
Method Detail
-
getPrinterName
public String getPrinterName()
Gets the value of the printerName property.- Returns:
- possible object is
String
-
setPrinterName
public void setPrinterName(String value)
Sets the value of the printerName property.- Parameters:
value- allowed object isString
-
isSetPrinterName
public boolean isSetPrinterName()
-
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()
-
getJobName
public String getJobName()
Gets the value of the jobName property.- Returns:
- possible object is
String
-
setJobName
public void setJobName(String value)
Sets the value of the jobName property.- Parameters:
value- allowed object isString
-
isSetJobName
public boolean isSetJobName()
-
getCopies
public int getCopies()
Gets the value of the copies property.- Returns:
- possible object is
Integer
-
setCopies
public void setCopies(int value)
Sets the value of the copies property.- Parameters:
value- allowed object isInteger
-
isSetCopies
public boolean isSetCopies()
-
unsetCopies
public void unsetCopies()
-
isAutoRotate
public boolean isAutoRotate()
Gets the value of the autoRotate property.- Returns:
- possible object is
Boolean
-
setAutoRotate
public void setAutoRotate(boolean value)
Sets the value of the autoRotate property.- Parameters:
value- allowed object isBoolean
-
isSetAutoRotate
public boolean isSetAutoRotate()
-
unsetAutoRotate
public void unsetAutoRotate()
-
isShrinkToMargins
public boolean isShrinkToMargins()
Gets the value of the shrinkToMargins property.- Returns:
- possible object is
Boolean
-
setShrinkToMargins
public void setShrinkToMargins(boolean value)
Sets the value of the shrinkToMargins property.- Parameters:
value- allowed object isBoolean
-
isSetShrinkToMargins
public boolean isSetShrinkToMargins()
-
unsetShrinkToMargins
public void unsetShrinkToMargins()
-
isExpandToMargins
public boolean isExpandToMargins()
Gets the value of the expandToMargins property.- Returns:
- possible object is
Boolean
-
setExpandToMargins
public void setExpandToMargins(boolean value)
Sets the value of the expandToMargins property.- Parameters:
value- allowed object isBoolean
-
isSetExpandToMargins
public boolean isSetExpandToMargins()
-
unsetExpandToMargins
public void unsetExpandToMargins()
-
isCenterInPage
public boolean isCenterInPage()
Gets the value of the centerInPage property.- Returns:
- possible object is
Boolean
-
setCenterInPage
public void setCenterInPage(boolean value)
Sets the value of the centerInPage property.- Parameters:
value- allowed object isBoolean
-
isSetCenterInPage
public boolean isSetCenterInPage()
-
unsetCenterInPage
public void unsetCenterInPage()
-
getDpi
public int getDpi()
Gets the value of the dpi property.- Returns:
- possible object is
Integer
-
setDpi
public void setDpi(int value)
Sets the value of the dpi property.- Parameters:
value- allowed object isInteger
-
isSetDpi
public boolean isSetDpi()
-
unsetDpi
public void unsetDpi()
-
getMode
public PrintModeType getMode()
Gets the value of the mode property.- Returns:
- possible object is
PrintModeType
-
setMode
public void setMode(PrintModeType value)
Sets the value of the mode property.- Parameters:
value- allowed object isPrintModeType
-
isSetMode
public boolean isSetMode()
-
-