org.xmlcml.cml
Class AbstractBondImpl

java.lang.Object
  |
  +--org.apache.xerces.dom.NodeImpl
        |
        +--org.apache.xerces.dom.ChildNode
              |
              +--org.apache.xerces.dom.ChildAndParentNode
                    |
                    +--org.apache.xerces.dom.ElementImpl
                          |
                          +--uk.co.demon.ursus.dom.AbstractElementImpl
                                |
                                +--uk.co.demon.ursus.dom.PMRElementImpl
                                      |
                                      +--org.xmlcml.cml.CMLBaseImpl
                                            |
                                            +--org.xmlcml.cml.AbstractBuiltinContainerImpl
                                                  |
                                                  +--org.xmlcml.cml.AbstractBondImpl
Direct Known Subclasses:
BondArrayImpl, BondImpl

public abstract class AbstractBondImpl
extends AbstractBuiltinContainerImpl
implements AbstractBond

See Also:
Serialized Form

Field Summary
protected  java.util.Vector atomRefVector
           
 
Fields inherited from class org.xmlcml.cml.AbstractBuiltinContainerImpl
builtinValues, nonBuiltinTable
 
Fields inherited from class org.xmlcml.cml.CMLBaseImpl
conventionName, conventionTable, dictRef, id, title, validity
 
Fields inherited from class uk.co.demon.ursus.dom.PMRElementImpl
CLASSNAME, processFlag
 
Fields inherited from class uk.co.demon.ursus.dom.AbstractElementImpl
CLASSNAME
 
Fields inherited from class org.apache.xerces.dom.ElementImpl
attributes, name
 
Fields inherited from class org.apache.xerces.dom.ChildAndParentNode
changes, firstChild, nodeListIndex, nodeListLength, nodeListNode, ownerDocument
 
Fields inherited from class org.apache.xerces.dom.ChildNode
nextSibling, previousSibling
 
Fields inherited from class org.apache.xerces.dom.NodeImpl
ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, IGNORABLEWS, MUTATION_AGGREGATE, MUTATION_ALL, MUTATION_LOCAL, MUTATION_NONE, MUTATIONEVENTS, OWNED, ownerNode, READONLY, SETVALUE, SPECIFIED, SYNCCHILDREN, SYNCDATA
 
Fields inherited from interface org.xmlcml.cml.AbstractBond
AROMATIC, ATOMREF, ATOMREFS, BOND_BUILTIN_COUNT, BOND_FLOATVAL_COUNT, BOND_FLOATVAL_END, BOND_FLOATVAL_START, BOND_INTEGERVAL_COUNT, BOND_INTEGERVAL_END, BOND_INTEGERVAL_START, BOND_STRINGVAL_COUNT, BOND_STRINGVAL_END, BOND_STRINGVAL_START, bondOrders, bondTypeStrings, DECREASE, DEFAULTXY2LENGTH, DEFAULTXYZ3LENGTH, DELETE, DOUBLE, HATCH, INCREASE, LENGTH, NOSTEREO, ORDER, OVERRUN, SINGLE, STEREO, TRIPLE, WEDGE, ZERO
 
Fields inherited from interface org.xmlcml.cml.AbstractBuiltinContainer
NONUNIQUE, UNIQUE
 
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
 
Constructor Summary
  AbstractBondImpl()
           
  AbstractBondImpl(org.w3c.dom.Element element)
           
protected AbstractBondImpl(java.lang.String tagName, org.w3c.dom.Document document)
           
 
Method Summary
 void addAtomRef(Atom atom)
           
 void deleteAtomRef(Atom atom)
           
 Atom getAtomRef(int serial)
           
 java.util.Vector getAtomRefVector()
           
 int getBuiltinCount()
           
static int getBuiltinFloatValCount()
           
static java.lang.String[] getBuiltinFloatValNames()
           
static int getBuiltinIntegerValCount()
           
static java.lang.String[] getBuiltinIntegerValNames()
           
static java.lang.String[] getBuiltinNames()
           
static int getBuiltinStringValCount()
           
static java.lang.String[] getBuiltinStringValNames()
           
 Validity getValidity()
          Determines whether node is valid (class specific).
static void showBuiltinNames()
           
 
Methods inherited from class org.xmlcml.cml.AbstractBuiltinContainerImpl
addBuiltinChildWithFloatValue, addBuiltinChildWithIntegerValue, addBuiltinChildWithStringValue, checkBuiltins, deleteNonBuiltinVal, getBuiltinChildElements, getBuiltinChildFloatValue, getBuiltinChildIntegerValue, getBuiltinChildStringValue, getBuiltinVal, getNonBuiltinVal, setBuiltinVal, setNonBuiltinVal
 
Methods inherited from class org.xmlcml.cml.CMLBaseImpl
addValidity, convertToSubclass, debug, getConventionName, getDictRef, getId, getSubClassedElement, getTitle, help, isValid, main, processDOM, setConventionName, setDictRef, setId, setTitle, showElementNames, test1, updateDOM, updateDOMHasConvention, updateDOMHasConvention, updateDOMHasCount, updateDOMHasDictRef, updateDOMHasDictRef, updateDOMHasId, updateDOMHasId, updateDOMHasTitle, updateDOMHasTitle, updateDOMHasUnits
 
Methods inherited from class uk.co.demon.ursus.dom.PMRElementImpl
appendTo, initialise, processDescendants, setProcessFlag
 
Methods inherited from class uk.co.demon.ursus.dom.AbstractElementImpl
setTagName
 
Methods inherited from class org.apache.xerces.dom.ElementImpl
cloneNode, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getElementsByTagName, getElementsByTagNameNS, getNodeName, getNodeType, getTagName, hasAttribute, hasAttributeNS, normalize, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setReadOnly, setupDefaultAttributes, synchronizeData
 
Methods inherited from class org.apache.xerces.dom.ChildAndParentNode
changed, changes, getChildNodes, getFirstChild, getLastChild, getLength, getOwnerDocument, hasChildNodes, insertBefore, item, removeChild, replaceChild, synchronizeChildren, synchronizeChildren
 
Methods inherited from class org.apache.xerces.dom.ChildNode
getNextSibling, getParentNode, getPreviousSibling
 
Methods inherited from class org.apache.xerces.dom.NodeImpl
addEventListener, appendChild, dispatchEvent, finalize, getLocalName, getNamespaceURI, getNodeValue, getPrefix, getReadOnly, getUserData, removeEventListener, setNodeValue, setPrefix, setUserData, supports, toString
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

atomRefVector

protected java.util.Vector atomRefVector
Constructor Detail

AbstractBondImpl

public AbstractBondImpl()

AbstractBondImpl

protected AbstractBondImpl(java.lang.String tagName,
                           org.w3c.dom.Document document)

AbstractBondImpl

public AbstractBondImpl(org.w3c.dom.Element element)
Method Detail

showBuiltinNames

public static void showBuiltinNames()

getBuiltinFloatValNames

public static java.lang.String[] getBuiltinFloatValNames()

getBuiltinIntegerValNames

public static java.lang.String[] getBuiltinIntegerValNames()

getBuiltinStringValNames

public static java.lang.String[] getBuiltinStringValNames()

getBuiltinNames

public static java.lang.String[] getBuiltinNames()

getBuiltinFloatValCount

public static int getBuiltinFloatValCount()

getBuiltinIntegerValCount

public static int getBuiltinIntegerValCount()

getBuiltinStringValCount

public static int getBuiltinStringValCount()

getBuiltinCount

public int getBuiltinCount()
Overrides:
getBuiltinCount in class AbstractBuiltinContainerImpl

getAtomRef

public Atom getAtomRef(int serial)
Specified by:
getAtomRef in interface AbstractBond

getAtomRefVector

public java.util.Vector getAtomRefVector()
Specified by:
getAtomRefVector in interface AbstractBond

addAtomRef

public void addAtomRef(Atom atom)
Specified by:
addAtomRef in interface AbstractBond

deleteAtomRef

public void deleteAtomRef(Atom atom)
Specified by:
deleteAtomRef in interface AbstractBond

getValidity

public Validity getValidity()
Description copied from interface: PMRElement
Determines whether node is valid (class specific). Perhaps used in treeWalk mode
Overrides:
getValidity in class CMLBaseImpl