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()
String
value of field name attribute
public void setName(String name)
name
- String
value of field name attribute
public String getValue()
String
representation of inner value element of the field
public void setValue(String value)
value
- String
representation of inner value element of the field
public String getRichTextValue()
String
representation of inner value-richtext element of the field
public void setRichTextValue(String richTextValue)
richTextValue
- String
representation of inner value-richtext element of the field
public boolean isContainsRichText()
public void setContainsRichText(boolean containsRichText)
containsRichText
- a boolean indicating if a value-richtext element is present inside the field
public FieldObject getParent()
field object
of the current field
public void setParent(FieldObject parent)
parent
- field object
that is a parent of the current field
Copyright © 1998–2023 iText Group NV. All rights reserved.