public class WikipediaLink
extends org.apache.uima.jcas.tcas.Annotation
Modifier and Type | Field and Description |
---|---|
static int |
type |
static int |
typeIndexID |
Modifier | Constructor and Description |
---|---|
protected |
WikipediaLink()
Never called.
|
|
WikipediaLink(int addr,
org.apache.uima.jcas.cas.TOP_Type type)
Internal - constructor used by generator
|
|
WikipediaLink(org.apache.uima.jcas.JCas jcas) |
|
WikipediaLink(org.apache.uima.jcas.JCas jcas,
int begin,
int end) |
Modifier and Type | Method and Description |
---|---|
String |
getAnchor()
getter for Anchor - gets The anchor of the link
|
String |
getLinkType()
getter for LinkType - gets The type of the link, e.g.
|
String |
getTarget()
getter for Target - gets The link target url
|
int |
getTypeIndexID() |
void |
setAnchor(String v)
setter for Anchor - sets The anchor of the link
|
void |
setLinkType(String v)
setter for LinkType - sets The type of the link, e.g.
|
void |
setTarget(String v)
setter for Target - sets The link target url
|
getBegin, getCoveredText, getEnd, getStart, setBegin, setEnd
addToIndexes, addToIndexes, equals, getAddress, getCAS, getCASImpl, getLowLevelCas, hashCode, removeFromIndexes, removeFromIndexes
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
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
protected WikipediaLink()
public WikipediaLink(int addr, org.apache.uima.jcas.cas.TOP_Type type)
addr
- low level Feature Structure referencetype
- the type of this Feature Structurepublic WikipediaLink(org.apache.uima.jcas.JCas jcas)
jcas
- JCas to which this Feature Structure belongspublic WikipediaLink(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.Annotation
public String getLinkType()
public void setLinkType(String v)
v
- value to set into the featurepublic String getTarget()
public void setTarget(String v)
v
- value to set into the featurepublic String getAnchor()
public void setAnchor(String v)
v
- value to set into the featureCopyright © 2007–2018 Ubiquitous Knowledge Processing (UKP) Lab, Technische Universität Darmstadt. All rights reserved.