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 int
ARRAY
protected static int
DICTIONARY
protected static int
HEX_STRING
protected static int
LITERAL
protected static int
NAME
protected static int
NUMBER
protected static int
STRING
protected static int
TOKEN
private int
type
private java.lang.Object
value
-
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 int
getType()
java.lang.Object
getValue()
boolean
isArray()
boolean
isDictionary()
boolean
isHexString()
boolean
isLiteral()
boolean
isName()
boolean
isNumber()
boolean
isString()
boolean
isToken()
void
setValue(java.lang.Object value)
byte[]
toHexByteArray()
java.lang.String
toString()
Return String representation ofvalue
field.
-
-
-
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 ofvalue
field.- Overrides:
toString
in classjava.lang.Object
-
toHexByteArray
public byte[] toHexByteArray()
-
-