org.jscience.ml.mathml
Class MathMLVectorElementImpl

java.lang.Object
  extended by org.apache.xerces.dom.NodeImpl
      extended by org.apache.xerces.dom.ChildNode
          extended by org.apache.xerces.dom.ParentNode
              extended by org.apache.xerces.dom.ElementImpl
                  extended by org.apache.xerces.dom.ElementNSImpl
                      extended by org.jscience.ml.mathml.MathMLElementImpl
                          extended by org.jscience.ml.mathml.MathMLVectorElementImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, org.w3c.dom.Element, org.w3c.dom.events.EventTarget, MathMLContentElement, MathMLElement, MathMLNodeList, MathMLVectorElement, org.w3c.dom.Node, org.w3c.dom.NodeList, org.w3c.dom.TypeInfo

public class MathMLVectorElementImpl
extends MathMLElementImpl
implements MathMLVectorElement

Implements a MathML vector element.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.xerces.dom.ElementNSImpl
localName, namespaceURI
 
Fields inherited from class org.apache.xerces.dom.ElementImpl
attributes, name
 
Fields inherited from class org.apache.xerces.dom.ParentNode
firstChild, fNodeListCache, ownerDocument
 
Fields inherited from class org.apache.xerces.dom.ChildNode
nextSibling, previousSibling
 
Fields inherited from class org.apache.xerces.dom.NodeImpl
DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_IS_CONTAINED, DOCUMENT_POSITION_PRECEDING, ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, ID, IGNORABLEWS, NORMALIZED, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, TREE_POSITION_ANCESTOR, TREE_POSITION_DESCENDANT, TREE_POSITION_DISCONNECTED, TREE_POSITION_EQUIVALENT, TREE_POSITION_FOLLOWING, TREE_POSITION_PRECEDING, TREE_POSITION_SAME_NODE
 
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.w3c.dom.TypeInfo
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION
 
Constructor Summary
MathMLVectorElementImpl(MathMLDocumentImpl owner, java.lang.String qualifiedName)
          Constructs a MathML vector element.
 
Method Summary
 void deleteComponent(int index)
          DOCUMENT ME!
 MathMLContentElement getComponent(int index)
          DOCUMENT ME!
 int getNcomponents()
          DOCUMENT ME!
 MathMLContentElement insertComponent(MathMLContentElement newComponent, int index)
          DOCUMENT ME!
 MathMLContentElement removeComponent(int index)
          DOCUMENT ME!
 MathMLContentElement setComponent(MathMLContentElement newComponent, int index)
          DOCUMENT ME!
 
Methods inherited from class org.jscience.ml.mathml.MathMLElementImpl
getClassName, getHref, getId, getMathElementStyle, getOwnerMathElement, getXref, setClassName, setHref, setId, setMathElementStyle, setXref
 
Methods inherited from class org.apache.xerces.dom.ElementNSImpl
getBaseURI, getLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, isDerivedFrom, setPrefix, setType, setValues
 
Methods inherited from class org.apache.xerces.dom.ElementImpl
cloneNode, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getDefaultAttributes, getElementsByTagName, getElementsByTagNameNS, getNodeName, getNodeType, getSchemaTypeInfo, getTagName, getXercesAttribute, hasAttribute, hasAttributeNS, hasAttributes, isEqualNode, normalize, reconcileDefaultAttributes, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setReadOnly, setupDefaultAttributes, setXercesAttributeNode, synchronizeData
 
Methods inherited from class org.apache.xerces.dom.ParentNode
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, insertBefore, item, removeChild, replaceChild, setTextContent, synchronizeChildren
 
Methods inherited from class org.apache.xerces.dom.ChildNode
getNextSibling, getParentNode, getPreviousSibling
 
Methods inherited from class org.apache.xerces.dom.NodeImpl
addEventListener, appendChild, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getContainer, getFeature, getNodeNumber, getNodeValue, getReadOnly, getUserData, getUserData, getUserDataRecord, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setNodeValue, setUserData, setUserData, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.mathml.MathMLElement
getClassName, getHref, getId, getMathElementStyle, getOwnerMathElement, getXref, setClassName, setHref, setId, setMathElementStyle, setXref
 
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.w3c.dom.NodeList
getLength, item
 

Constructor Detail

MathMLVectorElementImpl

public MathMLVectorElementImpl(MathMLDocumentImpl owner,
                               java.lang.String qualifiedName)
Constructs a MathML vector element.

Parameters:
owner - DOCUMENT ME!
qualifiedName - DOCUMENT ME!
Method Detail

getNcomponents

public int getNcomponents()
DOCUMENT ME!

Specified by:
getNcomponents in interface MathMLVectorElement
Returns:
DOCUMENT ME!

getComponent

public MathMLContentElement getComponent(int index)
                                  throws org.w3c.dom.DOMException
DOCUMENT ME!

Specified by:
getComponent in interface MathMLVectorElement
Parameters:
index - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
org.w3c.dom.DOMException - DOCUMENT ME!

setComponent

public MathMLContentElement setComponent(MathMLContentElement newComponent,
                                         int index)
                                  throws org.w3c.dom.DOMException
DOCUMENT ME!

Specified by:
setComponent in interface MathMLVectorElement
Parameters:
newComponent - DOCUMENT ME!
index - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
org.w3c.dom.DOMException - DOCUMENT ME!

insertComponent

public MathMLContentElement insertComponent(MathMLContentElement newComponent,
                                            int index)
                                     throws org.w3c.dom.DOMException
DOCUMENT ME!

Specified by:
insertComponent in interface MathMLVectorElement
Parameters:
newComponent - DOCUMENT ME!
index - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
org.w3c.dom.DOMException - DOCUMENT ME!

removeComponent

public MathMLContentElement removeComponent(int index)
                                     throws org.w3c.dom.DOMException
DOCUMENT ME!

Specified by:
removeComponent in interface MathMLVectorElement
Parameters:
index - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
org.w3c.dom.DOMException - DOCUMENT ME!

deleteComponent

public void deleteComponent(int index)
                     throws org.w3c.dom.DOMException
DOCUMENT ME!

Specified by:
deleteComponent in interface MathMLVectorElement
Parameters:
index - DOCUMENT ME!
Throws:
org.w3c.dom.DOMException - DOCUMENT ME!