|
|||||||||
| Home >> All >> org >> xmlcml >> [ cml overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.xmlcml.cml
Interface AttributeSize

- All Known Subinterfaces:
- CMLFloatArray, CMLIntegerArray, CMLStringArray
- public interface AttributeSize
the size attribute is optional and gives the numebr of elements in an array. It is subservient to the actual array length and may be used to check validity and throw an Exception
| Field Summary | |
static java.lang.String |
SIZE
|
| Method Summary | |
void |
addElement(java.lang.String s)
adds an element, converting to numeric if appropriate; |
CMLStringVal |
elementAt(int i)
this will return an element of appropriate subclass |
java.lang.String |
getDelimiter()
|
int |
getSize()
|
java.util.Vector |
getStringVector()
|
boolean |
processDOMHasSize()
|
void |
setDelimiter(java.lang.String delimiter)
|
void |
setElementAt(int i,
java.lang.Object obj)
updates an element, converting to numeric if appropriate; |
boolean |
updateDOMHasSize()
maintenance methods |
| Field Detail |
SIZE
public static final java.lang.String SIZE
- See Also:
- Constant Field Values
| Method Detail |
getSize
public int getSize()
elementAt
public CMLStringVal elementAt(int i)
- this will return an element of appropriate subclass
setElementAt
public void setElementAt(int i,
java.lang.Object obj)
- updates an element, converting to numeric if appropriate;
addElement
public void addElement(java.lang.String s) throws CMLException
- adds an element, converting to numeric if appropriate;
getStringVector
public java.util.Vector getStringVector()
setDelimiter
public void setDelimiter(java.lang.String delimiter)
getDelimiter
public java.lang.String getDelimiter()
updateDOMHasSize
public boolean updateDOMHasSize()
- maintenance methods
processDOMHasSize
public boolean processDOMHasSize()
|
|||||||||
| Home >> All >> org >> xmlcml >> [ cml overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC