|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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
public class FormFormElement
DOM implementation of OpenDocument element form:form.
| Field Summary | |
|---|---|
static OdfName |
ELEMENT_NAME
|
| Fields inherited from class org.apache.xerces.dom.ElementNSImpl |
|---|
localName, namespaceURI |
| Fields inherited from class org.apache.xerces.dom.ElementImpl |
|---|
attributes, name |
| Fields inherited from class org.apache.xerces.dom.ParentNode |
|---|
firstChild, fNodeListCache, ownerDocument |
| Fields inherited from class org.apache.xerces.dom.ChildNode |
|---|
nextSibling, previousSibling |
| Fields inherited from interface org.w3c.dom.TypeInfo |
|---|
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION |
| Constructor Summary | |
|---|---|
FormFormElement(OdfFileDom ownerDoc)
Create the instance of FormFormElement |
|
| Method Summary | |
|---|---|
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 representation FormAllowDeletesAttribute , See form:allow-deletes |
Boolean |
getFormAllowInsertsAttribute()
Receives the value of the ODFDOM attribute representation FormAllowInsertsAttribute , See form:allow-inserts |
Boolean |
getFormAllowUpdatesAttribute()
Receives the value of the ODFDOM attribute representation FormAllowUpdatesAttribute , See form:allow-updates |
Boolean |
getFormApplyFilterAttribute()
Receives the value of the ODFDOM attribute representation FormApplyFilterAttribute , See form:apply-filter |
String |
getFormCommandAttribute()
Receives the value of the ODFDOM attribute representation FormCommandAttribute , See form:command |
String |
getFormCommandTypeAttribute()
Receives the value of the ODFDOM attribute representation FormCommandTypeAttribute , See form:command-type |
String |
getFormControlImplementationAttribute()
Receives the value of the ODFDOM attribute representation FormControlImplementationAttribute , See form:control-implementation |
String |
getFormDatasourceAttribute()
Receives the value of the ODFDOM attribute representation FormDatasourceAttribute , See form:datasource |
String |
getFormDetailFieldsAttribute()
Receives the value of the ODFDOM attribute representation FormDetailFieldsAttribute , See form:detail-fields |
String |
getFormEnctypeAttribute()
Receives the value of the ODFDOM attribute representation FormEnctypeAttribute , See form:enctype |
Boolean |
getFormEscapeProcessingAttribute()
Receives the value of the ODFDOM attribute representation FormEscapeProcessingAttribute , See form:escape-processing |
String |
getFormFilterAttribute()
Receives the value of the ODFDOM attribute representation FormFilterAttribute , See form:filter |
Boolean |
getFormIgnoreResultAttribute()
Receives the value of the ODFDOM attribute representation FormIgnoreResultAttribute , See form:ignore-result |
String |
getFormMasterFieldsAttribute()
Receives the value of the ODFDOM attribute representation FormMasterFieldsAttribute , See form:master-fields |
String |
getFormMethodAttribute()
Receives the value of the ODFDOM attribute representation FormMethodAttribute , See form:method |
String |
getFormNameAttribute()
Receives the value of the ODFDOM attribute representation FormNameAttribute , See form:name |
String |
getFormNavigationModeAttribute()
Receives the value of the ODFDOM attribute representation FormNavigationModeAttribute , See form:navigation-mode |
String |
getFormOrderAttribute()
Receives the value of the ODFDOM attribute representation FormOrderAttribute , See form:order |
String |
getFormTabCycleAttribute()
Receives the value of the ODFDOM attribute representation FormTabCycleAttribute , See form:tab-cycle |
OdfName |
getOdfName()
Get the element name |
String |
getOfficeTargetFrameAttribute()
Receives the value of the ODFDOM attribute representation OfficeTargetFrameAttribute , See office:target-frame |
String |
getXlinkActuateAttribute()
Receives the value of the ODFDOM attribute representation XlinkActuateAttribute , See xlink:actuate |
String |
getXlinkHrefAttribute()
Receives the value of the ODFDOM attribute representation XlinkHrefAttribute , See xlink:href |
String |
getXlinkTypeAttribute()
Receives the value of the ODFDOM attribute representation XlinkTypeAttribute , See xlink:type |
FormButtonElement |
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 representation FormAllowDeletesAttribute , See form:allow-deletes |
void |
setFormAllowInsertsAttribute(Boolean formAllowInsertsValue)
Sets the value of ODFDOM attribute representation FormAllowInsertsAttribute , See form:allow-inserts |
void |
setFormAllowUpdatesAttribute(Boolean formAllowUpdatesValue)
Sets the value of ODFDOM attribute representation FormAllowUpdatesAttribute , See form:allow-updates |
void |
setFormApplyFilterAttribute(Boolean formApplyFilterValue)
Sets the value of ODFDOM attribute representation FormApplyFilterAttribute , See form:apply-filter |
void |
setFormCommandAttribute(String formCommandValue)
Sets the value of ODFDOM attribute representation FormCommandAttribute , See form:command |
void |
setFormCommandTypeAttribute(String formCommandTypeValue)
Sets the value of ODFDOM attribute representation FormCommandTypeAttribute , See form:command-type |
void |
setFormControlImplementationAttribute(String formControlImplementationValue)
Sets the value of ODFDOM attribute representation FormControlImplementationAttribute , See form:control-implementation |
void |
setFormDatasourceAttribute(String formDatasourceValue)
Sets the value of ODFDOM attribute representation FormDatasourceAttribute , See form:datasource |
void |
setFormDetailFieldsAttribute(String formDetailFieldsValue)
Sets the value of ODFDOM attribute representation FormDetailFieldsAttribute , See form:detail-fields |
void |
setFormEnctypeAttribute(String formEnctypeValue)
Sets the value of ODFDOM attribute representation FormEnctypeAttribute , See form:enctype |
void |
setFormEscapeProcessingAttribute(Boolean formEscapeProcessingValue)
Sets the value of ODFDOM attribute representation FormEscapeProcessingAttribute , See form:escape-processing |
void |
setFormFilterAttribute(String formFilterValue)
Sets the value of ODFDOM attribute representation FormFilterAttribute , See form:filter |
void |
setFormIgnoreResultAttribute(Boolean formIgnoreResultValue)
Sets the value of ODFDOM attribute representation FormIgnoreResultAttribute , See form:ignore-result |
void |
setFormMasterFieldsAttribute(String formMasterFieldsValue)
Sets the value of ODFDOM attribute representation FormMasterFieldsAttribute , See form:master-fields |
void |
setFormMethodAttribute(String formMethodValue)
Sets the value of ODFDOM attribute representation FormMethodAttribute , See form:method |
void |
setFormNameAttribute(String formNameValue)
Sets the value of ODFDOM attribute representation FormNameAttribute , See form:name |
void |
setFormNavigationModeAttribute(String formNavigationModeValue)
Sets the value of ODFDOM attribute representation FormNavigationModeAttribute , See form:navigation-mode |
void |
setFormOrderAttribute(String formOrderValue)
Sets the value of ODFDOM attribute representation FormOrderAttribute , See form:order |
void |
setFormTabCycleAttribute(String formTabCycleValue)
Sets the value of ODFDOM attribute representation FormTabCycleAttribute , See form:tab-cycle |
void |
setOfficeTargetFrameAttribute(String officeTargetFrameValue)
Sets the value of ODFDOM attribute representation OfficeTargetFrameAttribute , See office:target-frame |
void |
setXlinkActuateAttribute(String xlinkActuateValue)
Sets the value of ODFDOM attribute representation XlinkActuateAttribute , See xlink:actuate |
void |
setXlinkHrefAttribute(String xlinkHrefValue)
Sets the value of ODFDOM attribute representation XlinkHrefAttribute , See xlink:href |
void |
setXlinkTypeAttribute(String xlinkTypeValue)
Sets the value of ODFDOM attribute representation XlinkTypeAttribute , See xlink:type |
| Methods inherited from class org.odftoolkit.odfdom.pkg.OdfElement |
|---|
cloneNode, equals, findFirstChildNode, findNextChildNode, findPreviousChildNode, getAncestorAs, getOdfAttribute, getOdfAttribute, getOdfAttributeValue, getParentAs, hasOdfAttribute, insertBefore, onInsertNode, onInsertNode, onRemoveNode, onRemoveNode, removeChild, replaceChild, setOdfAttribute, setOdfAttributeValue, toString |
| Methods inherited from class org.apache.xerces.dom.ElementNSImpl |
|---|
getBaseURI, getLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, isDerivedFrom, setPrefix, setType, setValues |
| Methods inherited from class org.apache.xerces.dom.ParentNode |
|---|
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, 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, appendChild, 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 |
|---|
appendChild, compareDocumentPosition, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getTextContent, getUserData, hasChildNodes, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, setNodeValue, setTextContent, setUserData |
| Field Detail |
|---|
public static final OdfName ELEMENT_NAME
| Constructor Detail |
|---|
public FormFormElement(OdfFileDom ownerDoc)
FormFormElement
ownerDoc - The type is OdfFileDom| Method Detail |
|---|
public OdfName getOdfName()
getOdfName in class OdfElementOdfName the name of element form:form.public Boolean getFormAllowDeletesAttribute()
FormAllowDeletesAttribute , See form:allow-deletes
Boolean , the value or null, if the attribute is not set and no default value defined.public void setFormAllowDeletesAttribute(Boolean formAllowDeletesValue)
FormAllowDeletesAttribute , See form:allow-deletes
formAllowDeletesValue - The type is Booleanpublic Boolean getFormAllowInsertsAttribute()
FormAllowInsertsAttribute , See form:allow-inserts
Boolean , the value or null, if the attribute is not set and no default value defined.public void setFormAllowInsertsAttribute(Boolean formAllowInsertsValue)
FormAllowInsertsAttribute , See form:allow-inserts
formAllowInsertsValue - The type is Booleanpublic Boolean getFormAllowUpdatesAttribute()
FormAllowUpdatesAttribute , See form:allow-updates
Boolean , the value or null, if the attribute is not set and no default value defined.public void setFormAllowUpdatesAttribute(Boolean formAllowUpdatesValue)
FormAllowUpdatesAttribute , See form:allow-updates
formAllowUpdatesValue - The type is Booleanpublic Boolean getFormApplyFilterAttribute()
FormApplyFilterAttribute , See form:apply-filter
Boolean , the value or null, if the attribute is not set and no default value defined.public void setFormApplyFilterAttribute(Boolean formApplyFilterValue)
FormApplyFilterAttribute , See form:apply-filter
formApplyFilterValue - The type is Booleanpublic String getFormCommandAttribute()
FormCommandAttribute , See form:command
String , the value or null, if the attribute is not set and no default value defined.public void setFormCommandAttribute(String formCommandValue)
FormCommandAttribute , See form:command
formCommandValue - The type is Stringpublic String getFormCommandTypeAttribute()
FormCommandTypeAttribute , See form:command-type
String , the value or null, if the attribute is not set and no default value defined.public void setFormCommandTypeAttribute(String formCommandTypeValue)
FormCommandTypeAttribute , See form:command-type
formCommandTypeValue - The type is Stringpublic String getFormControlImplementationAttribute()
FormControlImplementationAttribute , See form:control-implementation
String , the value or null, if the attribute is not set and no default value defined.public void setFormControlImplementationAttribute(String formControlImplementationValue)
FormControlImplementationAttribute , See form:control-implementation
formControlImplementationValue - The type is Stringpublic String getFormDatasourceAttribute()
FormDatasourceAttribute , See form:datasource
String , the value or null, if the attribute is not set and no default value defined.public void setFormDatasourceAttribute(String formDatasourceValue)
FormDatasourceAttribute , See form:datasource
formDatasourceValue - The type is Stringpublic String getFormDetailFieldsAttribute()
FormDetailFieldsAttribute , See form:detail-fields
String , the value or null, if the attribute is not set and no default value defined.public void setFormDetailFieldsAttribute(String formDetailFieldsValue)
FormDetailFieldsAttribute , See form:detail-fields
formDetailFieldsValue - The type is Stringpublic String getFormEnctypeAttribute()
FormEnctypeAttribute , See form:enctype
String , the value or null, if the attribute is not set and no default value defined.public void setFormEnctypeAttribute(String formEnctypeValue)
FormEnctypeAttribute , See form:enctype
formEnctypeValue - The type is Stringpublic Boolean getFormEscapeProcessingAttribute()
FormEscapeProcessingAttribute , See form:escape-processing
Boolean , the value or null, if the attribute is not set and no default value defined.public void setFormEscapeProcessingAttribute(Boolean formEscapeProcessingValue)
FormEscapeProcessingAttribute , See form:escape-processing
formEscapeProcessingValue - The type is Booleanpublic String getFormFilterAttribute()
FormFilterAttribute , See form:filter
String , the value or null, if the attribute is not set and no default value defined.public void setFormFilterAttribute(String formFilterValue)
FormFilterAttribute , See form:filter
formFilterValue - The type is Stringpublic Boolean getFormIgnoreResultAttribute()
FormIgnoreResultAttribute , See form:ignore-result
Boolean , the value or null, if the attribute is not set and no default value defined.public void setFormIgnoreResultAttribute(Boolean formIgnoreResultValue)
FormIgnoreResultAttribute , See form:ignore-result
formIgnoreResultValue - The type is Booleanpublic String getFormMasterFieldsAttribute()
FormMasterFieldsAttribute , See form:master-fields
String , the value or null, if the attribute is not set and no default value defined.public void setFormMasterFieldsAttribute(String formMasterFieldsValue)
FormMasterFieldsAttribute , See form:master-fields
formMasterFieldsValue - The type is Stringpublic String getFormMethodAttribute()
FormMethodAttribute , See form:method
String , the value or null, if the attribute is not set and no default value defined.public void setFormMethodAttribute(String formMethodValue)
FormMethodAttribute , See form:method
formMethodValue - The type is Stringpublic String getFormNameAttribute()
FormNameAttribute , See form:name
String , the value or null, if the attribute is not set and no default value defined.public void setFormNameAttribute(String formNameValue)
FormNameAttribute , See form:name
formNameValue - The type is Stringpublic String getFormNavigationModeAttribute()
FormNavigationModeAttribute , See form:navigation-mode
String , the value or null, if the attribute is not set and no default value defined.public void setFormNavigationModeAttribute(String formNavigationModeValue)
FormNavigationModeAttribute , See form:navigation-mode
formNavigationModeValue - The type is Stringpublic String getFormOrderAttribute()
FormOrderAttribute , See form:order
String , the value or null, if the attribute is not set and no default value defined.public void setFormOrderAttribute(String formOrderValue)
FormOrderAttribute , See form:order
formOrderValue - The type is Stringpublic String getFormTabCycleAttribute()
FormTabCycleAttribute , See form:tab-cycle
String , the value or null, if the attribute is not set and no default value defined.public void setFormTabCycleAttribute(String formTabCycleValue)
FormTabCycleAttribute , See form:tab-cycle
formTabCycleValue - The type is Stringpublic String getOfficeTargetFrameAttribute()
OfficeTargetFrameAttribute , See office:target-frame
String , the value or null, if the attribute is not set and no default value defined.public void setOfficeTargetFrameAttribute(String officeTargetFrameValue)
OfficeTargetFrameAttribute , See office:target-frame
officeTargetFrameValue - The type is Stringpublic String getXlinkActuateAttribute()
XlinkActuateAttribute , See xlink:actuate
String , the value or null, if the attribute is not set and no default value defined.public void setXlinkActuateAttribute(String xlinkActuateValue)
XlinkActuateAttribute , See xlink:actuate
xlinkActuateValue - The type is Stringpublic String getXlinkHrefAttribute()
XlinkHrefAttribute , See xlink:href
String , the value or null, if the attribute is not set and no default value defined.public void setXlinkHrefAttribute(String xlinkHrefValue)
XlinkHrefAttribute , See xlink:href
xlinkHrefValue - The type is Stringpublic String getXlinkTypeAttribute()
XlinkTypeAttribute , See xlink:type
String , the value or null, if the attribute is not set and no default value defined.public void setXlinkTypeAttribute(String xlinkTypeValue)
XlinkTypeAttribute , See xlink:type
xlinkTypeValue - The type is String
public FormButtonElement newFormButtonElement(String formImagePositionValue,
String xmlIdValue)
formImagePositionValue - the String value of FormImagePositionAttribute, see form:image-position at specificationxmlIdValue - the String value of XmlIdAttribute, see xml:id at specification
public FormCheckboxElement newFormCheckboxElement(String formImagePositionValue,
String xmlIdValue)
formImagePositionValue - the String value of FormImagePositionAttribute, see form:image-position at specificationxmlIdValue - the String value of XmlIdAttribute, see xml:id at specification
public FormComboboxElement newFormComboboxElement(String xmlIdValue)
xmlIdValue - the String value of XmlIdAttribute, see xml:id at specification
public FormConnectionResourceElement newFormConnectionResourceElement(String xlinkHrefValue)
xlinkHrefValue - the String value of XlinkHrefAttribute, see xlink:href at specification
public FormDateElement newFormDateElement(String xmlIdValue)
xmlIdValue - the String value of XmlIdAttribute, see xml:id at specification
public FormFileElement newFormFileElement(String xmlIdValue)
xmlIdValue - the String value of XmlIdAttribute, see xml:id at specification
public FormFixedTextElement newFormFixedTextElement(String xmlIdValue)
xmlIdValue - the String value of XmlIdAttribute, see xml:id at specification
public FormFormElement newFormFormElement()
public FormFormattedTextElement newFormFormattedTextElement(String xmlIdValue)
xmlIdValue - the String value of XmlIdAttribute, see xml:id at specification
public FormFrameElement newFormFrameElement(String xmlIdValue)
xmlIdValue - the String value of XmlIdAttribute, see xml:id at specification
public FormGenericControlElement newFormGenericControlElement(String xmlIdValue)
xmlIdValue - the String value of XmlIdAttribute, see xml:id at specification
public FormGridElement newFormGridElement(String xmlIdValue)
xmlIdValue - the String value of XmlIdAttribute, see xml:id at specification
public FormHiddenElement newFormHiddenElement(String xmlIdValue)
xmlIdValue - the String value of XmlIdAttribute, see xml:id at specification
public FormImageElement newFormImageElement(String xmlIdValue)
xmlIdValue - the String value of XmlIdAttribute, see xml:id at specification
public FormImageFrameElement newFormImageFrameElement(String xmlIdValue)
xmlIdValue - the String value of XmlIdAttribute, see xml:id at specification
public FormListboxElement newFormListboxElement(String xmlIdValue)
xmlIdValue - the String value of XmlIdAttribute, see xml:id at specification
public FormNumberElement newFormNumberElement(String xmlIdValue)
xmlIdValue - the String value of XmlIdAttribute, see xml:id at specification
public FormPasswordElement newFormPasswordElement(String xmlIdValue)
xmlIdValue - the String value of XmlIdAttribute, see xml:id at specification
public FormPropertiesElement newFormPropertiesElement()
public FormRadioElement newFormRadioElement(String formImagePositionValue,
String xmlIdValue)
formImagePositionValue - the String value of FormImagePositionAttribute, see form:image-position at specificationxmlIdValue - the String value of XmlIdAttribute, see xml:id at specification
public FormTextElement newFormTextElement(String xmlIdValue)
xmlIdValue - the String value of XmlIdAttribute, see xml:id at specification
public FormTextareaElement newFormTextareaElement(String xmlIdValue)
xmlIdValue - the String value of XmlIdAttribute, see xml:id at specification
public FormTimeElement newFormTimeElement(String xmlIdValue)
xmlIdValue - the String value of XmlIdAttribute, see xml:id at specification
public FormValueRangeElement newFormValueRangeElement(String xmlIdValue)
xmlIdValue - the String value of XmlIdAttribute, see xml:id at specification
public OfficeEventListenersElement newOfficeEventListenersElement()
public void accept(ElementVisitor visitor)
OdfElement
accept in class OdfElementvisitor - an instance of DefaultElementVisitor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||