Package com.itextpdf.io.font.cmap
Class CMapObject
- java.lang.Object
-
- com.itextpdf.io.font.cmap.CMapObject
-
public class CMapObject extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static intARRAYprotected static intDICTIONARYprotected static intHEX_STRINGprotected static intLITERALprotected static intNAMEprotected static intNUMBERprotected static intSTRINGprotected static intTOKENprivate inttypeprivate java.lang.Objectvalue
-
Constructor Summary
Constructors Constructor Description CMapObject(int objectType, java.lang.Object value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetType()java.lang.ObjectgetValue()booleanisArray()booleanisDictionary()booleanisHexString()booleanisLiteral()booleanisName()booleanisNumber()booleanisString()booleanisToken()voidsetValue(java.lang.Object value)byte[]toHexByteArray()java.lang.StringtoString()Return String representation ofvaluefield.
-
-
-
Field Detail
-
STRING
protected static final int STRING
- See Also:
- Constant Field Values
-
HEX_STRING
protected static final int HEX_STRING
- See Also:
- Constant Field Values
-
NAME
protected static final int NAME
- See Also:
- Constant Field Values
-
NUMBER
protected static final int NUMBER
- See Also:
- Constant Field Values
-
LITERAL
protected static final int LITERAL
- See Also:
- Constant Field Values
-
ARRAY
protected static final int ARRAY
- See Also:
- Constant Field Values
-
DICTIONARY
protected static final int DICTIONARY
- See Also:
- Constant Field Values
-
TOKEN
protected static final int TOKEN
- See Also:
- Constant Field Values
-
type
private int type
-
value
private java.lang.Object value
-
-
Method Detail
-
getValue
public java.lang.Object getValue()
-
getType
public int getType()
-
setValue
public void setValue(java.lang.Object value)
-
isString
public boolean isString()
-
isHexString
public boolean isHexString()
-
isName
public boolean isName()
-
isNumber
public boolean isNumber()
-
isLiteral
public boolean isLiteral()
-
isArray
public boolean isArray()
-
isDictionary
public boolean isDictionary()
-
isToken
public boolean isToken()
-
toString
public java.lang.String toString()
Return String representation ofvaluefield.- Overrides:
toStringin classjava.lang.Object
-
toHexByteArray
public byte[] toHexByteArray()
-
-