Cloneable
, org.apache.uima.cas.AnnotationBaseFS
, org.apache.uima.cas.FeatureStructure
, org.apache.uima.cas.text.AnnotationFS
public class XMLElement extends XmlNodeAnnotation
Modifier and Type | Field | Description |
---|---|---|
static int |
type |
|
static int |
typeIndexID |
Modifier | Constructor | Description |
---|---|---|
protected |
XMLElement() |
Never called.
|
|
XMLElement(int addr,
org.apache.uima.jcas.cas.TOP_Type type) |
Internal - constructor used by generator
|
|
XMLElement(org.apache.uima.jcas.JCas jcas) |
|
|
XMLElement(org.apache.uima.jcas.JCas jcas,
int begin,
int end) |
Modifier and Type | Method | Description |
---|---|---|
String |
getAttributes() |
getter for Attributes - gets
|
String |
getCls() |
getter for Cls - gets
|
String |
getId() |
getter for Id - gets
|
String |
getSelector() |
getter for Selector - gets
|
String |
getTag() |
getter for Tag - gets
|
int |
getTypeIndexID() |
|
void |
setAttributes(String v) |
setter for Attributes - sets
|
void |
setCls(String v) |
setter for Cls - sets
|
void |
setId(String v) |
setter for Id - sets
|
void |
setSelector(String v) |
setter for Selector - sets
|
void |
setTag(String v) |
setter for Tag - sets
|
getBegin, getCoveredText, getEnd, getStart, setBegin, setEnd
clone, equals, getBooleanValue, getByteValue, getCAS, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, hashCode, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue
clone, getavoidcollisionTypeCode, getBooleanValue, getByteValue, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, prettyPrint, prettyPrint, prettyPrint, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue, toString, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
addToIndexes, addToIndexes, equals, getAddress, getCAS, getCASImpl, getLowLevelCas, hashCode, removeFromIndexes, removeFromIndexes
getOuterHtml, setOuterHtml
protected XMLElement()
public XMLElement(int addr, org.apache.uima.jcas.cas.TOP_Type type)
addr
- low level Feature Structure referencetype
- the type of this Feature Structurepublic XMLElement(org.apache.uima.jcas.JCas jcas)
jcas
- JCas to which this Feature Structure belongspublic XMLElement(org.apache.uima.jcas.JCas jcas, int begin, int end)
jcas
- JCas to which this Feature Structure belongsbegin
- offset to the begin spot in the SofAend
- offset to the end spot in the SofApublic int getTypeIndexID()
getTypeIndexID
in class XmlNodeAnnotation
public String getTag()
public void setTag(String v)
v
- value to set into the featurepublic String getId()
public void setId(String v)
v
- value to set into the featurepublic String getCls()
public void setCls(String v)
v
- value to set into the featurepublic String getSelector()
public void setSelector(String v)
v
- value to set into the featurepublic String getAttributes()
public void setAttributes(String v)
v
- value to set into the featureCopyright © 2018. All rights reserved.