public class FsIndexKeyDescription_impl extends MetaDataObject_impl implements FsIndexKeyDescription
REVERSE_STANDARD_COMPARE, STANDARD_COMPARE| Constructor and Description |
|---|
FsIndexKeyDescription_impl() |
| Modifier and Type | Method and Description |
|---|---|
int |
getComparator()
Gets the comparator for this key.
|
java.lang.String |
getFeatureName()
Gets the name of the key's Feature.
|
protected XmlizationInfo |
getXmlizationInfo()
To be implemented by subclasses to return information describing how to represent this object
in XML.
|
boolean |
isTypePriority()
Gets whether this is a special "type priority" key.
|
protected void |
readPropertyValueFromXMLElement(PropertyXmlInfo aPropXmlInfo,
org.w3c.dom.Element aElement,
XMLParser aParser,
XMLParser.ParsingOptions aOptions)
Overridden to handle XML import of the
typePriority and comparator
properties. |
void |
setComparator(int aComparator)
Sets the comparator for this key.
|
void |
setFeatureName(java.lang.String aName)
Sets the name of the key's Feature.
|
void |
setTypePriority(boolean aTypePriority)
Gets whether this is a special "type priority" key.
|
protected void |
writePropertyAsElement(PropertyXmlInfo aPropInfo,
java.lang.String aNamespace,
org.xml.sax.ContentHandler aContentHandler)
Overridden to handle XML export of the
typePriority and comparator
properties. |
buildFromXMLElement, buildFromXMLElement, clone, equals, getAttributeClass, getAttributeValue, getPropertyDescriptors, getPropertyXmlInfo, getRelativePathBase, getSourceUrl, getSourceUrlString, getWrapperClass, getXMLAttributes, hashCode, isModifiable, listAttributes, readArrayPropertyValueFromXMLElement, readMapPropertyFromXml, readUnknownPropertyValueFromXMLElement, setAttributeValue, setSourceUrl, setSourceUrlIfNull, toString, toXML, toXML, toXML, toXML, writeArrayPropertyAsElement, writeMapPropertyToXmlfinalize, getClass, notify, notifyAll, wait, wait, waitclone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrlbuildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXMLpublic boolean isTypePriority()
FsIndexKeyDescriptionTypePriorities defined for
that Analysis Engine.
Type priority keys ignore any values assigned to the featureName and
comaprator properties.
isTypePriority in interface FsIndexKeyDescriptionorg.apache.uima.analysis_engine.metadata.FsIndexKeyDescription#isTypePriority()public void setTypePriority(boolean aTypePriority)
FsIndexKeyDescriptionTypePriorities defined for
that Analysis Engine.
Type priority keys ignore any values assigned to the featureName and
comaprator properties.
setTypePriority in interface FsIndexKeyDescriptionaTypePriority - true if and only if this is a type priority keyorg.apache.uima.analysis_engine.metadata.FsIndexKeyDescription#setTypePriority(boolean)public java.lang.String getFeatureName()
FsIndexKeyDescriptiongetFeatureName in interface FsIndexKeyDescriptionorg.apache.uima.cas.FsIndexKeyDescription#getFeatureName()public void setFeatureName(java.lang.String aName)
FsIndexKeyDescriptionsetFeatureName in interface FsIndexKeyDescriptionaName - the name of this key's Featureorg.apache.uima.cas.FsIndexKeyDescription#setFeatureName(String)public int getComparator()
FsIndexKeyDescriptiongetComparator in interface FsIndexKeyDescriptionorg.apache.uima.cas.FsIndexKeyDescription#getComparator()public void setComparator(int aComparator)
FsIndexKeyDescriptionsetComparator in interface FsIndexKeyDescriptionaComparator - this key's comparatororg.apache.uima.cas.FsIndexKeyDescription#setComparator(int)protected void writePropertyAsElement(PropertyXmlInfo aPropInfo, java.lang.String aNamespace, org.xml.sax.ContentHandler aContentHandler) throws org.xml.sax.SAXException
typePriority and comparator
properties.writePropertyAsElement in class MetaDataObject_implaPropInfo - information on how to represent the property in XMLaNamespace - XML namespace URI for this objectaContentHandler - content handler to which this object will send events that describe its XML
representationorg.xml.sax.SAXExceptionorg.apache.uima.MetaDataObject_impl#writeAttributeAsElement(String,Class,Object,String,ContentHandler)protected void readPropertyValueFromXMLElement(PropertyXmlInfo aPropXmlInfo, org.w3c.dom.Element aElement, XMLParser aParser, XMLParser.ParsingOptions aOptions) throws InvalidXMLException
typePriority and comparator
properties.readPropertyValueFromXMLElement in class MetaDataObject_implaPropXmlInfo - information about the property to readaElement - DOM element to read fromaParser - parser to use to construct complex valuesaOptions - option settingsInvalidXMLExceptionorg.apache.uima.resource.impl.MetaDataObject_impl#readPropertyValueFromXMLElement(org.apache.uima.resource.impl.PropertyXmlInfo,
org.w3c.dom.Element, org.apache.uima.util.XMLParser)protected XmlizationInfo getXmlizationInfo()
MetaDataObject_implgetXmlizationInfo in class MetaDataObject_implCopyright © 2013. All Rights Reserved.