Package org.verapdf.gf.model.impl.cos
Class GFCosUnicodeName
- java.lang.Object
-
- org.verapdf.model.GenericModelObject
-
- org.verapdf.gf.model.impl.cos.GFCosObject
-
- org.verapdf.gf.model.impl.cos.GFCosName
-
- org.verapdf.gf.model.impl.cos.GFCosUnicodeName
-
- All Implemented Interfaces:
Object
,CosName
,CosObject
,CosUnicodeName
public class GFCosUnicodeName extends GFCosName implements CosUnicodeName
- Author:
- Timur Kamalov
-
-
Field Summary
Fields Modifier and Type Field Description static String
COS_UNICODE_NAME_TYPE
-
Fields inherited from class org.verapdf.gf.model.impl.cos.GFCosName
COS_NAME_TYPE
-
Fields inherited from class org.verapdf.gf.model.impl.cos.GFCosObject
baseObject, cosDocument, MAX_NUMBER_OF_ELEMENTS
-
Fields inherited from class org.verapdf.model.GenericModelObject
contextDependent
-
-
Constructor Summary
Constructors Constructor Description GFCosUnicodeName(COSName cosName)
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
getisValidUtf8()
indicates if the Name represents a Unicode string correctly encoded by Utf8String
getunicodeValue()
the Unicode value of the Name object-
Methods inherited from class org.verapdf.gf.model.impl.cos.GFCosName
getinternalRepresentation
-
Methods inherited from class org.verapdf.gf.model.impl.cos.GFCosObject
getFromValue
-
Methods inherited from class org.verapdf.model.GenericModelObject
getContext, getExtraContext, getID, getLinkedObjects, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.verapdf.model.coslayer.CosName
getinternalRepresentation
-
Methods inherited from interface org.verapdf.model.baselayer.Object
getContext, getExtraContext, getID, getLinkedObjects, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependent
-
-
-
-
Field Detail
-
COS_UNICODE_NAME_TYPE
public static final String COS_UNICODE_NAME_TYPE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GFCosUnicodeName
public GFCosUnicodeName(COSName cosName)
Default constructor.- Parameters:
cosName
-
-
-
Method Detail
-
getisValidUtf8
public Boolean getisValidUtf8()
Description copied from interface:CosUnicodeName
indicates if the Name represents a Unicode string correctly encoded by Utf8- Specified by:
getisValidUtf8
in interfaceCosUnicodeName
- Returns:
- true if name is valid UTF-8 string
-
getunicodeValue
public String getunicodeValue()
Description copied from interface:CosUnicodeName
the Unicode value of the Name object- Specified by:
getunicodeValue
in interfaceCosUnicodeName
- Returns:
- converted to UTF-8 name
-
-