|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MathMLContentContainer
This interface supports the MathML Content elements that may contain child Content elements. The elements directly supported by MathMLContentContainer include: reln (deprecated), lambda, lowlimit, uplimit, degree, domainofapplication, and momentabout. Interfaces derived from MathMLContentContainer support the elements apply, fn, interval, condition, declare, bvar, set, list, vector, matrix, and matrixrow.
Field Summary |
---|
Method Summary | |
---|---|
void |
deleteBoundVariable(int index)
This method deletes the index-th MathMLBvarElement child of the MathMLElement. |
MathMLBvarElement |
getBoundVariable(int index)
This method retrieves the index-th MathMLBvarElement child of the MathMLElement. |
MathMLConditionElement |
getCondition()
This attribute represents the condition child element of this node. |
MathMLElement |
getDomainOfApplication()
This attribute represents the domainofapplication child element of this node, if present. |
MathMLElement |
getMomentAbout()
This attribute represents the momentabout child element of this node, if present. |
int |
getNBoundVariables()
The number of bvar child elements of this element. |
MathMLElement |
getOpDegree()
This attribute represents the degree child element of this node. |
MathMLBvarElement |
insertBoundVariable(MathMLBvarElement newBVar,
int index)
This method inserts a MathMLBvarElement as a child node before the current index-th bound variable child of this MathMLElement. |
MathMLBvarElement |
removeBoundVariable(int index)
This method removes the index-th MathMLBvarElement child of the MathMLElement and returns it to the caller. |
MathMLBvarElement |
setBoundVariable(MathMLBvarElement newBVar,
int index)
This method sets the index-th bound variable child of this MathMLElement to newBVar. |
void |
setCondition(MathMLConditionElement condition)
setter for the condition attribute. |
void |
setDomainOfApplication(MathMLElement domainOfApplication)
setter for the domainOfApplication attribute. |
void |
setMomentAbout(MathMLElement momentAbout)
setter for the momentAbout attribute. |
void |
setOpDegree(MathMLElement opDegree)
setter for the opDegree attribute. |
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.mathml.MathMLContainer |
---|
deleteArgument, deleteDeclaration, getArgument, getArguments, getDeclaration, getDeclarations, getNArguments, insertArgument, insertDeclaration, removeArgument, removeDeclaration, setArgument, setDeclaration |
Method Detail |
---|
int getNBoundVariables()
MathMLConditionElement getCondition()
void setCondition(MathMLConditionElement condition)
condition
- new value for condition.
DOMException
- HIERARCHY_REQUEST_ERR: Raised if this element does not
permit a child condition element. In particular, raised if
this element is not a apply, set, or list.getCondition()
MathMLElement getOpDegree()
void setOpDegree(MathMLElement opDegree)
opDegree
- new value for opDegree.
DOMException
- HIERARCHY_REQUEST_ERR: Raised if this element does not
permit a child degree element. In particular, raised if
this element is not a bvar or apply.getOpDegree()
MathMLElement getDomainOfApplication()
void setDomainOfApplication(MathMLElement domainOfApplication)
domainOfApplication
- new value for domainOfApplication.
DOMException
- HIERARCHY_REQUEST_ERR: Raised if this element does not
permit a child domainofapplication element.getDomainOfApplication()
MathMLElement getMomentAbout()
void setMomentAbout(MathMLElement momentAbout)
momentAbout
- new value for momentAbout.
DOMException
- HIERARCHY_REQUEST_ERR: Raised if this element does not
permit a child momentabout element. In particular, raised
if this element is not an apply whose first child is a
moment.getMomentAbout()
MathMLBvarElement getBoundVariable(int index)
index
- The one-based index into the bound variable children of this
element of the MathMLBvarElement to be retrieved.
MathMLBvarElement insertBoundVariable(MathMLBvarElement newBVar, int index) throws DOMException
newBVar
- A MathMLBvarElement representing the bvar element being
added.index
- The one-based index into the bound variable children of this
element before which newBVar is to be inserted.
DOMException
- HIERARCHY_REQUEST_ERR: Raised if this element does not
permit child bvar elements.MathMLBvarElement setBoundVariable(MathMLBvarElement newBVar, int index) throws DOMException
newBVar
- The new MathMLBvarElement child of this element being set.index
- The one-based index into the bound variable children of this
element at which newBVar is to be inserted.
DOMException
- HIERARCHY_REQUEST_ERR: Raised if this element does not
permit child bvar elements.void deleteBoundVariable(int index)
index
- The one-based index into the bound variable children of this
element of the MathMLBvarElement to be removed.MathMLBvarElement removeBoundVariable(int index)
index
- The one-based index into the bound variable children of this
element of the MathMLBvarElement to be removed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |