|
||||||||||
| 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.search.impl.Attribute_impl
public class Attribute_impl
| Constructor Summary | |
|---|---|
Attribute_impl()
|
|
| Method Summary | |
|---|---|
void |
buildFromXMLElement(org.w3c.dom.Element aElement,
XMLParser aParser,
XMLParser.ParsingOptions aOptions)
Overridden to read the name and value properties from XML attributes. |
java.lang.String |
getName()
Gets the name of this attribute. |
java.lang.String |
getValue()
Gets the value of this attribute. |
protected org.xml.sax.helpers.AttributesImpl |
getXMLAttributes()
Overridden to write the name and value properties as XML attributes. |
protected XmlizationInfo |
getXmlizationInfo()
To be implemented by subclasses to return information describing how to represent this object in XML. |
void |
setName(java.lang.String aName)
Sets the name of this attribute. |
void |
setValue(java.lang.String aValue)
Sets the value of this attribute. |
| 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.util.XMLizable |
|---|
buildFromXMLElement, toXML, toXML, toXML, toXML |
| Constructor Detail |
|---|
public Attribute_impl()
| Method Detail |
|---|
public java.lang.String getName()
Attribute
getName in interface Attributepublic void setName(java.lang.String aName)
Attribute
setName in interface AttributeaName - the name of this attributepublic java.lang.String getValue()
Attribute
getValue in interface Attributepublic void setValue(java.lang.String aValue)
Attribute
setValue in interface AttributeaValue - the value of this attributeprotected org.xml.sax.helpers.AttributesImpl getXMLAttributes()
getXMLAttributes in class MetaDataObject_implorg.apache.uima.resource.impl.MetaDataObject_impl#getXMLAttributeString()
public void buildFromXMLElement(org.w3c.dom.Element aElement,
XMLParser aParser,
XMLParser.ParsingOptions aOptions)
throws InvalidXMLException
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 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||