|
FantasySportsModule 0.0.2-dev | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.fanfoot.scoring.EventPattern
A pattern with which to identify events that may affect fantasy scores in a textual commentary or set of statistics.
Constructor Summary | |
EventPattern(org.w3c.dom.Node node)
Creates a new instance of Pattern |
Method Summary | |
java.lang.String |
getCapturingGroup(int index)
Indexed getter for property capturingGroup. |
java.lang.String |
getPartName(int index)
Get the part name for the indicate capturing group |
java.util.regex.Pattern |
getRegexPattern()
Getter for property regexPattern. |
java.lang.String |
getType()
Getter for property type. |
void |
setCapturingGroup(int index,
java.lang.String capturingGroupName)
Indexed setter for property capturingGroup. |
void |
setRegexPattern(java.util.regex.Pattern regexPattern)
Setter for property regexPattern. |
void |
setType(java.lang.String type)
Setter for property type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EventPattern(org.w3c.dom.Node node)
node
- a DOM node taken from a configuration file describing
an event patternMethod Detail |
public java.util.regex.Pattern getRegexPattern()
public void setRegexPattern(java.util.regex.Pattern regexPattern)
regexPattern
- New value of property regexPattern.public java.lang.String getCapturingGroup(int index)
index
- Index of the property.
index
.public java.lang.String getPartName(int index)
index
- Index of the property.
index
.public void setCapturingGroup(int index, java.lang.String capturingGroupName)
index
- Index of the property.capturingGroupName
- New value of the property at index
.public java.lang.String getType()
public void setType(java.lang.String type)
type
- New value of property type.
|
FantasySportsModule 0.0.2-dev | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |