Class NameValuePair_impl
java.lang.Object
org.apache.uima.resource.metadata.impl.MetaDataObject_impl
org.apache.uima.resource.metadata.impl.NameValuePair_impl
- All Implemented Interfaces:
Serializable,Cloneable,MetaDataObject,NameValuePair,XMLizable
Reference implementation of
NameValuePair.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.uima.resource.metadata.impl.MetaDataObject_impl
MetaDataObject_impl.MetaDataAttr, MetaDataObject_impl.SerialContext, MetaDataObject_impl.Serializer -
Field Summary
Fields inherited from class org.apache.uima.resource.metadata.impl.MetaDataObject_impl
serialContext -
Constructor Summary
ConstructorsConstructorDescriptionCreates a newNameValuePair_implwith a null name and value.NameValuePair_impl(String aName, Object aValue) Creates a newNameValuePair_implwith the specified name and value. -
Method Summary
Modifier and TypeMethodDescriptiongetName()Gets the name.getValue()Gets the value.protected XmlizationInfoTo be implemented by subclasses to return information describing how to represent this object in XML.voidSets the name.voidSets the value.Methods inherited from class org.apache.uima.resource.metadata.impl.MetaDataObject_impl
buildFromXMLElement, buildFromXMLElement, clone, equals, getAdditionalAttributes, getAttributeClass, getAttributeValue, getInfoset, getMatchingNode, getPropertyDescriptors, getPropertyXmlInfo, getRelativePathBase, getSerialContext, getSourceUrl, getSourceUrlString, getWrapperClass, getXMLAttributes, hashCode, isModifiable, listAttributes, readArrayPropertyValueFromXMLElement, readMapPropertyFromXml, readPropertyValueFromXMLElement, readUnknownPropertyValueFromXMLElement, resolveSettings, setAttributeValue, setInfoset, setSourceUrl, setSourceUrlIfNull, toString, toXML, toXML, toXML, toXML, valueIsNullOrEmptyArray, writeArrayPropertyAsElement, writeMapPropertyToXml, writePropertyAsElementMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.uima.resource.metadata.MetaDataObject
clone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrlMethods inherited from interface org.apache.uima.util.XMLizable
buildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXML
-
Constructor Details
-
NameValuePair_impl
public NameValuePair_impl()Creates a newNameValuePair_implwith a null name and value. -
NameValuePair_impl
Creates a newNameValuePair_implwith the specified name and value.- Parameters:
aName- a nameaValue- a value
-
-
Method Details
-
getName
Gets the name.- Specified by:
getNamein interfaceNameValuePair- Returns:
- the name
-
setName
Sets the name.- Specified by:
setNamein interfaceNameValuePair- Parameters:
aName- a name
-
getValue
Gets the value.- Specified by:
getValuein interfaceNameValuePair- Returns:
- the value
-
setValue
Sets the value.- Specified by:
setValuein interfaceNameValuePair- Parameters:
aValue- a value
-
getXmlizationInfo
Description copied from class:MetaDataObject_implTo be implemented by subclasses to return information describing how to represent this object in XML.- Specified by:
getXmlizationInfoin classMetaDataObject_impl- Returns:
- information defining this object's XML representation
-