Package org.verapdf.model.coslayer
Interface CosString
-
- All Known Subinterfaces:
CosActualText
,CosLang
,CosTextString
- All Known Implementing Classes:
GFCosActualText
,GFCosLang
,GFCosString
,GFCosTextString
public interface CosString extends CosObject
PDF String type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Boolean
getcontainsOnlyHex()
true if the all non-white-space characters if the hexadecimal string belong to the range 0-9, a-f, A-FLong
gethexCount()
for hexadecimal strings the number of Hex digits (non-white-space characters in the range 0-9, a-f, A-F); 0 for strings in standard formatBoolean
getisHex()
true if the string is stored in Hex formatString
getvalue()
internal byte presentation of the string after decoding from hex format (for strings in hexadecimal format) or after decoding all escape sequences (for strings in standard format)-
Methods inherited from interface org.verapdf.model.baselayer.Object
getContext, getExtraContext, getID, getLinkedObjects, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependent
-
-
-
-
Method Detail
-
getvalue
String getvalue()
internal byte presentation of the string after decoding from hex format (for strings in hexadecimal format) or after decoding all escape sequences (for strings in standard format)
-
getisHex
Boolean getisHex()
true if the string is stored in Hex format
-
getcontainsOnlyHex
Boolean getcontainsOnlyHex()
true if the all non-white-space characters if the hexadecimal string belong to the range 0-9, a-f, A-F
-
gethexCount
Long gethexCount()
for hexadecimal strings the number of Hex digits (non-white-space characters in the range 0-9, a-f, A-F); 0 for strings in standard format
-
-