public class COSString extends COSDirect
| Constructor and Description |
|---|
COSString() |
COSString(String value) |
COSString(String value,
boolean isHex) |
COSString(String value,
boolean isHex,
long hexCount,
boolean containsOnlyHex) |
| Modifier and Type | Method and Description |
|---|---|
Object |
accept(ICOSVisitor visitor) |
void |
accept(IVisitor visitor) |
static COSObject |
construct(String initValue) |
static COSObject |
construct(String initValue,
boolean isHex) |
static COSObject |
construct(String initValue,
boolean isHex,
long hexCount,
boolean containsOnlyHex) |
boolean |
equals(Object o) |
String |
get() |
long |
getHexCount() |
Long |
getInteger() |
String |
getLitString() |
Double |
getReal() |
String |
getString() |
COSObjType |
getType() |
int |
hashCode() |
boolean |
isContainsOnlyHex() |
boolean |
isHexadecimal() |
boolean |
isLiteral() |
void |
set(String value) |
void |
setContainsOnlyHex(boolean containsOnlyHex) |
void |
setHex(boolean hex) |
void |
setHexCount(long hexCount) |
boolean |
setString(String value) |
boolean |
setString(String value,
boolean isHex) |
protected String |
toHexString() |
protected String |
toLitString() |
String |
toString() |
add, at, clearArray, getBoolean, getBooleanKey, getData, getData, getDirect, getDirectBase, getDocument, getIntegerKey, getKey, getKey, getKeySet, getName, getNameKey, getRealKey, getRealStreamSize, getStringKey, getValues, insert, isEndstreamKeywordCRLFCompliant, isIndirect, isStreamKeywordCRLFCompliant, knownKey, mark, remove, removeKey, set, setArray, setArray, setArray, setArrayKey, setArrayKey, setArrayKey, setArrayKey, setBoolean, setBooleanKey, setData, setData, setDirect, setEndstreamKeywordCRLFCompliant, setInteger, setIntegerKey, setKey, setKey, setName, setNameKey, setReal, setRealKey, setRealStreamSize, setStreamKeywordCRLFCompliant, setStringKey, sizegetObjectKey, setObjectKeypublic COSString()
public COSString(String value)
public COSString(String value, boolean isHex)
public COSString(String value, boolean isHex, long hexCount, boolean containsOnlyHex)
public static COSObject construct(String initValue, boolean isHex, long hexCount, boolean containsOnlyHex)
public Object accept(ICOSVisitor visitor)
public COSObjType getType()
public Long getInteger()
getInteger in class COSDirectpublic void setHex(boolean hex)
public boolean setString(String value, boolean isHex)
public String get()
public void set(String value)
public boolean isLiteral()
public boolean isHexadecimal()
protected String toHexString()
protected String toLitString()
public String getLitString()
public boolean isContainsOnlyHex()
public void setContainsOnlyHex(boolean containsOnlyHex)
public long getHexCount()
public void setHexCount(long hexCount)
Copyright © 2015–2016 The veraPDF Consortium. All rights reserved.