JSci.mathml
Class MathMLContentContainerImpl

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 JSci.mathml.MathMLElementImpl
                          extended by JSci.mathml.MathMLContentContainerImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, org.w3c.dom.Element, org.w3c.dom.events.EventTarget, org.w3c.dom.mathml.MathMLContainer, org.w3c.dom.mathml.MathMLContentContainer, org.w3c.dom.mathml.MathMLContentElement, org.w3c.dom.mathml.MathMLElement, org.w3c.dom.mathml.MathMLNodeList, org.w3c.dom.Node, org.w3c.dom.NodeList, org.w3c.dom.TypeInfo
Direct Known Subclasses:
MathMLApplyElementImpl, MathMLBvarElementImpl, MathMLFnElementImpl, MathMLListElementImpl, MathMLSetElementImpl

public class MathMLContentContainerImpl
extends MathMLElementImpl
implements org.w3c.dom.mathml.MathMLContentContainer

Implements a MathML content container.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class JSci.mathml.MathMLElementImpl
mathmlURI
 
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
MathMLContentContainerImpl(MathMLDocumentImpl owner, java.lang.String qualifiedName)
          Constructs a MathML content container.
 
Method Summary
 void deleteArgument(int index)
           
 void deleteBoundVariable(int index)
           
 void deleteDeclaration(int index)
           
 org.w3c.dom.mathml.MathMLElement getArgument(int index)
           
 org.w3c.dom.mathml.MathMLNodeList getArguments()
           
 org.w3c.dom.mathml.MathMLBvarElement getBoundVariable(int index)
           
 org.w3c.dom.mathml.MathMLConditionElement getCondition()
           
 org.w3c.dom.mathml.MathMLDeclareElement getDeclaration(int index)
           
 org.w3c.dom.mathml.MathMLNodeList getDeclarations()
           
 org.w3c.dom.mathml.MathMLElement getDomainOfApplication()
           
 org.w3c.dom.mathml.MathMLElement getMomentAbout()
           
 int getNArguments()
           
 int getNBoundVariables()
           
protected  org.w3c.dom.Node getNodeByName(java.lang.String name)
           
 org.w3c.dom.mathml.MathMLElement getOpDegree()
           
 org.w3c.dom.mathml.MathMLElement insertArgument(org.w3c.dom.mathml.MathMLElement newArgument, int index)
           
 org.w3c.dom.mathml.MathMLBvarElement insertBoundVariable(org.w3c.dom.mathml.MathMLBvarElement newBvar, int index)
           
 org.w3c.dom.mathml.MathMLDeclareElement insertDeclaration(org.w3c.dom.mathml.MathMLDeclareElement newDeclaration, int index)
           
 org.w3c.dom.mathml.MathMLElement removeArgument(int index)
           
 org.w3c.dom.mathml.MathMLBvarElement removeBoundVariable(int index)
           
 org.w3c.dom.mathml.MathMLDeclareElement removeDeclaration(int index)
           
 org.w3c.dom.mathml.MathMLElement setArgument(org.w3c.dom.mathml.MathMLElement newArgument, int index)
           
 org.w3c.dom.mathml.MathMLBvarElement setBoundVariable(org.w3c.dom.mathml.MathMLBvarElement newBvar, int index)
           
 void setCondition(org.w3c.dom.mathml.MathMLConditionElement condition)
           
 org.w3c.dom.mathml.MathMLDeclareElement setDeclaration(org.w3c.dom.mathml.MathMLDeclareElement newDeclaration, int index)
           
 void setDomainOfApplication(org.w3c.dom.mathml.MathMLElement domainOfApplication)
           
 void setMomentAbout(org.w3c.dom.mathml.MathMLElement momentAbout)
           
protected  void setNodeByName(org.w3c.dom.Node newNode, java.lang.String name)
           
 void setOpDegree(org.w3c.dom.mathml.MathMLElement opDegree)
           
 
Methods inherited from class JSci.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, setOwnerDocument, 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

MathMLContentContainerImpl

public MathMLContentContainerImpl(MathMLDocumentImpl owner,
                                  java.lang.String qualifiedName)
Constructs a MathML content container.

Method Detail

getCondition

public org.w3c.dom.mathml.MathMLConditionElement getCondition()
Specified by:
getCondition in interface org.w3c.dom.mathml.MathMLContentContainer

setCondition

public void setCondition(org.w3c.dom.mathml.MathMLConditionElement condition)
                  throws org.w3c.dom.DOMException
Specified by:
setCondition in interface org.w3c.dom.mathml.MathMLContentContainer
Throws:
org.w3c.dom.DOMException

getOpDegree

public org.w3c.dom.mathml.MathMLElement getOpDegree()
Specified by:
getOpDegree in interface org.w3c.dom.mathml.MathMLContentContainer

setOpDegree

public void setOpDegree(org.w3c.dom.mathml.MathMLElement opDegree)
                 throws org.w3c.dom.DOMException
Specified by:
setOpDegree in interface org.w3c.dom.mathml.MathMLContentContainer
Throws:
org.w3c.dom.DOMException

getDomainOfApplication

public org.w3c.dom.mathml.MathMLElement getDomainOfApplication()
Specified by:
getDomainOfApplication in interface org.w3c.dom.mathml.MathMLContentContainer

setDomainOfApplication

public void setDomainOfApplication(org.w3c.dom.mathml.MathMLElement domainOfApplication)
                            throws org.w3c.dom.DOMException
Specified by:
setDomainOfApplication in interface org.w3c.dom.mathml.MathMLContentContainer
Throws:
org.w3c.dom.DOMException

getMomentAbout

public org.w3c.dom.mathml.MathMLElement getMomentAbout()
Specified by:
getMomentAbout in interface org.w3c.dom.mathml.MathMLContentContainer

setMomentAbout

public void setMomentAbout(org.w3c.dom.mathml.MathMLElement momentAbout)
                    throws org.w3c.dom.DOMException
Specified by:
setMomentAbout in interface org.w3c.dom.mathml.MathMLContentContainer
Throws:
org.w3c.dom.DOMException

getNBoundVariables

public int getNBoundVariables()
Specified by:
getNBoundVariables in interface org.w3c.dom.mathml.MathMLContentContainer

getBoundVariable

public org.w3c.dom.mathml.MathMLBvarElement getBoundVariable(int index)
Specified by:
getBoundVariable in interface org.w3c.dom.mathml.MathMLContentContainer

setBoundVariable

public org.w3c.dom.mathml.MathMLBvarElement setBoundVariable(org.w3c.dom.mathml.MathMLBvarElement newBvar,
                                                             int index)
                                                      throws org.w3c.dom.DOMException
Specified by:
setBoundVariable in interface org.w3c.dom.mathml.MathMLContentContainer
Throws:
org.w3c.dom.DOMException

insertBoundVariable

public org.w3c.dom.mathml.MathMLBvarElement insertBoundVariable(org.w3c.dom.mathml.MathMLBvarElement newBvar,
                                                                int index)
                                                         throws org.w3c.dom.DOMException
Specified by:
insertBoundVariable in interface org.w3c.dom.mathml.MathMLContentContainer
Throws:
org.w3c.dom.DOMException

removeBoundVariable

public org.w3c.dom.mathml.MathMLBvarElement removeBoundVariable(int index)
Specified by:
removeBoundVariable in interface org.w3c.dom.mathml.MathMLContentContainer

deleteBoundVariable

public void deleteBoundVariable(int index)
Specified by:
deleteBoundVariable in interface org.w3c.dom.mathml.MathMLContentContainer

getNArguments

public int getNArguments()
Specified by:
getNArguments in interface org.w3c.dom.mathml.MathMLContainer

getArguments

public org.w3c.dom.mathml.MathMLNodeList getArguments()
Specified by:
getArguments in interface org.w3c.dom.mathml.MathMLContainer

getDeclarations

public org.w3c.dom.mathml.MathMLNodeList getDeclarations()
Specified by:
getDeclarations in interface org.w3c.dom.mathml.MathMLContainer

getArgument

public org.w3c.dom.mathml.MathMLElement getArgument(int index)
                                             throws org.w3c.dom.DOMException
Specified by:
getArgument in interface org.w3c.dom.mathml.MathMLContainer
Throws:
org.w3c.dom.DOMException

setArgument

public org.w3c.dom.mathml.MathMLElement setArgument(org.w3c.dom.mathml.MathMLElement newArgument,
                                                    int index)
                                             throws org.w3c.dom.DOMException
Specified by:
setArgument in interface org.w3c.dom.mathml.MathMLContainer
Throws:
org.w3c.dom.DOMException

insertArgument

public org.w3c.dom.mathml.MathMLElement insertArgument(org.w3c.dom.mathml.MathMLElement newArgument,
                                                       int index)
                                                throws org.w3c.dom.DOMException
Specified by:
insertArgument in interface org.w3c.dom.mathml.MathMLContainer
Throws:
org.w3c.dom.DOMException

removeArgument

public org.w3c.dom.mathml.MathMLElement removeArgument(int index)
                                                throws org.w3c.dom.DOMException
Specified by:
removeArgument in interface org.w3c.dom.mathml.MathMLContainer
Throws:
org.w3c.dom.DOMException

deleteArgument

public void deleteArgument(int index)
                    throws org.w3c.dom.DOMException
Specified by:
deleteArgument in interface org.w3c.dom.mathml.MathMLContainer
Throws:
org.w3c.dom.DOMException

getDeclaration

public org.w3c.dom.mathml.MathMLDeclareElement getDeclaration(int index)
                                                       throws org.w3c.dom.DOMException
Specified by:
getDeclaration in interface org.w3c.dom.mathml.MathMLContainer
Throws:
org.w3c.dom.DOMException

setDeclaration

public org.w3c.dom.mathml.MathMLDeclareElement setDeclaration(org.w3c.dom.mathml.MathMLDeclareElement newDeclaration,
                                                              int index)
                                                       throws org.w3c.dom.DOMException
Specified by:
setDeclaration in interface org.w3c.dom.mathml.MathMLContainer
Throws:
org.w3c.dom.DOMException

insertDeclaration

public org.w3c.dom.mathml.MathMLDeclareElement insertDeclaration(org.w3c.dom.mathml.MathMLDeclareElement newDeclaration,
                                                                 int index)
                                                          throws org.w3c.dom.DOMException
Specified by:
insertDeclaration in interface org.w3c.dom.mathml.MathMLContainer
Throws:
org.w3c.dom.DOMException

removeDeclaration

public org.w3c.dom.mathml.MathMLDeclareElement removeDeclaration(int index)
                                                          throws org.w3c.dom.DOMException
Specified by:
removeDeclaration in interface org.w3c.dom.mathml.MathMLContainer
Throws:
org.w3c.dom.DOMException

deleteDeclaration

public void deleteDeclaration(int index)
                       throws org.w3c.dom.DOMException
Specified by:
deleteDeclaration in interface org.w3c.dom.mathml.MathMLContainer
Throws:
org.w3c.dom.DOMException

getNodeByName

protected org.w3c.dom.Node getNodeByName(java.lang.String name)

setNodeByName

protected void setNodeByName(org.w3c.dom.Node newNode,
                             java.lang.String name)