Package com.independentsoft.office.odf
Class UserDefinedField
java.lang.Object
com.independentsoft.office.odf.UserDefinedField
- All Implemented Interfaces:
IContentElement,IParagraphContent
The Class UserDefinedField.
-
Constructor Summary
ConstructorsConstructorDescriptionInitializes a new instance of the UserDefinedField class. -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a new object that is a deep copy of the current instance.Returns all content elements.getName()Gets the name.Returns the parent content element.getValue()Gets the value.voidSets the name.voidsetParent(IContentElement parent)Sets the parent content element.voidSets the value.toString()Converts the value of the current UserDefinedField object to its equivalent string representation.
-
Constructor Details
-
UserDefinedField
public UserDefinedField()Initializes a new instance of the UserDefinedField class.
-
-
Method Details
-
getContentElements
Returns all content elements.- Specified by:
getContentElementsin interfaceIContentElement- Returns:
- A collection of content elements.
-
getParent
Returns the parent content element.- Specified by:
getParentin interfaceIContentElement- Returns:
- the parent
-
setParent
Sets the parent content element.- Specified by:
setParentin interfaceIContentElement- Parameters:
parent- the new parent
-
clone
Creates a new object that is a deep copy of the current instance.- Specified by:
clonein interfaceIContentElement- Specified by:
clonein interfaceIParagraphContent- Overrides:
clonein classObject- Returns:
- A new object that is a copy of this instance.
-
toString
Converts the value of the current UserDefinedField object to its equivalent string representation. -
getName
Gets the name.- Returns:
- the name
-
setName
Sets the name.- Parameters:
name- the new name
-
getValue
Gets the value.- Returns:
- the value
-
setValue
Sets the value.- Parameters:
value- the new value
-