public class ConfigurationGroup_impl extends MetaDataObject_impl implements ConfigurationGroup
ConfigurationGroup
.MetaDataObject_impl.MetaDataAttr, MetaDataObject_impl.SerialContext, MetaDataObject_impl.Serializer
serialContext
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, writePropertyAsElement
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrl
public String[] getNames()
ConfigurationGroup
ConfigurationGroup
object.getNames
in interface ConfigurationGroup
ConfigurationGroup.getNames()
public void setNames(String[] aNames)
ConfigurationGroup
ConfigurationGroup
object.setNames
in interface ConfigurationGroup
aNames
- an array of group names. Names are not allowed to
contain whitespace.ConfigurationGroup.setNames(java.lang.String[])
public ConfigurationParameter[] getConfigurationParameters()
ConfigurationGroup
getConfigurationParameters
in interface ConfigurationGroup
ConfigurationParameter
objects, each of which describes a
configuration parameter in this group.ConfigurationGroup.getConfigurationParameters()
public void setConfigurationParameters(ConfigurationParameter[] aParams)
ConfigurationGroup
setConfigurationParameters
in interface ConfigurationGroup
aParams
- an array containing ConfigurationParameter
objects, each of which describes a
configuration parameter in this group.ConfigurationGroup.setConfigurationParameters(ConfigurationParameter[])
public void addConfigurationParameter(ConfigurationParameter aConfigurationParameter)
ConfigurationGroup
addConfigurationParameter
in interface ConfigurationGroup
aConfigurationParameter
- the Configuration Parameter to addpublic void removeConfigurationParameter(ConfigurationParameter aConfigurationParameter)
ConfigurationGroup
removeConfigurationParameter
in interface ConfigurationGroup
aConfigurationParameter
- 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_impl
MetaDataObject_impl.getXMLAttributes()
public void buildFromXMLElement(Element aElement, XMLParser aParser, XMLParser.ParsingOptions aOptions) throws InvalidXMLException
names
property from XML attribute.buildFromXMLElement
in interface XMLizable
buildFromXMLElement
in class MetaDataObject_impl
aElement
- 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_impl
getXmlizationInfo
in class MetaDataObject_impl
MetaDataObject_impl.getXmlizationInfo()
Copyright © 2006–2021 The Apache Software Foundation. All rights reserved.