public class SourceDocumentInformation
extends org.apache.uima.jcas.tcas.Annotation
| Modifier and Type | Field and Description |
|---|---|
static int |
type |
static int |
typeIndexID |
| Modifier | Constructor and Description |
|---|---|
protected |
SourceDocumentInformation()
Never called.
|
|
SourceDocumentInformation(int addr,
org.apache.uima.jcas.cas.TOP_Type type)
Internal - constructor used by generator
|
|
SourceDocumentInformation(org.apache.uima.jcas.JCas jcas) |
|
SourceDocumentInformation(org.apache.uima.jcas.JCas jcas,
int begin,
int end) |
| 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.
|
getBegin, getCoveredText, getEnd, getStart, setBegin, setEndaddToIndexes, addToIndexes, equals, getAddress, getCAS, getCASImpl, getLowLevelCas, hashCode, removeFromIndexes, removeFromIndexesclone, 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, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitclone, equals, getBooleanValue, getByteValue, getCAS, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, hashCode, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValueprotected SourceDocumentInformation()
public SourceDocumentInformation(int addr,
org.apache.uima.jcas.cas.TOP_Type type)
public SourceDocumentInformation(org.apache.uima.jcas.JCas jcas)
public SourceDocumentInformation(org.apache.uima.jcas.JCas jcas,
int begin,
int end)
public int getTypeIndexID()
getTypeIndexID in class org.apache.uima.jcas.tcas.Annotationpublic String getUri()
public void setUri(String v)
public int getOffsetInSource()
public void setOffsetInSource(int v)
public int getDocumentSize()
public void setDocumentSize(int v)
public boolean getLastSegment()
public void setLastSegment(boolean v)
Copyright © 2006–2014 The Apache Software Foundation. All rights reserved.