public class FsIndexKeyDescription_impl extends MetaDataObject_impl implements FsIndexKeyDescription
MetaDataObject_impl.MetaDataAttr, MetaDataObject_impl.SerialContext, MetaDataObject_impl.SerializerserialContextREVERSE_STANDARD_COMPARE, STANDARD_COMPARE| Constructor and Description |
|---|
FsIndexKeyDescription_impl() |
| Modifier and Type | Method and Description |
|---|---|
int |
getComparator()
Gets the comparator for this key.
|
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,
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(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,
String aNamespace)
Overridden to handle XML export of the
typePriority and comparator
properties. |
buildFromXMLElement, buildFromXMLElement, clone, equals, getAdditionalAttributes, getAttributeClass, getAttributeValue, getInfoset, getMatchingNode, getPropertyDescriptors, getPropertyXmlInfo, getRelativePathBase, getSerialContext, getSourceUrl, getSourceUrlString, getWrapperClass, getXMLAttributes, hashCode, isModifiable, listAttributes, readArrayPropertyValueFromXMLElement, readMapPropertyFromXml, readUnknownPropertyValueFromXMLElement, resolveSettings, setAttributeValue, setInfoset, setSourceUrl, setSourceUrlIfNull, toString, toXML, toXML, toXML, toXML, valueIsNullOrEmptyArray, 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
comparator properties.
isTypePriority in interface FsIndexKeyDescriptionFsIndexKeyDescription.isTypePriority()public void setTypePriority(boolean aTypePriority)
FsIndexKeyDescriptionTypePriorities defined for
that Analysis Engine.
Type priority keys ignore any values assigned to the featureName and
comparator properties.
setTypePriority in interface FsIndexKeyDescriptionaTypePriority - true if and only if this is a type priority keyFsIndexKeyDescription.setTypePriority(boolean)public String getFeatureName()
FsIndexKeyDescriptiongetFeatureName in interface FsIndexKeyDescriptionFsIndexKeyDescription.getFeatureName()public void setFeatureName(String aName)
FsIndexKeyDescriptionsetFeatureName in interface FsIndexKeyDescriptionaName - the name of this key's FeatureFsIndexKeyDescription.setFeatureName(String)public int getComparator()
FsIndexKeyDescriptiongetComparator in interface FsIndexKeyDescriptionFsIndexKeyDescription.getComparator()public void setComparator(int aComparator)
FsIndexKeyDescriptionsetComparator in interface FsIndexKeyDescriptionaComparator - this key's comparatorFsIndexKeyDescription.setComparator(int)protected void writePropertyAsElement(PropertyXmlInfo aPropInfo, String aNamespace) throws SAXException
typePriority and comparator
properties.writePropertyAsElement in class MetaDataObject_implaPropInfo - information on how to represent the property in XMLaNamespace - XML namespace URI for this object
representationSAXException - -MetaDataObject_impl.writePropertyAsElement(PropertyXmlInfo, String)protected void readPropertyValueFromXMLElement(PropertyXmlInfo aPropXmlInfo, 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 settingsInvalidXMLException - -MetaDataObject_impl.readPropertyValueFromXMLElement(PropertyXmlInfo, Element, XMLParser, org.apache.uima.util.XMLParser.ParsingOptions)protected XmlizationInfo getXmlizationInfo()
MetaDataObject_implgetXmlizationInfo in class MetaDataObject_implCopyright © 2006–2021 The Apache Software Foundation. All rights reserved.