public class FDFField
extends java.lang.Object
Constructor and Description |
---|
FDFField(Obj field_dict,
Obj fdf_dict)
Construct a FDF::FDFField from a SDF dictionary representing a terminal field node.
|
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Frees the native memory of the object.
|
Obj |
findAttribute(java.lang.String attrib)
The function returns the specified attribute.
|
java.lang.String |
getName()
Get name of the FDFField
|
java.lang.String |
getPartialName()
Get partial name of the FDFField
|
Obj |
getSDFObj()
Get underlying SDF object
|
Obj |
getValue()
Get value of the FDFField
|
void |
setValue(Obj value)
Set the value of the FDFField (the value of the field's /V key).
|
public FDFField(Obj field_dict, Obj fdf_dict) throws PDFNetException
PDFNetException
public void destroy() throws PDFNetException
PDFNetException
public Obj getValue() throws PDFNetException
Note: The format of field's value varies depending on the field type.
PDFNetException
public void setValue(Obj value) throws PDFNetException
Note: in order to remove/erase the existing value use SetValue(SDF::Null)
PDFNetException
public java.lang.String getName() throws PDFNetException
PDFNetException
public java.lang.String getPartialName() throws PDFNetException
PDFNetException
public Obj getSDFObj() throws PDFNetException
PDFNetException
public Obj findAttribute(java.lang.String attrib) throws PDFNetException
PDFNetException