- 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
| 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 |
| 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 |
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()