public class ConfigurationGroup_impl extends MetaDataObject_impl implements ConfigurationGroup
ConfigurationGroup.MetaDataObject_impl.MetaDataAttr, MetaDataObject_impl.SerialContext, MetaDataObject_impl.SerializerserialContext| Constructor and Description |
|---|
ConfigurationGroup_impl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addConfigurationParameter(ConfigurationParameter aConfigurationParameter)
Adds a Configuration Parameter to this group.
|
void |
buildFromXMLElement(Element aElement,
XMLParser aParser,
XMLParser.ParsingOptions aOptions)
Overridden to read
names property from XML attribute. |
ConfigurationParameter[] |
getConfigurationParameters()
Gets the configuration parameters in this group.
|
String[] |
getNames()
Gets the group names for this
ConfigurationGroup object. |
protected AttributesImpl |
getXMLAttributes()
Overridden to write the
names property as an XML attribute. |
protected XmlizationInfo |
getXmlizationInfo()
To be implemented by subclasses to return information describing how to represent this object
in XML.
|
void |
removeConfigurationParameter(ConfigurationParameter aConfigurationParameter)
Removes an Configuration Parameter from this group.
|
void |
setConfigurationParameters(ConfigurationParameter[] aParams)
Sets the configuration parameters in this group.
|
void |
setNames(String[] aNames)
Sets the group names for this
ConfigurationGroup object. |
buildFromXMLElement, clone, equals, getAdditionalAttributes, getAttributeClass, getAttributeValue, getInfoset, getMatchingNode, getPropertyDescriptors, getPropertyXmlInfo, getRelativePathBase, getSerialContext, getSourceUrl, getSourceUrlString, getWrapperClass, hashCode, isModifiable, listAttributes, readArrayPropertyValueFromXMLElement, readMapPropertyFromXml, readPropertyValueFromXMLElement, readUnknownPropertyValueFromXMLElement, resolveSettings, setAttributeValue, setInfoset, setSourceUrl, setSourceUrlIfNull, toString, toXML, toXML, toXML, toXML, valueIsNullOrEmptyArray, writeArrayPropertyAsElement, writeMapPropertyToXml, writePropertyAsElementfinalize, getClass, notify, notifyAll, wait, wait, waitclone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrlpublic String[] getNames()
ConfigurationGroupConfigurationGroup object.getNames in interface ConfigurationGroupConfigurationGroup.getNames()public void setNames(String[] aNames)
ConfigurationGroupConfigurationGroup object.setNames in interface ConfigurationGroupaNames - an array of group names. Names are not allowed to contain whitespace.ConfigurationGroup.setNames(java.lang.String[])public ConfigurationParameter[] getConfigurationParameters()
ConfigurationGroupgetConfigurationParameters in interface ConfigurationGroupConfigurationParameter objects, each of which describes a
configuration parameter in this group.ConfigurationGroup.getConfigurationParameters()public void setConfigurationParameters(ConfigurationParameter[] aParams)
ConfigurationGroupsetConfigurationParameters in interface ConfigurationGroupaParams - an array containing ConfigurationParameter objects, each of which describes a
configuration parameter in this group.ConfigurationGroup.setConfigurationParameters(ConfigurationParameter[])public void addConfigurationParameter(ConfigurationParameter aConfigurationParameter)
ConfigurationGroupaddConfigurationParameter in interface ConfigurationGroupaConfigurationParameter - the Configuration Parameter to addpublic void removeConfigurationParameter(ConfigurationParameter aConfigurationParameter)
ConfigurationGroupremoveConfigurationParameter in interface ConfigurationGroupaConfigurationParameter - the Configuration Parameter to remove (must be == with an ConfigurationParameter in
this group, or this method will do nothing).protected AttributesImpl getXMLAttributes()
names property as an XML attribute.getXMLAttributes in class MetaDataObject_implMetaDataObject_impl.getXMLAttributes()public void buildFromXMLElement(Element aElement, XMLParser aParser, XMLParser.ParsingOptions aOptions) throws InvalidXMLException
names property from XML attribute.buildFromXMLElement in interface XMLizablebuildFromXMLElement in class MetaDataObject_implaElement - the XML element that represents this object.aParser - a reference to the UIMA XMLParser. The
XMLParser.buildObject(Element) method can be used to construct sub-objects.aOptions - option settingsInvalidXMLException - if the input XML element does not specify a valid objectXMLizable.buildFromXMLElement(org.w3c.dom.Element,
org.apache.uima.util.XMLParser)protected XmlizationInfo getXmlizationInfo()
MetaDataObject_implgetXmlizationInfo in class MetaDataObject_implMetaDataObject_impl.getXmlizationInfo()Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.