MailmarkCodetext

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.barcode.complexbarcode.IComplexCodetext

public final class MailmarkCodetext implements IComplexCodetext

Class for encoding and decoding the text embedded in the 4-state Royal Mailmark code.

Constructors

ConstructorDescription
MailmarkCodetext()Initializes a new instance of the MailmarkCodetext class.

Methods

MethodDescription
equals(Object arg0)
getBarcodeType()Gets barcode type.
getClass()
getClass_()“0” - Null or Test “1” - 1C (Retail) “2” - 2C (Retail) “3” - 3C (Retail) “4” - Premium (RetailPublishing Mail) (for potential future use) “5” - Deferred (Retail) “6” - Air (Retail) (for potential future use) “7” - Surface (Retail) (for potential future use) “8” - Premium (Network Access) “9” - Standard (Network Access)
getConstructedCodetext()Construct codetext from Mailmark data.
getDestinationPostCodePlusDPS()The PC and DP must comply with a PAF format.
getFormat()“0” \u2013 Null or Test “1” \u2013 Letter “2” \u2013 Large Letter
getItemID()Maximum value is 99999999.
getSupplychainID()Maximum values are 99 for Barcode C and 999999 for Barcode L.
getVersionID()Currently “1” \u2013 For Mailmark barcode (0 and 2 to 9 and A to Z spare for future use)
hashCode()
initFromString(String constructedCodetext)Initializes Mailmark data from constructed codetext.
notify()
notifyAll()
setClass(String value)“0” - Null or Test “1” - 1C (Retail) “2” - 2C (Retail) “3” - 3C (Retail) “4” - Premium (RetailPublishing Mail) (for potential future use) “5” - Deferred (Retail) “6” - Air (Retail) (for potential future use) “7” - Surface (Retail) (for potential future use) “8” - Premium (Network Access) “9” - Standard (Network Access)
setDestinationPostCodePlusDPS(String value)The PC and DP must comply with a PAF format.
setFormat(int value)“0” \u2013 Null or Test “1” \u2013 Letter “2” \u2013 Large Letter
setItemID(int value)Maximum value is 99999999.
setSupplychainID(int value)Maximum values are 99 for Barcode C and 999999 for Barcode L.
setVersionID(int value)Currently “1” \u2013 For Mailmark barcode (0 and 2 to 9 and A to Z spare for future use)
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

MailmarkCodetext()

public MailmarkCodetext()

Initializes a new instance of the MailmarkCodetext class.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getBarcodeType()

public BaseEncodeType getBarcodeType()

Gets barcode type.

Returns: BaseEncodeType - Barcode type.

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getClass_()

public String getClass_()

“0” - Null or Test “1” - 1C (Retail) “2” - 2C (Retail) “3” - 3C (Retail) “4” - Premium (RetailPublishing Mail) (for potential future use) “5” - Deferred (Retail) “6” - Air (Retail) (for potential future use) “7” - Surface (Retail) (for potential future use) “8” - Premium (Network Access) “9” - Standard (Network Access)

Returns: java.lang.String

getConstructedCodetext()

public String getConstructedCodetext()

Construct codetext from Mailmark data.

Returns: java.lang.String - Constructed codetext

getDestinationPostCodePlusDPS()

public String getDestinationPostCodePlusDPS()

The PC and DP must comply with a PAF format. Nine character string denoting international “XY11 " (note the 5 trailing spaces) or a pattern of characters denoting a domestic sorting code. A domestic sorting code consists of an outward postcode, an inward postcode, and a Delivery Point Suffix.

Returns: java.lang.String

getFormat()

public int getFormat()

“0” \u2013 Null or Test “1” \u2013 Letter “2” \u2013 Large Letter

Returns: int

getItemID()

public int getItemID()

Maximum value is 99999999.

Returns: int

getSupplychainID()

public int getSupplychainID()

Maximum values are 99 for Barcode C and 999999 for Barcode L.

Returns: int

getVersionID()

public int getVersionID()

Currently “1” \u2013 For Mailmark barcode (0 and 2 to 9 and A to Z spare for future use)

Returns: int

hashCode()

public native int hashCode()

Returns: int

initFromString(String constructedCodetext)

public void initFromString(String constructedCodetext)

Initializes Mailmark data from constructed codetext.

Parameters:

ParameterTypeDescription
constructedCodetextjava.lang.StringConstructed codetext.

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setClass(String value)

public void setClass(String value)

“0” - Null or Test “1” - 1C (Retail) “2” - 2C (Retail) “3” - 3C (Retail) “4” - Premium (RetailPublishing Mail) (for potential future use) “5” - Deferred (Retail) “6” - Air (Retail) (for potential future use) “7” - Surface (Retail) (for potential future use) “8” - Premium (Network Access) “9” - Standard (Network Access)

Parameters:

ParameterTypeDescription
valuejava.lang.String

setDestinationPostCodePlusDPS(String value)

public void setDestinationPostCodePlusDPS(String value)

The PC and DP must comply with a PAF format. Nine character string denoting international “XY11 " (note the 5 trailing spaces) or a pattern of characters denoting a domestic sorting code. A domestic sorting code consists of an outward postcode, an inward postcode, and a Delivery Point Suffix.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setFormat(int value)

public void setFormat(int value)

“0” \u2013 Null or Test “1” \u2013 Letter “2” \u2013 Large Letter

Parameters:

ParameterTypeDescription
valueint

setItemID(int value)

public void setItemID(int value)

Maximum value is 99999999.

Parameters:

ParameterTypeDescription
valueint

setSupplychainID(int value)

public void setSupplychainID(int value)

Maximum values are 99 for Barcode C and 999999 for Barcode L.

Parameters:

ParameterTypeDescription
valueint

setVersionID(int value)

public void setVersionID(int value)

Currently “1” \u2013 For Mailmark barcode (0 and 2 to 9 and A to Z spare for future use)

Parameters:

ParameterTypeDescription
valueint

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int