org.jscience.ml.mathml
Class MathMLMatrixElementImpl

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.MathMLMatrixElementImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, org.w3c.dom.Element, org.w3c.dom.events.EventTarget, MathMLContentElement, MathMLElement, MathMLMatrixElement, MathMLNodeList, org.w3c.dom.Node, org.w3c.dom.NodeList, org.w3c.dom.TypeInfo

public class MathMLMatrixElementImpl
extends MathMLElementImpl
implements MathMLMatrixElement

Implements a MathML matrix 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
MathMLMatrixElementImpl(MathMLDocumentImpl owner, java.lang.String qualifiedName)
          Constructs a MathML matrix element.
 
Method Summary
 void deleteRow(int index)
          DOCUMENT ME!
 int getNcols()
          DOCUMENT ME!
 int getNrows()
          DOCUMENT ME!
 MathMLMatrixrowElement getRow(int index)
          DOCUMENT ME!
 MathMLNodeList getRows()
          DOCUMENT ME!
 MathMLMatrixrowElement insertRow(MathMLMatrixrowElement newRow, int index)
          DOCUMENT ME!
 MathMLMatrixrowElement removeRow(int index)
          DOCUMENT ME!
 MathMLMatrixrowElement setRow(MathMLMatrixrowElement newRow, 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

MathMLMatrixElementImpl

public MathMLMatrixElementImpl(MathMLDocumentImpl owner,
                               java.lang.String qualifiedName)
Constructs a MathML matrix element.

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

getNrows

public int getNrows()
DOCUMENT ME!

Specified by:
getNrows in interface MathMLMatrixElement
Returns:
DOCUMENT ME!

getNcols

public int getNcols()
DOCUMENT ME!

Specified by:
getNcols in interface MathMLMatrixElement
Returns:
DOCUMENT ME!

getRows

public MathMLNodeList getRows()
DOCUMENT ME!

Specified by:
getRows in interface MathMLMatrixElement
Returns:
DOCUMENT ME!

getRow

public MathMLMatrixrowElement getRow(int index)
                              throws org.w3c.dom.DOMException
DOCUMENT ME!

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

setRow

public MathMLMatrixrowElement setRow(MathMLMatrixrowElement newRow,
                                     int index)
                              throws org.w3c.dom.DOMException
DOCUMENT ME!

Specified by:
setRow in interface MathMLMatrixElement
Parameters:
newRow - DOCUMENT ME!
index - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
org.w3c.dom.DOMException - DOCUMENT ME!

insertRow

public MathMLMatrixrowElement insertRow(MathMLMatrixrowElement newRow,
                                        int index)
                                 throws org.w3c.dom.DOMException
DOCUMENT ME!

Specified by:
insertRow in interface MathMLMatrixElement
Parameters:
newRow - DOCUMENT ME!
index - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
org.w3c.dom.DOMException - DOCUMENT ME!

removeRow

public MathMLMatrixrowElement removeRow(int index)
                                 throws org.w3c.dom.DOMException
DOCUMENT ME!

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

deleteRow

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

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