org.apache.uima.search
Interface Attribute

All Superinterfaces:
Serializable, XMLizable

public interface Attribute
extends XMLizable, Serializable

A simple name, value pair that is specified as part of a Style to further define its behavior.

This object implements the XMLizable interface and can be parsed from an XML representation.


Method Summary
 String getName()
          Gets the name of this attribute.
 String getValue()
          Gets the value of this attribute.
 void setName(String aName)
          Sets the name of this attribute.
 void setValue(String aValue)
          Sets the value of this attribute.
 
Methods inherited from interface org.apache.uima.util.XMLizable
buildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXML
 

Method Detail

getName

String getName()
Gets the name of this attribute.

Returns:
the name of this attribute

setName

void setName(String aName)
Sets the name of this attribute.

Parameters:
aName - the name of this attribute

getValue

String getValue()
Gets the value of this attribute.

Returns:
the value of this attribute

setValue

void setValue(String aValue)
Sets the value of this attribute.

Parameters:
aValue - the value of this attribute


Copyright © 2010 The Apache Software Foundation. All Rights Reserved.