Package org.verapdf.gf.model.impl.cos
Class GFCosString
java.lang.Object
org.verapdf.model.GenericModelObject
org.verapdf.gf.model.impl.cos.GFCosObject
org.verapdf.gf.model.impl.cos.GFCosString
- Direct Known Subclasses:
GFCosActualText,GFCosAlt,GFCosTextString
- Author:
- Timur Kamalov
-
Field Summary
FieldsFields inherited from class org.verapdf.gf.model.impl.cos.GFCosObject
baseObject, cosDocument, MAX_NUMBER_OF_ELEMENTSFields inherited from class org.verapdf.model.GenericModelObject
contextDependent -
Constructor Summary
ConstructorsConstructorDescriptionGFCosString(COSString cosString) Default constructorGFCosString(COSString cosString, String type) Constructor for child classes -
Method Summary
Methods inherited from class org.verapdf.gf.model.impl.cos.GFCosObject
getFromValueMethods inherited from class org.verapdf.model.GenericModelObject
getContext, getExtraContext, getID, getLinkedObjects, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.verapdf.model.baselayer.Object
getContext, getExtraContext, getID, getLinkedObjects, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependent
-
Field Details
-
COS_STRING_TYPE
Type name for GFCosString- See Also:
-
-
Constructor Details
-
GFCosString
Default constructor- Parameters:
cosString- greenfield COSString
-
GFCosString
Constructor for child classes- Parameters:
cosString- is greenfield COSString.type- child class type.
-
-
Method Details
-
getvalue
Get string value stored in the PDF object -
getisHex
true if the string is stored in Hex format -
getcontainsOnlyHex
true if all symbols below range 0-9,a-f,A-F- Specified by:
getcontainsOnlyHexin interfaceCosString
-
gethexCount
contains original hex string length- Specified by:
gethexCountin interfaceCosString
-
getcontainsPUA
Description copied from interface:CosStringtrue if string value contains codes from Unicode Private Use Area- Specified by:
getcontainsPUAin interfaceCosString
-