public class FsIndexKeyDescription_impl extends MetaDataObject_impl implements FsIndexKeyDescription
MetaDataObject_impl.MetaDataAttr, MetaDataObject_impl.SerialContext, MetaDataObject_impl.Serializer
serialContext
REVERSE_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, writeMapPropertyToXml
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrl
buildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXML
public boolean isTypePriority()
FsIndexKeyDescription
TypePriorities
defined for
that Analysis Engine.
Type priority keys ignore any values assigned to the featureName
and
comparator
properties.
isTypePriority
in interface FsIndexKeyDescription
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
comparator
properties.
setTypePriority
in interface FsIndexKeyDescription
aTypePriority
- true if and only if this is a type priority keyFsIndexKeyDescription.setTypePriority(boolean)
public String getFeatureName()
FsIndexKeyDescription
getFeatureName
in interface FsIndexKeyDescription
FsIndexKeyDescription.getFeatureName()
public void setFeatureName(String aName)
FsIndexKeyDescription
setFeatureName
in interface FsIndexKeyDescription
aName
- the name of this key's FeatureFsIndexKeyDescription.setFeatureName(String)
public int getComparator()
FsIndexKeyDescription
getComparator
in interface FsIndexKeyDescription
FsIndexKeyDescription.getComparator()
public void setComparator(int aComparator)
FsIndexKeyDescription
setComparator
in interface FsIndexKeyDescription
aComparator
- this key's comparatorFsIndexKeyDescription.setComparator(int)
protected void writePropertyAsElement(PropertyXmlInfo aPropInfo, String aNamespace) throws 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 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_impl
aPropXmlInfo
- 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_impl
getXmlizationInfo
in class MetaDataObject_impl
Copyright © 2006–2021 The Apache Software Foundation. All rights reserved.