Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.xmlcml.cml
Interface CMLStringArray  view CMLStringArray download CMLStringArray.java

All Superinterfaces:
AbstractBase, AbstractStringVal, AttributeConvention, AttributeDictRef, AttributeId, AttributeSize, AttributeTitle, CMLStringVal, org.w3c.dom.Element, org.w3c.dom.Node

public interface CMLStringArray
extends CMLStringVal, AttributeSize


Field Summary
static java.lang.String DELIM
           
 
Fields inherited from interface org.xmlcml.cml.AbstractBase
ANGLE, ATOM, ATOMARRAY, ATOMPARITY, BOND, BONDARRAY, BONDSTEREO, BUILTIN, CML, CML_PREFIX, CRYSTAL, ELECTRON, ELEMENT_COUNT, ELEMENT_NAMES, EXECUTE, FEATURE, FLOAT, FLOAT_TYPE, FLOATARRAY, FLOATMATRIX, FORMULA, INTEGER, INTEGER_TYPE, INTEGERARRAY, LINK, LIST, MOLECULE, NAMESPACE_URI, PACKAGE_NAME, REACTION, SEQUENCE, STRING, STRING_TYPE, STRINGARRAY, TORSION, UNK, UNK_ELEM, UNKNOWN
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Fields inherited from interface org.xmlcml.cml.AttributeTitle
TITLE
 
Fields inherited from interface org.xmlcml.cml.AttributeDictRef
DICTREF
 
Fields inherited from interface org.xmlcml.cml.AttributeId
ID
 
Fields inherited from interface org.xmlcml.cml.AttributeConvention
CONVENTION
 
Fields inherited from interface org.xmlcml.cml.AttributeSize
SIZE
 
Method Summary
 void addElement(CMLStringVal s)
          add the CMLStringVal.
 void addElement(java.lang.String s)
          adds an element, converting to numeric if appropriate;
 void deleteElement(java.lang.String s)
           
 CMLStringVal elementAt(int i)
          this will return an element of appropriate subclass
 java.lang.String getDelimiter()
           
 int getSize()
           
 java.lang.String getString(int i)
           
 java.util.Vector getStringVector()
           
 void setDelimiter(java.lang.String delimiter)
           
 void setElementAt(java.lang.String s, int i)
           
 
Methods inherited from interface org.xmlcml.cml.AbstractStringVal
getBuiltin, getDataType, getStringValue, processString, setBuiltin, setStringValue
 
Methods inherited from interface org.xmlcml.cml.AbstractBase
addTracer, debug, debug, getDisplay, processDOM, readXMLTest, removeTracer, setDOMNeedsProcessing, setDOMNeedsUpdating, updateDOM
 
Methods inherited from interface org.w3c.dom.Element
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS
 
Methods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
 
Methods inherited from interface org.xmlcml.cml.AttributeTitle
getTitle, processDOMHasTitle, setTitle, updateDOMHasTitle
 
Methods inherited from interface org.xmlcml.cml.AttributeDictRef
getDictRef, processDOMHasDictRef, setDictRef, updateDOMHasDictRef
 
Methods inherited from interface org.xmlcml.cml.AttributeId
getId, processDOMHasId, setId, updateDOMHasId
 
Methods inherited from interface org.xmlcml.cml.AttributeConvention
getConventionName, processDOMHasConvention, setConventionName, updateDOMHasConvention
 
Methods inherited from interface org.xmlcml.cml.AttributeSize
processDOMHasSize, setElementAt, updateDOMHasSize
 

Field Detail

DELIM

public static final java.lang.String DELIM
See Also:
Constant Field Values
Method Detail

getSize

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

setDelimiter

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

getDelimiter

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

elementAt

public CMLStringVal elementAt(int i)
Description copied from interface: AttributeSize
this will return an element of appropriate subclass

Specified by:
elementAt in interface AttributeSize

getString

public java.lang.String getString(int i)

setElementAt

public void setElementAt(java.lang.String s,
                         int i)

addElement

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


addElement

public void addElement(java.lang.String s)
                throws CMLException
Description copied from interface: AttributeSize
adds an element, converting to numeric if appropriate;

Specified by:
addElement in interface AttributeSize

deleteElement

public void deleteElement(java.lang.String s)

getStringVector

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