|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.activemath.omdocjdom.MDAttribute
public class MDAttribute
A pair value and name that's an attribute of an item. This is also a simple class with static members to describe the possible (symbolic) attributes of an item.
| Field Summary | |
|---|---|
static Set |
attributeNames
The set of element names which are attribute names. |
| Constructor Summary | |
|---|---|
MDAttribute(String attName,
String attValue)
|
|
| Method Summary | |
|---|---|
static List |
computeValueListCenteredAt(String attName,
String value)
Computes an ordered list of the possible values for this attribute-name centered at the value. |
String |
getAttName()
|
String |
getAttValue()
|
static List |
getMDAttributes(OJElement elt)
|
static Set |
getPossibleAttributeNames()
|
static List |
getPossibleAttributeValueList(String attributeName)
|
static Set |
getPossibleAttributeValueSet(String attributeName)
Returns the set of possible values for the named attribute. |
static Iterator |
readMDAttributesIN(OJElement elt)
Returns an iterator on all attributes of the given item, possibly taking metadata and extradata before. |
void |
setAttName(String attName)
|
void |
setAttValue(String attValue)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static Set attributeNames
extradataelement in the ActiveMath namespace.
| Constructor Detail |
|---|
public MDAttribute(String attName,
String attValue)
| Method Detail |
|---|
public String getAttValue()
public void setAttValue(String attValue)
public String getAttName()
public void setAttName(String attName)
public static Set getPossibleAttributeNames()
public static Set getPossibleAttributeValueSet(String attributeName)
valuefor the indicated element.
public static List getPossibleAttributeValueList(String attributeName)
public static Iterator readMDAttributesIN(OJElement elt)
metadataand
extradatabefore. The resulting iterator returns
MDAttribute objects.
elt -
public static List computeValueListCenteredAt(String attName,
String value)
attName - value -
public static List getMDAttributes(OJElement elt)
eltpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||