public class FieldObject extends Object
Constructor and Description |
---|
FieldObject() |
FieldObject(String name, String value, boolean containsRichText) |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Gets the string value of the name attribute of the field element.
|
FieldObject |
getParent()
Gets a parent field of current field.
|
String |
getRichTextValue()
Gets the string representation of the value-richtext element, a child of the field element and contains the field's value formatted as a rich text string.
|
String |
getValue()
Gets the string representation of the value element, a child of the field element and contains the field's value, whose format may vary depending on the field type.
|
boolean |
isContainsRichText()
Gets a boolean indicating if a value-richtext element is present inside the field.
|
void |
setContainsRichText(boolean containsRichText)
Sets a boolean indicating if a value-richtext element is present inside the field.
|
void |
setName(String name)
Sets the string value of the name attribute of the field element.
|
void |
setParent(FieldObject parent)
Sets a parent field of current field.
|
void |
setRichTextValue(String richTextValue)
Sets the string representation of the value-richtext element, a child of the field element and contains the field's value formatted as a rich text string.
|
void |
setValue(String value)
Sets the string representation of the value element, a child of the field element and contains the field's value, whose format may vary depending on the field type.
|
public String getName()
public void setName(String name)
public String getValue()
public void setValue(String value)
public String getRichTextValue()
public void setRichTextValue(String richTextValue)
public boolean isContainsRichText()
public void setContainsRichText(boolean containsRichText)
public FieldObject getParent()
public void setParent(FieldObject parent)
Copyright © 1998–2020 iText Group NV. All rights reserved.