public class BaseEncodeType extends Object
Base class for SymbologyEncodeType.
Modifier and Type | Method and Description |
---|---|
boolean |
equals(BaseEncodeType other)
Returns a value indicating whether this instance is equal to a specified
BaseEncodeType value. |
boolean |
equals(Object obj)
Returns a value indicating whether this instance is equal to a specified
BaseEncodeType value. |
int |
getClassification()
Gets a classification of this symbology.
|
String |
getString()
Converts the instance of BaseEncodeType to its equivalent string representation.
|
static String |
getString(BaseEncodeType instance)
Converts the instance of BaseEncodeType to its equivalent string representation.
|
short |
getTypeIndex()
Gets an index of encode type
|
String |
getTypeName()
Gets a name of encode type
|
int |
hashCode()
Returns the hash code for this instance.
|
static BaseEncodeType |
parse(String stringEncodeType)
Converts the string representation of the name of a BaseEncodeType to its instance.
|
String |
toString()
Returns the name of the given BaseEncodeType as a string.
|
static boolean |
tryParse(String parsingType,
BaseEncodeType[] result)
Converts the string representation of a BaseEncodeType to its instance.
|
static boolean |
tryParse(String parsingType,
SymbologyEncodeType[] result)
Converts the string representation of a BaseEncodeType to its instance.
|
public short getTypeIndex()
Gets an index of encode type
public String getTypeName()
Gets a name of encode type
public int getClassification()
Gets a classification of this symbology.
public String toString()
Returns the name of the given BaseEncodeType as a string.
public String getString()
Converts the instance of BaseEncodeType to its equivalent string representation. The string format is: "Index:0; Name:Codabar".
public static String getString(BaseEncodeType instance)
Converts the instance of BaseEncodeType to its equivalent string representation. The string format is: "Index:-1; Name:None".
instance
- The BaseEncodeType instance to convertpublic static boolean tryParse(String parsingType, BaseEncodeType[] result)
Converts the string representation of a BaseEncodeType to its instance. A return value indicates whether the conversion succeeded or failed.
parsingType
- A string in the format as "Index:-1; Name:None" to convert.result
- An actual SingleEncodeType returns, when conversion has completed successfully;
otherwise it returns null.
<b>true</b>
if s was converted successfully; otherwise, <b>false</b>
.public static boolean tryParse(String parsingType, SymbologyEncodeType[] result)
Converts the string representation of a BaseEncodeType to its instance. A return value indicates whether the conversion succeeded or failed.
parsingType
- A string in the format as "Index:-1; Name:None" to convert.result
- An actual SingleEncodeType returns, when conversion has completed successfully;
otherwise it returns null.
<b>true</b>
if s was converted successfully; otherwise, <b>false</b>
.public boolean equals(BaseEncodeType other)
Returns a value indicating whether this instance is equal to a specified BaseEncodeType
value.
other
- An BaseEncodeType
value to compare to this instance.<b>true</b>
if obj has the same value as this instance; otherwise, <b>false</b>
.public boolean equals(Object obj)
Returns a value indicating whether this instance is equal to a specified BaseEncodeType
value.
public int hashCode()
Returns the hash code for this instance.
public static BaseEncodeType parse(String stringEncodeType)
Converts the string representation of the name of a BaseEncodeType to its instance.
stringEncodeType
- A string containing the name of a BaseEncodeType to convert.<b></b>
.BaseEncodeType
,
DecodeType.None
Copyright (c) 2002-2017 Aspose Pty Ltd. All Rights Reserved.