public class PDUnknownField extends PDField
FLAG_NO_EXPORT, FLAG_READ_ONLY, FLAG_REQUIRED
Constructor and Description |
---|
PDUnknownField(PDAcroForm theAcroForm,
COSDictionary field) |
Modifier and Type | Method and Description |
---|---|
String |
getValue()
getValue gets the fields value to as a string.
|
void |
setValue(String value)
setValue sets the fields value to a given string.
|
findFieldType, findKid, getAcroForm, getActions, getAlternateFieldName, getCOSObject, getDictionary, getFieldFlags, getFieldType, getFullyQualifiedName, getKids, getParent, getPartialName, getWidget, importFDF, isNoExport, isReadonly, isRequired, setAcroForm, setActions, setAlternateFieldName, setFieldFlags, setFieldType, setKids, setNoExport, setParent, setPartialName, setReadonly, setRequired, toString
public PDUnknownField(PDAcroForm theAcroForm, COSDictionary field)
theAcroForm
- The acroForm for this field.field
- The field's dictionary.PDField.PDField(PDAcroForm, COSDictionary)
public void setValue(String value) throws IOException
setValue
in class PDField
value
- the string valueIOException
- If there is an error creating the appearance stream.public String getValue() throws IOException
getValue
in class PDField
IOException
- If there is an error getting the value.Copyright © 2002-2015 The Apache Software Foundation. All Rights Reserved.