public static class SlateAllocationReader2.SlateXmlHandler
extends de.ims.icarus.xml.ContentHandler
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TAG_ATTRIBUTE
attributes: key
content: - |
static java.lang.String |
TAG_COMMENT
attributes: -
content: attach as global property |
static java.lang.String |
TAG_CONTENT
attributes: -
content: use as hint for span coverage |
static java.lang.String |
TAG_DESTINATION
attributes: type, id
content: - |
static java.lang.String |
TAG_DOCUMENT
attributes: id, name
content: - |
static java.lang.String |
TAG_LINK
attributes: id, annotator, tag_name
content: - |
static java.lang.String |
TAG_SEGMENT
attributes: id, annotator, start, end, tag_name
content: - |
static java.lang.String |
TAG_SOURCE
attributes: type, id
content: - |
static java.lang.String |
TAG_TEXT
attributes: -
content: ignore |
static java.lang.String |
TAG_VALUE
attributes: -
content: use as mapped content for surrounding key-value pair |
Constructor and Description |
---|
SlateAllocationReader2.SlateXmlHandler(DocumentSet documentSet,
de.ims.icarus.util.Options options) |
Modifier and Type | Method and Description |
---|---|
void |
endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName) |
protected CoreferenceAllocation |
getAllocation() |
protected void |
setAllocation(CoreferenceAllocation allocation) |
void |
startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attributes) |
bitText, bitValue, bitValue, booleanText, booleanValue, booleanValue, characters, clearText, doubleText, doubleValue, doubleValue, floatText, floatValue, floatValue, getText, intText, intValue, intValue, isIgnoreCharacters, longText, longValue, longValue, setIgnoreCharacters, stringValue
public static final java.lang.String TAG_DOCUMENT
public static final java.lang.String TAG_TEXT
public static final java.lang.String TAG_COMMENT
public static final java.lang.String TAG_SEGMENT
public static final java.lang.String TAG_CONTENT
public static final java.lang.String TAG_ATTRIBUTE
public static final java.lang.String TAG_VALUE
public static final java.lang.String TAG_LINK
public static final java.lang.String TAG_SOURCE
public static final java.lang.String TAG_DESTINATION
public SlateAllocationReader2.SlateXmlHandler(DocumentSet documentSet, de.ims.icarus.util.Options options)
protected CoreferenceAllocation getAllocation()
protected void setAllocation(CoreferenceAllocation allocation)
public void startElement(java.lang.String uri, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes attributes) throws org.xml.sax.SAXException
startElement
in interface org.xml.sax.ContentHandler
startElement
in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXException
public void endElement(java.lang.String uri, java.lang.String localName, java.lang.String qName) throws org.xml.sax.SAXException
endElement
in interface org.xml.sax.ContentHandler
endElement
in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXException