public class SourceDocumentInformation
extends org.apache.uima.jcas.tcas.Annotation
| Modifier and Type | Field and Description |
|---|---|
static String |
_FeatName_documentSize |
static String |
_FeatName_lastSegment |
static String |
_FeatName_offsetInSource |
static String |
_FeatName_uri |
static String |
_TypeName |
static int |
type |
static int |
typeIndexID |
| Modifier | Constructor and Description |
|---|---|
protected |
SourceDocumentInformation()
Never called.
|
|
SourceDocumentInformation(org.apache.uima.jcas.JCas jcas) |
|
SourceDocumentInformation(org.apache.uima.jcas.JCas jcas,
int begin,
int end) |
|
SourceDocumentInformation(org.apache.uima.cas.impl.TypeImpl type,
org.apache.uima.cas.impl.CASImpl casImpl)
Internal - constructor used by generator
|
| Modifier and Type | Method and Description |
|---|---|
int |
getDocumentSize()
getter for documentSize - gets Size of original document in bytes before processing by CAS Initializer.
|
boolean |
getLastSegment()
getter for lastSegment - gets For a CAS that represents a segment of a larger source document, this flag indicates whether this CAS is the final segment of the source document.
|
int |
getOffsetInSource()
getter for offsetInSource - gets Byte offset of the start of document content within original source file or other input source.
|
int |
getTypeIndexID() |
String |
getUri()
getter for uri - gets URI of document.
|
void |
setDocumentSize(int v)
setter for documentSize - sets Size of original document in bytes before processing by CAS Initializer.
|
void |
setLastSegment(boolean v)
setter for lastSegment - sets For a CAS that represents a segment of a larger source document, this flag indicates whether this CAS is the final segment of the source document.
|
void |
setOffsetInSource(int v)
setter for offsetInSource - sets Byte offset of the start of document content within original source file or other input source.
|
void |
setUri(String v)
setter for uri - sets URI of document.
|
compareAnnotation, compareAnnotation, compareAnnotationWithId, compareAnnotationWithId, getBegin, getCoveredText, getEnd, getStart, setBegin, setEndgetSofa, getView, setFeatureValue_createJCasHashMapReserve, _createSearchKey_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, wrapGetIntCatchExceptionfinalize, getClass, notify, notifyAll, wait, wait, wait_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, setStringValuepublic static final String _TypeName
public static final int typeIndexID
public static final int type
public static final String _FeatName_uri
public static final String _FeatName_offsetInSource
public static final String _FeatName_documentSize
public static final String _FeatName_lastSegment
protected SourceDocumentInformation()
public SourceDocumentInformation(org.apache.uima.cas.impl.TypeImpl type,
org.apache.uima.cas.impl.CASImpl casImpl)
casImpl - the CAS this Feature Structure belongs totype - the type of this Feature Structurepublic SourceDocumentInformation(org.apache.uima.jcas.JCas jcas)
jcas - JCas to which this Feature Structure belongspublic SourceDocumentInformation(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 org.apache.uima.jcas.tcas.Annotationpublic String getUri()
public void setUri(String v)
v - value to set into the featurepublic int getOffsetInSource()
public void setOffsetInSource(int v)
v - value to set into the featurepublic int getDocumentSize()
public void setDocumentSize(int v)
v - value to set into the featurepublic boolean getLastSegment()
public void setLastSegment(boolean v)
v - value to set into the featureCopyright © 2006–2018 The Apache Software Foundation. All rights reserved.