|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.uima.resource.metadata.impl.MetaDataObject_impl
org.apache.uima.resource.metadata.impl.FsIndexKeyDescription_impl
public class FsIndexKeyDescription_impl
Field Summary |
---|
Fields inherited from interface org.apache.uima.resource.metadata.FsIndexKeyDescription |
---|
REVERSE_STANDARD_COMPARE, STANDARD_COMPARE |
Constructor Summary | |
---|---|
FsIndexKeyDescription_impl()
|
Method Summary | |
---|---|
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. |
Methods inherited from class org.apache.uima.resource.metadata.impl.MetaDataObject_impl |
---|
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, writeMapPropertyToXml |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.uima.resource.metadata.MetaDataObject |
---|
clone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrl |
Methods inherited from interface org.apache.uima.util.XMLizable |
---|
buildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXML |
Constructor Detail |
---|
public FsIndexKeyDescription_impl()
Method Detail |
---|
public boolean isTypePriority()
FsIndexKeyDescription
TypePriorities
defined for
that Analysis Engine.
Type priority keys ignore any values assigned to the featureName
and
comaprator
properties.
isTypePriority
in interface FsIndexKeyDescription
org.apache.uima.analysis_engine.metadata.FsIndexKeyDescription#isTypePriority()
public void setTypePriority(boolean aTypePriority)
FsIndexKeyDescription
TypePriorities
defined for
that Analysis Engine.
Type priority keys ignore any values assigned to the featureName
and
comaprator
properties.
setTypePriority
in interface FsIndexKeyDescription
aTypePriority
- true if and only if this is a type priority keyorg.apache.uima.analysis_engine.metadata.FsIndexKeyDescription#setTypePriority(boolean)
public java.lang.String getFeatureName()
FsIndexKeyDescription
getFeatureName
in interface FsIndexKeyDescription
org.apache.uima.cas.FsIndexKeyDescription#getFeatureName()
public void setFeatureName(java.lang.String aName)
FsIndexKeyDescription
setFeatureName
in interface FsIndexKeyDescription
aName
- the name of this key's Featureorg.apache.uima.cas.FsIndexKeyDescription#setFeatureName(String)
public int getComparator()
FsIndexKeyDescription
getComparator
in interface FsIndexKeyDescription
org.apache.uima.cas.FsIndexKeyDescription#getComparator()
public void setComparator(int aComparator)
FsIndexKeyDescription
setComparator
in interface FsIndexKeyDescription
aComparator
- 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_impl
aPropInfo
- 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
representation
org.xml.sax.SAXException
org.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_impl
aPropXmlInfo
- information about the property to readaElement
- DOM element to read fromaParser
- parser to use to construct complex valuesaOptions
- option settings
InvalidXMLException
org.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_impl
getXmlizationInfo
in class MetaDataObject_impl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |