public class PDNonTerminalField extends PDField
acroForm, dictionary, parent| Constructor and Description |
|---|
PDNonTerminalField(PDAcroForm acroForm)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<PDField> |
getChildren()
Returns this field's children.
|
COSBase |
getDefaultValue()
Returns the default value of this field.
|
int |
getFieldFlags()
This will get the flags for this field.
|
String |
getFieldType()
Get the FT entry of the field.
|
COSBase |
getValue() |
String |
getValueAsString()
Returns a string representation of the "V" entry, or an empty string.
|
void |
setChildren(List<PDField> children)
Sets the child fields.
|
void |
setDefaultValue(COSBase value)
Sets the default of this field.
|
void |
setValue(COSBase object)
Sets the value of this field.
|
getAcroForm, getActions, getAlternateFieldName, getCOSObject, getFullyQualifiedName, getInheritableAttribute, getMappingName, getParent, getPartialName, getV, isNoExport, isReadonly, isRequired, setAlternateFieldName, setFieldFlags, setMappingName, setNoExport, setPartialName, setReadonly, setRequired, toStringpublic PDNonTerminalField(PDAcroForm acroForm)
acroForm - The form that this field is part of.public int getFieldFlags()
PDFieldgetFieldFlags in class PDFieldpublic List<PDField> getChildren()
public void setChildren(List<PDField> children)
children - The list of child fields.public String getFieldType()
PDFieldgetFieldType in class PDFieldpublic COSBase getValue()
public String getValueAsString()
PDFieldgetValueAsString in class PDFieldpublic void setValue(COSBase object) throws IOException
Note: while non-terminal fields do inherit field values, this method returns the local value, without inheritance.
IOExceptionpublic COSBase getDefaultValue()
Note: while non-terminal fields do inherit field values, this method returns the local value, without inheritance.
public void setDefaultValue(COSBase value)
Note: while non-terminal fields do inherit field values, this method returns the local value, without inheritance.
Copyright © 2015–2019 The veraPDF Consortium. All rights reserved.