org.xmlcml.cml
Interface FloatArray

All Known Implementing Classes:
FloatArrayImpl

public interface FloatArray
extends FloatVal, HasSize


Fields inherited from interface org.xmlcml.cml.NumericVal
MAX, MIN, UNITS
 
Fields inherited from interface org.xmlcml.cml.HasUnits
UNITS
 
Fields inherited from interface org.xmlcml.cml.CMLBase
ANGLE, ATOM, ATOMARRAY, BOND, BONDARRAY, BUILTIN, CML, CRYSTAL, ELECTRON, ELEMENT_COUNT, ELEMENT_NAMES, EXECUTE, FEATURE, FLOAT, FLOAT_TYPE, FLOATARRAY, FLOATMATRIX, FORMULA, INTEGER, INTEGER_TYPE, INTEGERARRAY, LINK, LIST, MOLECULE, PACKAGE_NAME, REACTION, SEQUENCE, STRING, STRING_TYPE, STRINGARRAY, TORSION, UNK, UNK_ELEM, UNKNOWN
 
Fields inherited from interface uk.co.demon.ursus.dom.PMRElement
CLASSNAME, LOCAL, QUALIFIED, UNIVERSAL
 
Fields inherited from interface org.xmlcml.cml.HasTitle
TITLE
 
Fields inherited from interface org.xmlcml.cml.HasDictRef
DICTREF
 
Fields inherited from interface org.xmlcml.cml.HasId
ID
 
Fields inherited from interface org.xmlcml.cml.HasConvention
CONVENTION
 
Fields inherited from interface uk.co.demon.ursus.dom.PMRNode
ATTRIBUTES, CONTENT, ELEMENTNAME, IDLIST, NESTED, NESTEDATTS, PACKAGENAME, PRETTY, SPLITFILES, STYLE, TAGGED, UNTAGGED, WHITESPACE, XMLCONTENT
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Method Summary
 void addElement(double f)
           
 void addElement(FloatVal f)
          add the FloatVal.
 StringVal elementAt(int i)
          actually returns FloatVal
 java.lang.String getDelimiter()
           
 double getFloat(int i)
           
 int getSize()
           
 java.util.Vector getStringVector()
           
 void setDelimiter(java.lang.String delimiter)
           
 void setElementAt(double f, int i)
           
 
Methods inherited from interface org.xmlcml.cml.FloatVal
getMaximum, getMinimum, getRealValue, setMaximum, setMinimum, setRealValue
 
Methods inherited from interface org.xmlcml.cml.NumericVal
getUnits, setUnits
 
Methods inherited from interface org.xmlcml.cml.HasUnits
updateDOMHasUnits
 
Methods inherited from interface org.xmlcml.cml.AbstractStringVal
getBuiltin, getDataType, getStringValue, processString, setBuiltin, setStringValue
 
Methods inherited from interface org.xmlcml.cml.CMLBase
addValidity, debug, isValid, processDOM, updateDOM
 
Methods inherited from interface uk.co.demon.ursus.dom.PMRElement
appendTo, getValidity, processDescendants, setProcessFlag, setTagName
 
Methods inherited from interface org.xmlcml.cml.HasTitle
getTitle, setTitle, updateDOMHasTitle
 
Methods inherited from interface org.xmlcml.cml.HasDictRef
getDictRef, setDictRef, updateDOMHasDictRef
 
Methods inherited from interface org.xmlcml.cml.HasId
getId, setId, updateDOMHasId
 
Methods inherited from interface org.xmlcml.cml.HasConvention
getConventionName, setConventionName, updateDOMHasConvention
 
Methods inherited from interface org.w3c.dom.Element
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS
 

Method Detail

setDelimiter

public void setDelimiter(java.lang.String delimiter)
Specified by:
setDelimiter in interface HasSize

getDelimiter

public java.lang.String getDelimiter()
Specified by:
getDelimiter in interface HasSize

getSize

public int getSize()
Specified by:
getSize in interface HasSize

elementAt

public StringVal elementAt(int i)
actually returns FloatVal
Specified by:
elementAt in interface HasSize

getFloat

public double getFloat(int i)

setElementAt

public void setElementAt(double f,
                         int i)

addElement

public void addElement(FloatVal f)
add the FloatVal. If it is the first to be added, copy the FloatVal attributes as well as the value

addElement

public void addElement(double f)

getStringVector

public java.util.Vector getStringVector()
Specified by:
getStringVector in interface HasSize