Class XMLElement
java.lang.Object
org.apache.uima.cas.impl.FeatureStructureImplC
org.apache.uima.jcas.cas.TOP
org.apache.uima.jcas.cas.AnnotationBase
org.apache.uima.jcas.tcas.Annotation
de.unistuttgart.ims.uima.io.xml.type.XmlNodeAnnotation
de.unistuttgart.ims.uima.io.xml.type.XMLElement
- All Implemented Interfaces:
java.lang.Cloneable,org.apache.uima.cas.AnnotationBaseFS,org.apache.uima.cas.FeatureStructure,org.apache.uima.cas.impl.AnnotationBaseImpl,org.apache.uima.cas.impl.AnnotationImpl,org.apache.uima.cas.impl.FeatureStructureImpl,org.apache.uima.cas.text.AnnotationFS
public class XMLElement extends XmlNodeAnnotation
Updated by JCasGen Mon Mar 23 15:19:11 CET 2020
XML source: /Users/reiterns/Documents/Projects/generic-xml-reader/target/jcasgen/typesystem.xml
-
Nested Class Summary
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_FeatName_Attributesstatic java.lang.String_FeatName_Clsstatic java.lang.String_FeatName_Idstatic java.lang.String_FeatName_Selectorstatic java.lang.String_FeatName_Tagstatic java.lang.String_TypeNamestatic inttypestatic inttypeIndexIDFields inherited from class de.unistuttgart.ims.uima.io.xml.type.XmlNodeAnnotation
_FeatName_outerHtml -
Constructor Summary
Constructors Modifier Constructor Description protectedXMLElement()Deprecated.XMLElement(org.apache.uima.cas.impl.TypeImpl type, org.apache.uima.cas.impl.CASImpl casImpl)Internal - constructor used by generatorXMLElement(org.apache.uima.jcas.JCas jcas)XMLElement(org.apache.uima.jcas.JCas jcas, int begin, int end) -
Method Summary
Modifier and Type Method Description java.lang.StringgetAttributes()getter for Attributes - getsjava.lang.StringgetCls()getter for Cls - getsjava.lang.StringgetId()getter for Id - getsjava.lang.StringgetSelector()getter for Selector - getsjava.lang.StringgetTag()getter for Tag - getsintgetTypeIndexID()voidsetAttributes(java.lang.String v)setter for Attributes - setsvoidsetCls(java.lang.String v)setter for Cls - setsvoidsetId(java.lang.String v)setter for Id - setsvoidsetSelector(java.lang.String v)setter for Selector - setsvoidsetTag(java.lang.String v)setter for Tag - setsMethods inherited from class de.unistuttgart.ims.uima.io.xml.type.XmlNodeAnnotation
getOuterHtml, setOuterHtmlMethods inherited from class org.apache.uima.jcas.tcas.Annotation
compareAnnotation, compareAnnotation, compareAnnotationWithId, compareAnnotationWithId, getBegin, getCoveredText, getEnd, getStart, setBegin, setEndMethods inherited from class org.apache.uima.jcas.cas.AnnotationBase
getSofa, getView, setFeatureValueMethods inherited from class org.apache.uima.jcas.cas.TOP
_createJCasHashMapReserve, _createSearchKeyMethods inherited from class org.apache.uima.cas.impl.FeatureStructureImplC
_copyIntAndRefArraysEqTypesFrom, _copyIntAndRefArraysFrom, _copyIntArrayEqTypesFrom, _getBooleanValueNc, _getBooleanValueNc, _getByteValueNc, _getByteValueNc, _getDoubleValueNc, _getDoubleValueNc, _getFeatFromAdjOffset, _getFeatureValueNc, _getFeatureValueNc, _getFloatValueNc, _getFloatValueNc, _getIntLikeValue, _getIntValueNc, _getIntValueNc, _getLongValueNc, _getLongValueNc, _getRefValueCommon, _getShortValueNc, _getShortValueNc, _getStringValueNc, _getStringValueNc, _getTypeCode, _getTypeImpl, _getView, _id, _inSetSortedIndex, _isJCasHashMapReserve, _isPearTrampoline, _maybeGetBaseForPearFs, _maybeGetBaseForPearFs, _maybeGetPearFs, _maybeGetPearFs, _resetInSetSortedIndex, _setBooleanValueNcNj, _setBooleanValueNcNj, _setBooleanValueNfc, _setByteValueNcNj, _setByteValueNcNj, _setByteValueNfc, _setDoubleValueNcNj, _setDoubleValueNcNj, _setDoubleValueNfc, _setFeatureValueNcNj, _setFeatureValueNcNj, _setFeatureValueNcWj, _setFloatValueNcNj, _setFloatValueNcNj, _setFloatValueNfc, _setInSetSortedIndexed, _setIntLikeValue, _setIntLikeValueNcNj, _setIntValueCJ, _setIntValueNcNj, _setIntValueNcNj, _setIntValueNfc, _setIntValueNfcCJ, _setJCasHashMapReserve, _setLongValueCJ, _setLongValueNcNj, _setLongValueNcNj, _setLongValueNfc, _setLongValueNfcCJ, _setPearTrampoline, _setRefValueCJ, _setRefValueCommon, _setRefValueCommonWj, _setRefValueNfcCJ, _setShortValueNcNj, _setShortValueNcNj, _setShortValueNfc, _setStringValueNcNj, _setStringValueNcWj, _setStringValueNfc, _setTypeImpl, addStringOrPrimitive, addToIndexes, addToIndexes, addToIndexes, clone, compare, equals, getAddress, getBooleanValue, getByteValue, getCAS, getCASImpl, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getLowLevelCas, getShortValue, getStringValue, getType, hashCode, prettyPrint, prettyPrint, prettyPrint, prettyPrint, prettyPrint, prettyPrint, prettyPrintShort, removeFromIndexes, removeFromIndexes, removeFromIndexes, setBooleanValue, setByteValue, setDoubleValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue, toShortString, toString, toString, wrapGetIntCatchExceptionMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.uima.cas.FeatureStructure
_getTypeCode, _id, clone, equals, getAddress, getBooleanValue, getByteValue, getCAS, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getJCas, getLongValue, getShortValue, getStringValue, getType, hashCode, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue
-
Field Details
-
_TypeName
public static final java.lang.String _TypeName- See Also:
- Constant Field Values
-
typeIndexID
public static final int typeIndexID -
type
public static final int type -
_FeatName_Tag
public static final java.lang.String _FeatName_Tag- See Also:
- Constant Field Values
-
_FeatName_Id
public static final java.lang.String _FeatName_Id- See Also:
- Constant Field Values
-
_FeatName_Cls
public static final java.lang.String _FeatName_Cls- See Also:
- Constant Field Values
-
_FeatName_Selector
public static final java.lang.String _FeatName_Selector- See Also:
- Constant Field Values
-
_FeatName_Attributes
public static final java.lang.String _FeatName_Attributes- See Also:
- Constant Field Values
-
-
Constructor Details
-
XMLElement
@Deprecated protected XMLElement()Deprecated.Never called. Disable default constructor -
XMLElement
public XMLElement(org.apache.uima.cas.impl.TypeImpl type, org.apache.uima.cas.impl.CASImpl casImpl)Internal - constructor used by generator -
XMLElement
public XMLElement(org.apache.uima.jcas.JCas jcas) -
XMLElement
public XMLElement(org.apache.uima.jcas.JCas jcas, int begin, int end)
-
-
Method Details
-
getTypeIndexID
public int getTypeIndexID()- Overrides:
getTypeIndexIDin classXmlNodeAnnotation- Returns:
- index of the type
-
getTag
public java.lang.String getTag()getter for Tag - gets- Returns:
- value of the feature
-
setTag
public void setTag(java.lang.String v)setter for Tag - sets -
getId
public java.lang.String getId()getter for Id - gets- Returns:
- value of the feature
-
setId
public void setId(java.lang.String v)setter for Id - sets -
getCls
public java.lang.String getCls()getter for Cls - gets- Returns:
- value of the feature
-
setCls
public void setCls(java.lang.String v)setter for Cls - sets -
getSelector
public java.lang.String getSelector()getter for Selector - gets- Returns:
- value of the feature
-
setSelector
public void setSelector(java.lang.String v)setter for Selector - sets -
getAttributes
public java.lang.String getAttributes()getter for Attributes - gets- Returns:
- value of the feature
-
setAttributes
public void setAttributes(java.lang.String v)setter for Attributes - sets
-