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

Quick Search    Search Deep

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

All Superinterfaces:
AbstractBase, AttributeConvention, AttributeCount, AttributeDictRef, AttributeId, AttributeTitle, org.w3c.dom.Element, org.w3c.dom.Node

public interface CMLLink
extends AbstractBase, AttributeCount

a link to an object - usually from org.xmlcml.cml - but could be anything uses XLink semantics where possible. CMLLink will normally refer to a locator. At present only a subset of Xlink is appropriate for chemical objects
The link may mave a type associated which can be dereferenced to an object of that type.
The link can have a count acting as a multiplier for the targeted Object. It will not normally create additional objects, and is more likely to be used like:
        <link type="molecule" href="#water" count="10"/>
        
could occure in Sodium Sulfate (Na2SO4.10H20)
License:
This document may be freely copied but not modified in any way without the permission of the author. For full license information CMLDocument

Version:
CMLDOM 1.0, 2001/01

Field Summary
 
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.AttributeCount
COUNT
 
Method Summary
 java.lang.String getHRef()
           
 java.lang.String getRole()
           
 java.lang.String getType()
           
 void setHRef(java.lang.String href)
          XLink-based attribute
 void setRole(java.lang.String type)
           
 void setType(java.lang.String type)
           
 
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.AttributeCount
getCount, processDOMHasCount, setCount, updateDOMHasCount
 

Method Detail

setHRef

public void setHRef(java.lang.String href)
XLink-based attribute


getHRef

public java.lang.String getHRef()

setType

public void setType(java.lang.String type)

getType

public java.lang.String getType()

setRole

public void setRole(java.lang.String type)

getRole

public java.lang.String getRole()