Package org.verapdf.model.coslayer
Interface CosString
-
- All Known Subinterfaces:
CosActualText,CosLang,CosTextString
public interface CosString extends CosObject
PDF String type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BooleangetcontainsOnlyHex()true if the all non-white-space characters if the hexadecimal string belong to the range 0-9, a-f, A-FLonggethexCount()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 formatBooleangetisHex()true if the string is stored in Hex formatStringgetvalue()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
-
-