Class FormFormElement
- java.lang.Object
-
- org.apache.xerces.dom.NodeImpl
-
- org.apache.xerces.dom.ChildNode
-
- org.apache.xerces.dom.ParentNode
-
- org.apache.xerces.dom.ElementImpl
-
- org.apache.xerces.dom.ElementNSImpl
-
- org.odftoolkit.odfdom.pkg.OdfElement
-
- org.odftoolkit.odfdom.dom.element.form.FormFormElement
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Element
,ElementTraversal
,EventTarget
,Node
,NodeList
,TypeInfo
public class FormFormElement extends OdfElement
DOM implementation of OpenDocument element <form:form>.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static OdfName
ELEMENT_NAME
-
Fields inherited from class org.apache.xerces.dom.ParentNode
firstChild, fNodeListCache, ownerDocument
-
Fields inherited from class org.apache.xerces.dom.NodeImpl
DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_IS_CONTAINED, DOCUMENT_POSITION_PRECEDING, ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, ID, IGNORABLEWS, NORMALIZED, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, TREE_POSITION_ANCESTOR, TREE_POSITION_DESCENDANT, TREE_POSITION_DISCONNECTED, TREE_POSITION_EQUIVALENT, TREE_POSITION_FOLLOWING, TREE_POSITION_PRECEDING, TREE_POSITION_SAME_NODE
-
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
-
Fields inherited from interface org.w3c.dom.TypeInfo
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION
-
-
Constructor Summary
Constructors Constructor Description FormFormElement(OdfFileDom ownerDoc)
Create the instance ofFormFormElement
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ElementVisitor visitor)
Accept an visitor instance to allow the visitor to do some operations.Boolean
getFormAllowDeletesAttribute()
Receives the value of the ODFDOM attribute representationFormAllowDeletesAttribute
, See @form:allow-deletesBoolean
getFormAllowInsertsAttribute()
Receives the value of the ODFDOM attribute representationFormAllowInsertsAttribute
, See @form:allow-insertsBoolean
getFormAllowUpdatesAttribute()
Receives the value of the ODFDOM attribute representationFormAllowUpdatesAttribute
, See @form:allow-updatesBoolean
getFormApplyFilterAttribute()
Receives the value of the ODFDOM attribute representationFormApplyFilterAttribute
, See @form:apply-filterString
getFormCommandAttribute()
Receives the value of the ODFDOM attribute representationFormCommandAttribute
, See @form:commandString
getFormCommandTypeAttribute()
Receives the value of the ODFDOM attribute representationFormCommandTypeAttribute
, See @form:command-typeString
getFormControlImplementationAttribute()
Receives the value of the ODFDOM attribute representationFormControlImplementationAttribute
, See @form:control-implementationString
getFormDatasourceAttribute()
Receives the value of the ODFDOM attribute representationFormDatasourceAttribute
, See @form:datasourceString
getFormDetailFieldsAttribute()
Receives the value of the ODFDOM attribute representationFormDetailFieldsAttribute
, See @form:detail-fieldsString
getFormEnctypeAttribute()
Receives the value of the ODFDOM attribute representationFormEnctypeAttribute
, See @form:enctypeBoolean
getFormEscapeProcessingAttribute()
Receives the value of the ODFDOM attribute representationFormEscapeProcessingAttribute
, See @form:escape-processingString
getFormFilterAttribute()
Receives the value of the ODFDOM attribute representationFormFilterAttribute
, See @form:filterBoolean
getFormIgnoreResultAttribute()
Receives the value of the ODFDOM attribute representationFormIgnoreResultAttribute
, See @form:ignore-resultString
getFormMasterFieldsAttribute()
Receives the value of the ODFDOM attribute representationFormMasterFieldsAttribute
, See @form:master-fieldsString
getFormMethodAttribute()
Receives the value of the ODFDOM attribute representationFormMethodAttribute
, See @form:methodString
getFormNameAttribute()
Receives the value of the ODFDOM attribute representationFormNameAttribute
, See @form:nameString
getFormNavigationModeAttribute()
Receives the value of the ODFDOM attribute representationFormNavigationModeAttribute
, See @form:navigation-modeString
getFormOrderAttribute()
Receives the value of the ODFDOM attribute representationFormOrderAttribute
, See @form:orderString
getFormTabCycleAttribute()
Receives the value of the ODFDOM attribute representationFormTabCycleAttribute
, See @form:tab-cycleOdfName
getOdfName()
Get the element nameString
getOfficeTargetFrameAttribute()
Receives the value of the ODFDOM attribute representationOfficeTargetFrameAttribute
, See @office:target-frameString
getXlinkActuateAttribute()
Receives the value of the ODFDOM attribute representationXlinkActuateAttribute
, See @xlink:actuateString
getXlinkHrefAttribute()
Receives the value of the ODFDOM attribute representationXlinkHrefAttribute
, See @xlink:hrefString
getXlinkTypeAttribute()
Receives the value of the ODFDOM attribute representationXlinkTypeAttribute
, See @xlink:typeFormButtonElement
newFormButtonElement(String formImagePositionValue, String xmlIdValue)
Create child element <form:button>.FormCheckboxElement
newFormCheckboxElement(String formImagePositionValue, String xmlIdValue)
Create child element <form:checkbox>.FormComboboxElement
newFormComboboxElement(String xmlIdValue)
Create child element <form:combobox>.FormConnectionResourceElement
newFormConnectionResourceElement(String xlinkHrefValue)
Create child element <form:connection-resource>.FormDateElement
newFormDateElement(String xmlIdValue)
Create child element <form:date>.FormFileElement
newFormFileElement(String xmlIdValue)
Create child element <form:file>.FormFixedTextElement
newFormFixedTextElement(String xmlIdValue)
Create child element <form:fixed-text>.FormFormattedTextElement
newFormFormattedTextElement(String xmlIdValue)
Create child element <form:formatted-text>.FormFormElement
newFormFormElement()
Create child element <form:form>.FormFrameElement
newFormFrameElement(String xmlIdValue)
Create child element <form:frame>.FormGenericControlElement
newFormGenericControlElement(String xmlIdValue)
Create child element <form:generic-control>.FormGridElement
newFormGridElement(String xmlIdValue)
Create child element <form:grid>.FormHiddenElement
newFormHiddenElement(String xmlIdValue)
Create child element <form:hidden>.FormImageElement
newFormImageElement(String xmlIdValue)
Create child element <form:image>.FormImageFrameElement
newFormImageFrameElement(String xmlIdValue)
Create child element <form:image-frame>.FormListboxElement
newFormListboxElement(String xmlIdValue)
Create child element <form:listbox>.FormNumberElement
newFormNumberElement(String xmlIdValue)
Create child element <form:number>.FormPasswordElement
newFormPasswordElement(String xmlIdValue)
Create child element <form:password>.FormPropertiesElement
newFormPropertiesElement()
Create child element <form:properties>.FormRadioElement
newFormRadioElement(String formImagePositionValue, String xmlIdValue)
Create child element <form:radio>.FormTextareaElement
newFormTextareaElement(String xmlIdValue)
Create child element <form:textarea>.FormTextElement
newFormTextElement(String xmlIdValue)
Create child element <form:text>.FormTimeElement
newFormTimeElement(String xmlIdValue)
Create child element <form:time>.FormValueRangeElement
newFormValueRangeElement(String xmlIdValue)
Create child element <form:value-range>.OfficeEventListenersElement
newOfficeEventListenersElement()
Create child element <office:event-listeners>.void
setFormAllowDeletesAttribute(Boolean formAllowDeletesValue)
Sets the value of ODFDOM attribute representationFormAllowDeletesAttribute
, See @form:allow-deletesvoid
setFormAllowInsertsAttribute(Boolean formAllowInsertsValue)
Sets the value of ODFDOM attribute representationFormAllowInsertsAttribute
, See @form:allow-insertsvoid
setFormAllowUpdatesAttribute(Boolean formAllowUpdatesValue)
Sets the value of ODFDOM attribute representationFormAllowUpdatesAttribute
, See @form:allow-updatesvoid
setFormApplyFilterAttribute(Boolean formApplyFilterValue)
Sets the value of ODFDOM attribute representationFormApplyFilterAttribute
, See @form:apply-filtervoid
setFormCommandAttribute(String formCommandValue)
Sets the value of ODFDOM attribute representationFormCommandAttribute
, See @form:commandvoid
setFormCommandTypeAttribute(String formCommandTypeValue)
Sets the value of ODFDOM attribute representationFormCommandTypeAttribute
, See @form:command-typevoid
setFormControlImplementationAttribute(String formControlImplementationValue)
Sets the value of ODFDOM attribute representationFormControlImplementationAttribute
, See @form:control-implementationvoid
setFormDatasourceAttribute(String formDatasourceValue)
Sets the value of ODFDOM attribute representationFormDatasourceAttribute
, See @form:datasourcevoid
setFormDetailFieldsAttribute(String formDetailFieldsValue)
Sets the value of ODFDOM attribute representationFormDetailFieldsAttribute
, See @form:detail-fieldsvoid
setFormEnctypeAttribute(String formEnctypeValue)
Sets the value of ODFDOM attribute representationFormEnctypeAttribute
, See @form:enctypevoid
setFormEscapeProcessingAttribute(Boolean formEscapeProcessingValue)
Sets the value of ODFDOM attribute representationFormEscapeProcessingAttribute
, See @form:escape-processingvoid
setFormFilterAttribute(String formFilterValue)
Sets the value of ODFDOM attribute representationFormFilterAttribute
, See @form:filtervoid
setFormIgnoreResultAttribute(Boolean formIgnoreResultValue)
Sets the value of ODFDOM attribute representationFormIgnoreResultAttribute
, See @form:ignore-resultvoid
setFormMasterFieldsAttribute(String formMasterFieldsValue)
Sets the value of ODFDOM attribute representationFormMasterFieldsAttribute
, See @form:master-fieldsvoid
setFormMethodAttribute(String formMethodValue)
Sets the value of ODFDOM attribute representationFormMethodAttribute
, See @form:methodvoid
setFormNameAttribute(String formNameValue)
Sets the value of ODFDOM attribute representationFormNameAttribute
, See @form:namevoid
setFormNavigationModeAttribute(String formNavigationModeValue)
Sets the value of ODFDOM attribute representationFormNavigationModeAttribute
, See @form:navigation-modevoid
setFormOrderAttribute(String formOrderValue)
Sets the value of ODFDOM attribute representationFormOrderAttribute
, See @form:ordervoid
setFormTabCycleAttribute(String formTabCycleValue)
Sets the value of ODFDOM attribute representationFormTabCycleAttribute
, See @form:tab-cyclevoid
setOfficeTargetFrameAttribute(String officeTargetFrameValue)
Sets the value of ODFDOM attribute representationOfficeTargetFrameAttribute
, See @office:target-framevoid
setXlinkActuateAttribute(String xlinkActuateValue)
Sets the value of ODFDOM attribute representationXlinkActuateAttribute
, See @xlink:actuatevoid
setXlinkHrefAttribute(String xlinkHrefValue)
Sets the value of ODFDOM attribute representationXlinkHrefAttribute
, See @xlink:hrefvoid
setXlinkTypeAttribute(String xlinkTypeValue)
Sets the value of ODFDOM attribute representationXlinkTypeAttribute
, See @xlink:type-
Methods inherited from class org.odftoolkit.odfdom.pkg.OdfElement
appendChild, appendUsingWhitespaceHandling, cloneElement, cloneNode, cloneNode, cloneNode, cloneOdfElement, componentSize, copyAttributes, countChildComponents, countDescendantComponents, countPrecedingSiblingElements, delete, equals, findFirstChildNode, findNextChildNode, findPreviousChildNode, getAncestorAs, getChildElement, getChildElement, getComponent, getComponentRoot, getFirstChildElement, getLastChildElement, getNextSiblingElement, getOdfAttribute, getOdfAttribute, getOdfAttributeValue, getParentAs, getPreviousSiblingElement, getRepetition, getTextContent, hasAncestor, hasOdfAttribute, ignoredComponent, insert, insert, insertBefore, isComponentRoot, isIgnoredElement, isIgnoredElement, isRepeatable, markAsComponentRoot, markText, moveChildrenTo, onInsertNode, onInsertNode, onRemoveNode, onRemoveNode, receiveNode, removeChild, removeContent, removeSingleElement, replaceChild, selfAndDescendantTextIgnoredAsComponent, setComponent, setOdfAttribute, setOdfAttributeValue, setRepetition, split, toString
-
Methods inherited from class org.apache.xerces.dom.ElementNSImpl
getLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, getXMLBaseAttribute, isDerivedFrom, setPrefix, setType
-
Methods inherited from class org.apache.xerces.dom.ElementImpl
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getBaseURI, getChildElementCount, getDefaultAttributes, getElementsByTagName, getElementsByTagNameNS, getFirstElementChild, getLastElementChild, getNextElementSibling, getNodeName, getNodeType, getPreviousElementSibling, getSchemaTypeInfo, getTagName, getXercesAttribute, hasAttribute, hasAttributeNS, hasAttributes, isEqualNode, normalize, reconcileDefaultAttributes, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOwnerDocument, setReadOnly, setupDefaultAttributes, setXercesAttributeNode, synchronizeData
-
Methods inherited from class org.apache.xerces.dom.ParentNode
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, hasChildNodes, item, setTextContent, synchronizeChildren
-
Methods inherited from class org.apache.xerces.dom.ChildNode
getNextSibling, getParentNode, getPreviousSibling
-
Methods inherited from class org.apache.xerces.dom.NodeImpl
addEventListener, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getContainer, getFeature, getNodeNumber, getNodeValue, getReadOnly, getUserData, getUserData, getUserDataRecord, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setNodeValue, setUserData, setUserData
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.w3c.dom.Node
compareDocumentPosition, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getUserData, hasChildNodes, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, setNodeValue, setTextContent, setUserData
-
-
-
-
Field Detail
-
ELEMENT_NAME
public static final OdfName ELEMENT_NAME
-
-
Constructor Detail
-
FormFormElement
public FormFormElement(OdfFileDom ownerDoc)
Create the instance ofFormFormElement
- Parameters:
ownerDoc
- The type isOdfFileDom
-
-
Method Detail
-
getOdfName
public OdfName getOdfName()
Get the element name- Specified by:
getOdfName
in classOdfElement
- Returns:
- return
OdfName
the name of element <form:form>.
-
getFormAllowDeletesAttribute
public Boolean getFormAllowDeletesAttribute()
Receives the value of the ODFDOM attribute representationFormAllowDeletesAttribute
, See @form:allow-deletes- Returns:
- - the
Boolean
, the value ornull
, if the attribute is not set and no default value defined.
-
setFormAllowDeletesAttribute
public void setFormAllowDeletesAttribute(Boolean formAllowDeletesValue)
Sets the value of ODFDOM attribute representationFormAllowDeletesAttribute
, See @form:allow-deletes- Parameters:
formAllowDeletesValue
- The type isBoolean
-
getFormAllowInsertsAttribute
public Boolean getFormAllowInsertsAttribute()
Receives the value of the ODFDOM attribute representationFormAllowInsertsAttribute
, See @form:allow-inserts- Returns:
- - the
Boolean
, the value ornull
, if the attribute is not set and no default value defined.
-
setFormAllowInsertsAttribute
public void setFormAllowInsertsAttribute(Boolean formAllowInsertsValue)
Sets the value of ODFDOM attribute representationFormAllowInsertsAttribute
, See @form:allow-inserts- Parameters:
formAllowInsertsValue
- The type isBoolean
-
getFormAllowUpdatesAttribute
public Boolean getFormAllowUpdatesAttribute()
Receives the value of the ODFDOM attribute representationFormAllowUpdatesAttribute
, See @form:allow-updates- Returns:
- - the
Boolean
, the value ornull
, if the attribute is not set and no default value defined.
-
setFormAllowUpdatesAttribute
public void setFormAllowUpdatesAttribute(Boolean formAllowUpdatesValue)
Sets the value of ODFDOM attribute representationFormAllowUpdatesAttribute
, See @form:allow-updates- Parameters:
formAllowUpdatesValue
- The type isBoolean
-
getFormApplyFilterAttribute
public Boolean getFormApplyFilterAttribute()
Receives the value of the ODFDOM attribute representationFormApplyFilterAttribute
, See @form:apply-filter- Returns:
- - the
Boolean
, the value ornull
, if the attribute is not set and no default value defined.
-
setFormApplyFilterAttribute
public void setFormApplyFilterAttribute(Boolean formApplyFilterValue)
Sets the value of ODFDOM attribute representationFormApplyFilterAttribute
, See @form:apply-filter- Parameters:
formApplyFilterValue
- The type isBoolean
-
getFormCommandAttribute
public String getFormCommandAttribute()
Receives the value of the ODFDOM attribute representationFormCommandAttribute
, See @form:command- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setFormCommandAttribute
public void setFormCommandAttribute(String formCommandValue)
Sets the value of ODFDOM attribute representationFormCommandAttribute
, See @form:command- Parameters:
formCommandValue
- The type isString
-
getFormCommandTypeAttribute
public String getFormCommandTypeAttribute()
Receives the value of the ODFDOM attribute representationFormCommandTypeAttribute
, See @form:command-type- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setFormCommandTypeAttribute
public void setFormCommandTypeAttribute(String formCommandTypeValue)
Sets the value of ODFDOM attribute representationFormCommandTypeAttribute
, See @form:command-type- Parameters:
formCommandTypeValue
- The type isString
-
getFormControlImplementationAttribute
public String getFormControlImplementationAttribute()
Receives the value of the ODFDOM attribute representationFormControlImplementationAttribute
, See @form:control-implementation- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setFormControlImplementationAttribute
public void setFormControlImplementationAttribute(String formControlImplementationValue)
Sets the value of ODFDOM attribute representationFormControlImplementationAttribute
, See @form:control-implementation- Parameters:
formControlImplementationValue
- The type isString
-
getFormDatasourceAttribute
public String getFormDatasourceAttribute()
Receives the value of the ODFDOM attribute representationFormDatasourceAttribute
, See @form:datasource- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setFormDatasourceAttribute
public void setFormDatasourceAttribute(String formDatasourceValue)
Sets the value of ODFDOM attribute representationFormDatasourceAttribute
, See @form:datasource- Parameters:
formDatasourceValue
- The type isString
-
getFormDetailFieldsAttribute
public String getFormDetailFieldsAttribute()
Receives the value of the ODFDOM attribute representationFormDetailFieldsAttribute
, See @form:detail-fields- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setFormDetailFieldsAttribute
public void setFormDetailFieldsAttribute(String formDetailFieldsValue)
Sets the value of ODFDOM attribute representationFormDetailFieldsAttribute
, See @form:detail-fields- Parameters:
formDetailFieldsValue
- The type isString
-
getFormEnctypeAttribute
public String getFormEnctypeAttribute()
Receives the value of the ODFDOM attribute representationFormEnctypeAttribute
, See @form:enctype- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setFormEnctypeAttribute
public void setFormEnctypeAttribute(String formEnctypeValue)
Sets the value of ODFDOM attribute representationFormEnctypeAttribute
, See @form:enctype- Parameters:
formEnctypeValue
- The type isString
-
getFormEscapeProcessingAttribute
public Boolean getFormEscapeProcessingAttribute()
Receives the value of the ODFDOM attribute representationFormEscapeProcessingAttribute
, See @form:escape-processing- Returns:
- - the
Boolean
, the value ornull
, if the attribute is not set and no default value defined.
-
setFormEscapeProcessingAttribute
public void setFormEscapeProcessingAttribute(Boolean formEscapeProcessingValue)
Sets the value of ODFDOM attribute representationFormEscapeProcessingAttribute
, See @form:escape-processing- Parameters:
formEscapeProcessingValue
- The type isBoolean
-
getFormFilterAttribute
public String getFormFilterAttribute()
Receives the value of the ODFDOM attribute representationFormFilterAttribute
, See @form:filter- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setFormFilterAttribute
public void setFormFilterAttribute(String formFilterValue)
Sets the value of ODFDOM attribute representationFormFilterAttribute
, See @form:filter- Parameters:
formFilterValue
- The type isString
-
getFormIgnoreResultAttribute
public Boolean getFormIgnoreResultAttribute()
Receives the value of the ODFDOM attribute representationFormIgnoreResultAttribute
, See @form:ignore-result- Returns:
- - the
Boolean
, the value ornull
, if the attribute is not set and no default value defined.
-
setFormIgnoreResultAttribute
public void setFormIgnoreResultAttribute(Boolean formIgnoreResultValue)
Sets the value of ODFDOM attribute representationFormIgnoreResultAttribute
, See @form:ignore-result- Parameters:
formIgnoreResultValue
- The type isBoolean
-
getFormMasterFieldsAttribute
public String getFormMasterFieldsAttribute()
Receives the value of the ODFDOM attribute representationFormMasterFieldsAttribute
, See @form:master-fields- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setFormMasterFieldsAttribute
public void setFormMasterFieldsAttribute(String formMasterFieldsValue)
Sets the value of ODFDOM attribute representationFormMasterFieldsAttribute
, See @form:master-fields- Parameters:
formMasterFieldsValue
- The type isString
-
getFormMethodAttribute
public String getFormMethodAttribute()
Receives the value of the ODFDOM attribute representationFormMethodAttribute
, See @form:method- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setFormMethodAttribute
public void setFormMethodAttribute(String formMethodValue)
Sets the value of ODFDOM attribute representationFormMethodAttribute
, See @form:method- Parameters:
formMethodValue
- The type isString
-
getFormNameAttribute
public String getFormNameAttribute()
Receives the value of the ODFDOM attribute representationFormNameAttribute
, See @form:name- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setFormNameAttribute
public void setFormNameAttribute(String formNameValue)
Sets the value of ODFDOM attribute representationFormNameAttribute
, See @form:name- Parameters:
formNameValue
- The type isString
-
getFormNavigationModeAttribute
public String getFormNavigationModeAttribute()
Receives the value of the ODFDOM attribute representationFormNavigationModeAttribute
, See @form:navigation-mode- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setFormNavigationModeAttribute
public void setFormNavigationModeAttribute(String formNavigationModeValue)
Sets the value of ODFDOM attribute representationFormNavigationModeAttribute
, See @form:navigation-mode- Parameters:
formNavigationModeValue
- The type isString
-
getFormOrderAttribute
public String getFormOrderAttribute()
Receives the value of the ODFDOM attribute representationFormOrderAttribute
, See @form:order- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setFormOrderAttribute
public void setFormOrderAttribute(String formOrderValue)
Sets the value of ODFDOM attribute representationFormOrderAttribute
, See @form:order- Parameters:
formOrderValue
- The type isString
-
getFormTabCycleAttribute
public String getFormTabCycleAttribute()
Receives the value of the ODFDOM attribute representationFormTabCycleAttribute
, See @form:tab-cycle- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setFormTabCycleAttribute
public void setFormTabCycleAttribute(String formTabCycleValue)
Sets the value of ODFDOM attribute representationFormTabCycleAttribute
, See @form:tab-cycle- Parameters:
formTabCycleValue
- The type isString
-
getOfficeTargetFrameAttribute
public String getOfficeTargetFrameAttribute()
Receives the value of the ODFDOM attribute representationOfficeTargetFrameAttribute
, See @office:target-frame- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setOfficeTargetFrameAttribute
public void setOfficeTargetFrameAttribute(String officeTargetFrameValue)
Sets the value of ODFDOM attribute representationOfficeTargetFrameAttribute
, See @office:target-frame- Parameters:
officeTargetFrameValue
- The type isString
-
getXlinkActuateAttribute
public String getXlinkActuateAttribute()
Receives the value of the ODFDOM attribute representationXlinkActuateAttribute
, See @xlink:actuate- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setXlinkActuateAttribute
public void setXlinkActuateAttribute(String xlinkActuateValue)
Sets the value of ODFDOM attribute representationXlinkActuateAttribute
, See @xlink:actuate- Parameters:
xlinkActuateValue
- The type isString
-
getXlinkHrefAttribute
public String getXlinkHrefAttribute()
Receives the value of the ODFDOM attribute representationXlinkHrefAttribute
, See @xlink:href- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setXlinkHrefAttribute
public void setXlinkHrefAttribute(String xlinkHrefValue)
Sets the value of ODFDOM attribute representationXlinkHrefAttribute
, See @xlink:href- Parameters:
xlinkHrefValue
- The type isString
-
getXlinkTypeAttribute
public String getXlinkTypeAttribute()
Receives the value of the ODFDOM attribute representationXlinkTypeAttribute
, See @xlink:type- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setXlinkTypeAttribute
public void setXlinkTypeAttribute(String xlinkTypeValue)
Sets the value of ODFDOM attribute representationXlinkTypeAttribute
, See @xlink:type- Parameters:
xlinkTypeValue
- The type isString
-
newFormButtonElement
public FormButtonElement newFormButtonElement(String formImagePositionValue, String xmlIdValue)
Create child element <form:button>.- Parameters:
formImagePositionValue
- theString
value ofFormImagePositionAttribute
, see @form:image-position at specificationxmlIdValue
- theString
value ofXmlIdAttribute
, see @xml:id at specification- Returns:
- the element <form:button>
-
newFormCheckboxElement
public FormCheckboxElement newFormCheckboxElement(String formImagePositionValue, String xmlIdValue)
Create child element <form:checkbox>.- Parameters:
formImagePositionValue
- theString
value ofFormImagePositionAttribute
, see @form:image-position at specificationxmlIdValue
- theString
value ofXmlIdAttribute
, see @xml:id at specification- Returns:
- the element <form:checkbox>
-
newFormComboboxElement
public FormComboboxElement newFormComboboxElement(String xmlIdValue)
Create child element <form:combobox>.- Parameters:
xmlIdValue
- theString
value ofXmlIdAttribute
, see @xml:id at specification- Returns:
- the element <form:combobox>
-
newFormConnectionResourceElement
public FormConnectionResourceElement newFormConnectionResourceElement(String xlinkHrefValue)
Create child element <form:connection-resource>.- Parameters:
xlinkHrefValue
- theString
value ofXlinkHrefAttribute
, see @xlink:href at specification- Returns:
- the element <form:connection-resource>
-
newFormDateElement
public FormDateElement newFormDateElement(String xmlIdValue)
Create child element <form:date>.- Parameters:
xmlIdValue
- theString
value ofXmlIdAttribute
, see @xml:id at specification- Returns:
- the element <form:date>
-
newFormFileElement
public FormFileElement newFormFileElement(String xmlIdValue)
Create child element <form:file>.- Parameters:
xmlIdValue
- theString
value ofXmlIdAttribute
, see @xml:id at specification- Returns:
- the element <form:file>
-
newFormFixedTextElement
public FormFixedTextElement newFormFixedTextElement(String xmlIdValue)
Create child element <form:fixed-text>.- Parameters:
xmlIdValue
- theString
value ofXmlIdAttribute
, see @xml:id at specification- Returns:
- the element <form:fixed-text>
-
newFormFormElement
public FormFormElement newFormFormElement()
Create child element <form:form>.- Returns:
- the element <form:form>
-
newFormFormattedTextElement
public FormFormattedTextElement newFormFormattedTextElement(String xmlIdValue)
Create child element <form:formatted-text>.- Parameters:
xmlIdValue
- theString
value ofXmlIdAttribute
, see @xml:id at specification- Returns:
- the element <form:formatted-text>
-
newFormFrameElement
public FormFrameElement newFormFrameElement(String xmlIdValue)
Create child element <form:frame>.- Parameters:
xmlIdValue
- theString
value ofXmlIdAttribute
, see @xml:id at specification- Returns:
- the element <form:frame>
-
newFormGenericControlElement
public FormGenericControlElement newFormGenericControlElement(String xmlIdValue)
Create child element <form:generic-control>.- Parameters:
xmlIdValue
- theString
value ofXmlIdAttribute
, see @xml:id at specification- Returns:
- the element <form:generic-control>
-
newFormGridElement
public FormGridElement newFormGridElement(String xmlIdValue)
Create child element <form:grid>.- Parameters:
xmlIdValue
- theString
value ofXmlIdAttribute
, see @xml:id at specification- Returns:
- the element <form:grid>
-
newFormHiddenElement
public FormHiddenElement newFormHiddenElement(String xmlIdValue)
Create child element <form:hidden>.- Parameters:
xmlIdValue
- theString
value ofXmlIdAttribute
, see @xml:id at specification- Returns:
- the element <form:hidden>
-
newFormImageElement
public FormImageElement newFormImageElement(String xmlIdValue)
Create child element <form:image>.- Parameters:
xmlIdValue
- theString
value ofXmlIdAttribute
, see @xml:id at specification- Returns:
- the element <form:image>
-
newFormImageFrameElement
public FormImageFrameElement newFormImageFrameElement(String xmlIdValue)
Create child element <form:image-frame>.- Parameters:
xmlIdValue
- theString
value ofXmlIdAttribute
, see @xml:id at specification- Returns:
- the element <form:image-frame>
-
newFormListboxElement
public FormListboxElement newFormListboxElement(String xmlIdValue)
Create child element <form:listbox>.- Parameters:
xmlIdValue
- theString
value ofXmlIdAttribute
, see @xml:id at specification- Returns:
- the element <form:listbox>
-
newFormNumberElement
public FormNumberElement newFormNumberElement(String xmlIdValue)
Create child element <form:number>.- Parameters:
xmlIdValue
- theString
value ofXmlIdAttribute
, see @xml:id at specification- Returns:
- the element <form:number>
-
newFormPasswordElement
public FormPasswordElement newFormPasswordElement(String xmlIdValue)
Create child element <form:password>.- Parameters:
xmlIdValue
- theString
value ofXmlIdAttribute
, see @xml:id at specification- Returns:
- the element <form:password>
-
newFormPropertiesElement
public FormPropertiesElement newFormPropertiesElement()
Create child element <form:properties>.- Returns:
- the element <form:properties>
-
newFormRadioElement
public FormRadioElement newFormRadioElement(String formImagePositionValue, String xmlIdValue)
Create child element <form:radio>.- Parameters:
formImagePositionValue
- theString
value ofFormImagePositionAttribute
, see @form:image-position at specificationxmlIdValue
- theString
value ofXmlIdAttribute
, see @xml:id at specification- Returns:
- the element <form:radio>
-
newFormTextElement
public FormTextElement newFormTextElement(String xmlIdValue)
Create child element <form:text>.- Parameters:
xmlIdValue
- theString
value ofXmlIdAttribute
, see @xml:id at specification- Returns:
- the element <form:text>
-
newFormTextareaElement
public FormTextareaElement newFormTextareaElement(String xmlIdValue)
Create child element <form:textarea>.- Parameters:
xmlIdValue
- theString
value ofXmlIdAttribute
, see @xml:id at specification- Returns:
- the element <form:textarea>
-
newFormTimeElement
public FormTimeElement newFormTimeElement(String xmlIdValue)
Create child element <form:time>.- Parameters:
xmlIdValue
- theString
value ofXmlIdAttribute
, see @xml:id at specification- Returns:
- the element <form:time>
-
newFormValueRangeElement
public FormValueRangeElement newFormValueRangeElement(String xmlIdValue)
Create child element <form:value-range>.- Parameters:
xmlIdValue
- theString
value ofXmlIdAttribute
, see @xml:id at specification- Returns:
- the element <form:value-range>
-
newOfficeEventListenersElement
public OfficeEventListenersElement newOfficeEventListenersElement()
Create child element <office:event-listeners>.- Returns:
- the element <office:event-listeners>
-
accept
public void accept(ElementVisitor visitor)
Description copied from class:OdfElement
Accept an visitor instance to allow the visitor to do some operations. Refer to visitor design pattern to get a better understanding.- Overrides:
accept
in classOdfElement
- Parameters:
visitor
- an instance of DefaultElementVisitor
-
-