|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteteg.sinon.core.DataExtraction
public class DataExtraction
Class that represents a data extraction from a page. Classe que implementa a extração de um determinado dado de uma página.
Constructor Summary | |
---|---|
DataExtraction()
Constructor without parameters. |
Method Summary | |
---|---|
void |
addStep(Step step)
Adds a Step to this data extraction. |
DataExtraction |
copy()
Creates and returns a copy of this object. |
java.lang.String |
getId()
Returns the value of the id property. |
Step[] |
getSteps()
Returns the value of the steps property. |
java.lang.String |
getValueOnError()
Returns the value of the valueOnError property. |
boolean |
isAction()
Returns false . |
boolean |
isAllowDuplicates()
Returns the value of the allowDuplicates property. |
boolean |
isDataExtraction()
Returns true . |
boolean |
isFailOnError()
Returns the value of the failOnError property. |
boolean |
isLoop()
Returns false . |
boolean |
isMultivalued()
Returns the value of the multivalued property. |
boolean |
isPositioningStep()
Returns false . |
boolean |
isResetPositionNeeded()
Returns the value of the resetPositionNeeded property. |
boolean |
isTrimValueNeeded()
Returns the value of the trimValueNeeded property. |
void |
setAllowDuplicates(boolean allowDuplicates)
Sets the value of the allowDuplicates property. |
void |
setFailOnError(boolean failOnError)
Sets the value of the failOnError property. |
void |
setId(java.lang.String id)
Sets the value of the id property. |
void |
setMultivalued(boolean multiValued)
Sets the value of the multiValued property. |
void |
setResetPositionNeeded(boolean resetPositionNeeded)
Sets the value of the resetPositionNeeded property. |
void |
setTrimValueNeeded(boolean trimValueNeeded)
Sets the value of the trimValueNeeded property. |
void |
setValueOnError(java.lang.String valueOnError)
Sets the value of the valueOnError property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataExtraction()
Method Detail |
---|
public java.lang.String getId()
id
property.
String
.public void setId(java.lang.String id)
id
property.
id
- the new id
value.public boolean isTrimValueNeeded()
trimValueNeeded
property.
boolean
.public void setTrimValueNeeded(boolean trimValueNeeded)
trimValueNeeded
property.
trimValueNeeded
- the new trimValueNeeded
value.public boolean isResetPositionNeeded()
resetPositionNeeded
property.
boolean
.public void setResetPositionNeeded(boolean resetPositionNeeded)
resetPositionNeeded
property.
resetPositionNeeded
- the new resetPositionNeeded
value.public boolean isMultivalued()
multivalued
property.
boolean
.public void setMultivalued(boolean multiValued)
multiValued
property.
multiValued
- the new multivalued
value.public boolean isFailOnError()
failOnError
property.
boolean
.public void setFailOnError(boolean failOnError)
failOnError
property.
failOnError
- the new failOnError
value.public java.lang.String getValueOnError()
valueOnError
property.
String
.public void setValueOnError(java.lang.String valueOnError)
valueOnError
property.
valueOnError
- the new valueOnError
value.public void addStep(Step step)
Step
to this data extraction.
step
- a Step
instance.
java.lang.IllegalArgumentException
- if step
is
null
.public Step[] getSteps()
steps
property.
Step
array.public boolean isAllowDuplicates()
allowDuplicates
property.
boolean
.public void setAllowDuplicates(boolean allowDuplicates)
allowDuplicates
property.
allowDuplicates
- the new allowDuplicates
value.public DataExtraction copy()
DataExtraction
instance.public boolean isDataExtraction()
true
.
isDataExtraction
in interface Step
true
.public boolean isPositioningStep()
false
.
isPositioningStep
in interface Step
false
.public boolean isAction()
false
.
isAction
in interface Step
false
.public boolean isLoop()
false
.
isLoop
in interface Step
false
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |