|
||||||||||
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.ConfigurationGroup_impl
public class ConfigurationGroup_impl
Reference implementation of ConfigurationGroup
.
Constructor Summary | |
---|---|
ConfigurationGroup_impl()
|
Method Summary | |
---|---|
void |
addConfigurationParameter(ConfigurationParameter aConfigurationParameter)
Adds a Configuration Parameter to this group. |
void |
buildFromXMLElement(org.w3c.dom.Element aElement,
XMLParser aParser,
XMLParser.ParsingOptions aOptions)
Overridden to read names property from XML attribute. |
ConfigurationParameter[] |
getConfigurationParameters()
Gets the configuration parameters in this group. |
java.lang.String[] |
getNames()
Gets the group names for this ConfigurationGroup object. |
protected org.xml.sax.helpers.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(java.lang.String[] aNames)
Sets the group names for this ConfigurationGroup object. |
Methods inherited from class org.apache.uima.resource.metadata.impl.MetaDataObject_impl |
---|
buildFromXMLElement, clone, equals, getAttributeClass, getAttributeValue, getPropertyDescriptors, getPropertyXmlInfo, getRelativePathBase, getSourceUrl, getSourceUrlString, getWrapperClass, hashCode, isModifiable, listAttributes, readArrayPropertyValueFromXMLElement, readMapPropertyFromXml, readPropertyValueFromXMLElement, readUnknownPropertyValueFromXMLElement, setAttributeValue, setSourceUrl, setSourceUrlIfNull, toString, toXML, toXML, toXML, toXML, writeArrayPropertyAsElement, writeMapPropertyToXml, writePropertyAsElement |
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, toXML, toXML, toXML, toXML |
Constructor Detail |
---|
public ConfigurationGroup_impl()
Method Detail |
---|
public java.lang.String[] getNames()
ConfigurationGroup
ConfigurationGroup object.
- Specified by:
getNames
in interface ConfigurationGroup
- Returns:
- an array of group names. Names are not allowed to contain
whitespace.
- See Also:
org.apache.uima.resource.ConfigurationGroup#getNames()
public void setNames(java.lang.String[] aNames)
ConfigurationGroup
ConfigurationGroup object.
- Specified by:
setNames
in interface ConfigurationGroup
- Parameters:
aNames
- an array of group names. Names are not allowed to
contain whitespace.- See Also:
org.apache.uima.resource.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.org.apache.uima.resource.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.org.apache.uima.resource.ConfigurationGroup#setConfigurationParameters(org.apache.uima.resource.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 org.xml.sax.helpers.AttributesImpl getXMLAttributes()
names
property as an XML attribute.
getXMLAttributes
in class MetaDataObject_impl
org.apache.uima.resource.impl.MetaDataObject_impl#getXMLAttributeString()
public void buildFromXMLElement(org.w3c.dom.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 settings
InvalidXMLException
- 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
org.apache.uima.resource.impl.MetaDataObject_impl#getXmlizationInfo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |