org.jscience.ml.mathml
Class MathMLMathElementImpl

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

public class MathMLMathElementImpl
extends MathMLElementImpl
implements MathMLMathElement

Implements a MathML math 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
MathMLMathElementImpl(MathMLDocumentImpl owner, java.lang.String qualifiedName)
          Constructs a MathML math element.
 
Method Summary
 void deleteArgument(int index)
          DOCUMENT ME!
 void deleteDeclaration(int index)
          DOCUMENT ME!
 MathMLElement getArgument(int index)
          DOCUMENT ME!
 MathMLNodeList getArguments()
          DOCUMENT ME!
 MathMLDeclareElement getDeclaration(int index)
          DOCUMENT ME!
 MathMLNodeList getDeclarations()
          DOCUMENT ME!
 java.lang.String getDisplay()
          DOCUMENT ME!
 java.lang.String getMacros()
          DOCUMENT ME!
 int getNArguments()
          DOCUMENT ME!
 MathMLElement insertArgument(MathMLElement newArgument, int index)
          DOCUMENT ME!
 MathMLDeclareElement insertDeclaration(MathMLDeclareElement newDeclaration, int index)
          DOCUMENT ME!
 MathMLElement removeArgument(int index)
          DOCUMENT ME!
 MathMLDeclareElement removeDeclaration(int index)
          DOCUMENT ME!
 MathMLElement setArgument(MathMLElement newArgument, int index)
          DOCUMENT ME!
 MathMLDeclareElement setDeclaration(MathMLDeclareElement newDeclaration, int index)
          DOCUMENT ME!
 void setDisplay(java.lang.String display)
          DOCUMENT ME!
 void setMacros(java.lang.String macros)
          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

MathMLMathElementImpl

public MathMLMathElementImpl(MathMLDocumentImpl owner,
                             java.lang.String qualifiedName)
Constructs a MathML math element.

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

getMacros

public java.lang.String getMacros()
DOCUMENT ME!

Specified by:
getMacros in interface MathMLMathElement
Returns:
DOCUMENT ME!

setMacros

public void setMacros(java.lang.String macros)
DOCUMENT ME!

Specified by:
setMacros in interface MathMLMathElement
Parameters:
macros - DOCUMENT ME!

getDisplay

public java.lang.String getDisplay()
DOCUMENT ME!

Specified by:
getDisplay in interface MathMLMathElement
Returns:
DOCUMENT ME!

setDisplay

public void setDisplay(java.lang.String display)
DOCUMENT ME!

Specified by:
setDisplay in interface MathMLMathElement
Parameters:
display - DOCUMENT ME!

getNArguments

public int getNArguments()
DOCUMENT ME!

Specified by:
getNArguments in interface MathMLContainer
Returns:
DOCUMENT ME!

getArguments

public MathMLNodeList getArguments()
DOCUMENT ME!

Specified by:
getArguments in interface MathMLContainer
Returns:
DOCUMENT ME!

getDeclarations

public MathMLNodeList getDeclarations()
DOCUMENT ME!

Specified by:
getDeclarations in interface MathMLContainer
Returns:
DOCUMENT ME!

getArgument

public MathMLElement getArgument(int index)
                          throws org.w3c.dom.DOMException
DOCUMENT ME!

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

setArgument

public MathMLElement setArgument(MathMLElement newArgument,
                                 int index)
                          throws org.w3c.dom.DOMException
DOCUMENT ME!

Specified by:
setArgument in interface MathMLContainer
Parameters:
newArgument - DOCUMENT ME!
index - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
org.w3c.dom.DOMException - DOCUMENT ME!

insertArgument

public MathMLElement insertArgument(MathMLElement newArgument,
                                    int index)
                             throws org.w3c.dom.DOMException
DOCUMENT ME!

Specified by:
insertArgument in interface MathMLContainer
Parameters:
newArgument - DOCUMENT ME!
index - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
org.w3c.dom.DOMException - DOCUMENT ME!

removeArgument

public MathMLElement removeArgument(int index)
                             throws org.w3c.dom.DOMException
DOCUMENT ME!

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

deleteArgument

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

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

getDeclaration

public MathMLDeclareElement getDeclaration(int index)
                                    throws org.w3c.dom.DOMException
DOCUMENT ME!

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

setDeclaration

public MathMLDeclareElement setDeclaration(MathMLDeclareElement newDeclaration,
                                           int index)
                                    throws org.w3c.dom.DOMException
DOCUMENT ME!

Specified by:
setDeclaration in interface MathMLContainer
Parameters:
newDeclaration - DOCUMENT ME!
index - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
org.w3c.dom.DOMException - DOCUMENT ME!

insertDeclaration

public MathMLDeclareElement insertDeclaration(MathMLDeclareElement newDeclaration,
                                              int index)
                                       throws org.w3c.dom.DOMException
DOCUMENT ME!

Specified by:
insertDeclaration in interface MathMLContainer
Parameters:
newDeclaration - DOCUMENT ME!
index - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
org.w3c.dom.DOMException - DOCUMENT ME!

removeDeclaration

public MathMLDeclareElement removeDeclaration(int index)
                                       throws org.w3c.dom.DOMException
DOCUMENT ME!

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

deleteDeclaration

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

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