Class XMLResultValue
java.lang.Object
ca.phon.query.db.xml.XMLResultValue
- All Implemented Interfaces:
ResultValue,JAXBWrapper<ResultValueType>
A result value used in the
XMLResult.-
Method Summary
Modifier and TypeMethodDescriptiongetData()Gets the data for this result value.getMatcherGroup(int index) Get the value of the specified matcher group.intReturns the number of 'matcher' groups either that were produced by either regexMatchers orPhonexMatchers.getName()Get the name for this result valuegetRange()Gets the range for this result value.Gets the tier name for this result value.Get the JAXB element associated with this object.voidSets the data for this result value.voidSet the name for this result valuevoidSets the range for this result value.voidsetTierName(String tierName) Sets the tier name for this result value.
-
Method Details
-
getXMLObject
Get the JAXB element associated with this object.- Specified by:
getXMLObjectin interfaceJAXBWrapper<ResultValueType>- Returns:
-
getTierName
Description copied from interface:ResultValueGets the tier name for this result value.- Specified by:
getTierNamein interfaceResultValue- Returns:
- the tier name
-
setTierName
Description copied from interface:ResultValueSets the tier name for this result value.- Specified by:
setTierNamein interfaceResultValue- Parameters:
tierName- the tier name
-
getRange
Description copied from interface:ResultValueGets the range for this result value.- Specified by:
getRangein interfaceResultValue- Returns:
- the range
-
setRange
Description copied from interface:ResultValueSets the range for this result value.- Specified by:
setRangein interfaceResultValue- Parameters:
range- the range
-
getData
Description copied from interface:ResultValueGets the data for this result value.- Specified by:
getDatain interfaceResultValue- Returns:
- the data
-
setData
Description copied from interface:ResultValueSets the data for this result value.- Specified by:
setDatain interfaceResultValue- Parameters:
data- the data
-
getMatcherGroupCount
public int getMatcherGroupCount()Description copied from interface:ResultValueReturns the number of 'matcher' groups either that were produced by either regexMatchers orPhonexMatchers.- Specified by:
getMatcherGroupCountin interfaceResultValue- Returns:
- number of matcher groups
-
getMatcherGroup
Description copied from interface:ResultValueGet the value of the specified matcher group.- Specified by:
getMatcherGroupin interfaceResultValue- Parameters:
index-- Returns:
- value of the specified group
-
getName
Description copied from interface:ResultValueGet the name for this result value- Specified by:
getNamein interfaceResultValue- Returns:
- name if not specified this will be the same as the tier name
-
setName
Description copied from interface:ResultValueSet the name for this result value- Specified by:
setNamein interfaceResultValue- Parameters:
name-
-