public class Sentence
extends atg.search.routing.command.SearchXMLObject
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Constructor and Description |
---|
Sentence() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object pObject) |
protected void |
getAttributeXML(java.lang.StringBuilder sb) |
protected void |
getBodyXML(java.lang.StringBuilder sb) |
int |
getEnd()
Returns the sentence ending offset within item text
|
java.util.List<java.lang.String> |
getFeatureList()
Returns the list of features
|
java.lang.String |
getFeatures()
See
getFeatureList() for the processed list. |
java.lang.String |
getField()
Returns the sentence's field
|
int |
getId()
Returns the sentence index within item
|
java.lang.String |
getRequestTag() |
java.lang.String |
getSentenceValue()
Returns the sentence value
|
int |
getStart()
Returns the sentence beginning offset within item text
|
java.lang.String |
getTag()
Returns the optional field tag
|
int |
hashCode() |
void |
setEnd(int pEnd)
Sets the sentence ending offset within item text
|
void |
setFeatureList(java.util.List<java.lang.String> pFeatureList)
Sets the list of features
|
void |
setFeatures(java.lang.String pFeatures)
Sets the unprocessed text fields
|
void |
setField(java.lang.String pField)
Sets the sentence's field
|
void |
setId(int pId)
Sets the sentence index within item
|
void |
setSentenceValue(java.lang.String pSentenceValue)
Sets the sentence value
|
void |
setStart(int pStart)
Sets the sentence beginning offset within item text
|
void |
setTag(java.lang.String pTag)
Sets the optional field tag
|
appendComplexXml, appendOptionalAttr, appendOptionalElem, appendOptionalElem, appendOptionalElem, appendOptionalValue, appendRequiredAttr, appendRequiredElem, appendRequiredElem, appendRequiredValue, getAllAttributeXML, getAllBodyXML, getDefaultXmlBytes, getParentXMLObject, getXmlPath, isPrintedFirstChild, setParentXMLObject, setPrintedFirstChild, toString, toXML, toXML
public boolean equals(java.lang.Object pObject)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String getSentenceValue()
public void setSentenceValue(java.lang.String pSentenceValue)
pSentenceValue
- the sentence valuepublic int getId()
public void setId(int pId)
pId
- sentence index within itempublic int getStart()
public void setStart(int pStart)
pStart
- the sentence beginning offset within item textpublic int getEnd()
public void setEnd(int pEnd)
pEnd
- sentence ending offset within item textpublic java.lang.String getTag()
public void setTag(java.lang.String pTag)
pTag
- optional field tagpublic java.lang.String getFeatures()
getFeatureList()
for the processed list.public void setFeatures(java.lang.String pFeatures)
pFeatures
- unprocessed text fieldspublic java.lang.String getField()
public void setField(java.lang.String pField)
pField
- the sentence's fieldpublic void setFeatureList(java.util.List<java.lang.String> pFeatureList)
pFeatureList
- the list of featurespublic java.util.List<java.lang.String> getFeatureList()
public java.lang.String getRequestTag()
getRequestTag
in class atg.search.routing.command.SearchXMLObject
protected void getAttributeXML(java.lang.StringBuilder sb) throws atg.search.routing.command.IncompleteCommandException
getAttributeXML
in class atg.search.routing.command.SearchXMLObject
atg.search.routing.command.IncompleteCommandException
protected void getBodyXML(java.lang.StringBuilder sb) throws atg.search.routing.command.IncompleteCommandException
getBodyXML
in class atg.search.routing.command.SearchXMLObject
atg.search.routing.command.IncompleteCommandException