Class BaseBarcodeType
- java.lang.Object
-
- net.webpdf.wsclient.schema.operation.BaseBarcodeType
-
- Direct Known Subclasses:
AztecBarcodeType,CodabarBarcodeType,Code128BarcodeType,Code39BarcodeType,DataMatrixBarcodeType,Ean13BarcodeType,Ean8BarcodeType,ItfBarcodeType,Pdf417BarcodeType,QrBarcodeType,UpcaBarcodeType
public class BaseBarcodeType extends Object
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p111850_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p568541_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:p98130_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">All barcode elements have a number of basic attributes in common. These attributes are described via this base type.</p>
Java class for BaseBarcodeType complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="BaseBarcodeType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <all> <element name="position" type="{http://schema.webpdf.de/1.0/operation}RectangleType" minOccurs="0"/> </all> <attribute name="charset" type="{http://www.w3.org/2001/XMLSchema}string" default="utf-8" /> <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="rotation" default="0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}int"> <minInclusive value="0"/> <maxExclusive value="360"/> </restriction> </simpleType> </attribute> <attribute name="margin" default="0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}int"> <minInclusive value="0"/> </restriction> </simpleType> </attribute> <attribute name="pages" default=""> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> </restriction> </simpleType> </attribute> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description BaseBarcodeType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCharset()<?intgetMargin()<?StringgetPages()<?RectangleTypegetPosition()Gets the value of the position property.intgetRotation()<?StringgetValue()<?booleanisSetCharset()booleanisSetMargin()booleanisSetPages()booleanisSetPosition()booleanisSetRotation()booleanisSetValue()voidsetCharset(String value)Sets the value of the charset property.voidsetMargin(int value)Sets the value of the margin property.voidsetPages(String value)Sets the value of the pages property.voidsetPosition(RectangleType value)Sets the value of the position property.voidsetRotation(int value)Sets the value of the rotation property.voidsetValue(String value)Sets the value of the value property.voidunsetMargin()voidunsetRotation()
-
-
-
Field Detail
-
position
protected RectangleType position
-
charset
protected String charset
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p111850_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p568541_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:p98130_="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 specify the character set in which the barcode contents should be stored.</p>
-
value
protected String value
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p111850_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p568541_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:p98130_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Contains the value that should be encoded in the barcode. Depending on the selected barcode format, there may be specific criteria for the data structure. For a description, please refer to the chapter "Barcodes"</p>
-
rotation
protected Integer rotation
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p111850_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p568541_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:p98130_="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 specify the barcode's rotation in 90-degree increments. When there is a value that falls under a full 90-degree increment, the next higher increment will be automatically selected.</p>
-
margin
protected Integer margin
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p111850_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p568541_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:p98130_="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 specify the width of the empty frame that should be generated around the barcode. This shall use the same metrics as the position - if no position is present, the default (mm) shall be assumed.</p>
-
pages
protected String pages
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p111850_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p568541_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:p98130_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">The page range for generating barcodes. Individual pages or a range of pages can be defined here. If the text is empty, the entire file will be exported (e.g.: "1-10" or "1,2,5-10")</p>
-
-
Method Detail
-
getPosition
public RectangleType getPosition()
Gets the value of the position property.- Returns:
- possible object is
RectangleType
-
setPosition
public void setPosition(RectangleType value)
Sets the value of the position property.- Parameters:
value- allowed object isRectangleType
-
isSetPosition
public boolean isSetPosition()
-
getCharset
public String getCharset()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p111850_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p568541_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:p98130_="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 specify the character set in which the barcode contents should be stored.</p>
- Returns:
- possible object is
String
-
setCharset
public void setCharset(String value)
Sets the value of the charset property.- Parameters:
value- allowed object isString- See Also:
getCharset()
-
isSetCharset
public boolean isSetCharset()
-
getValue
public String getValue()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p111850_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p568541_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:p98130_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Contains the value that should be encoded in the barcode. Depending on the selected barcode format, there may be specific criteria for the data structure. For a description, please refer to the chapter "Barcodes"</p>
- Returns:
- possible object is
String
-
setValue
public void setValue(String value)
Sets the value of the value property.- Parameters:
value- allowed object isString- See Also:
getValue()
-
isSetValue
public boolean isSetValue()
-
getRotation
public int getRotation()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p111850_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p568541_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:p98130_="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 specify the barcode's rotation in 90-degree increments. When there is a value that falls under a full 90-degree increment, the next higher increment will be automatically selected.</p>
- Returns:
- possible object is
Integer
-
setRotation
public void setRotation(int value)
Sets the value of the rotation property.- Parameters:
value- allowed object isInteger- See Also:
getRotation()
-
isSetRotation
public boolean isSetRotation()
-
unsetRotation
public void unsetRotation()
-
getMargin
public int getMargin()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p111850_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p568541_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:p98130_="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 specify the width of the empty frame that should be generated around the barcode. This shall use the same metrics as the position - if no position is present, the default (mm) shall be assumed.</p>
- Returns:
- possible object is
Integer
-
setMargin
public void setMargin(int value)
Sets the value of the margin property.- Parameters:
value- allowed object isInteger- See Also:
getMargin()
-
isSetMargin
public boolean isSetMargin()
-
unsetMargin
public void unsetMargin()
-
getPages
public String getPages()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p111850_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p568541_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:p98130_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">The page range for generating barcodes. Individual pages or a range of pages can be defined here. If the text is empty, the entire file will be exported (e.g.: "1-10" or "1,2,5-10")</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()
-
-