|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xerces.dom.NodeImpl org.apache.xerces.dom.ChildNode org.apache.xerces.dom.ParentNode org.apache.xerces.dom.CoreDocumentImpl org.apache.xerces.dom.DocumentImpl JSci.mathml.MathMLDocumentImpl JSci.io.MathMLDocumentJSciImpl
public class MathMLDocumentJSciImpl
The MathMLDocumentJSciImpl class encapsulates an entire MathML document.
Field Summary |
---|
Fields inherited from class org.apache.xerces.dom.DocumentImpl |
---|
eventListeners, iterators, mutationEvents, ranges |
Fields inherited from class org.apache.xerces.dom.CoreDocumentImpl |
---|
actualEncoding, allowGrammarAccess, changes, docElement, docType, encoding, errorChecking, fDocumentURI, identifiers, standalone, userData, version, xmlVersionChanged |
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 |
Constructor Summary | |
---|---|
MathMLDocumentJSciImpl()
Constructs a MathML document. |
Method Summary | |
---|---|
org.w3c.dom.Element |
createApply(MathMLExpression expr)
Creates a MathML operator/function element ( <apply> ). |
org.w3c.dom.Element |
createApply(java.lang.String op,
org.w3c.dom.DocumentFragment args)
Creates a MathML operator/function element ( <apply> ). |
org.w3c.dom.Element |
createMatrix(AbstractComplexMatrix m)
Creates a MathML matrix element ( <matrix> ). |
org.w3c.dom.Element |
createMatrix(AbstractDoubleMatrix m)
Creates a MathML matrix element ( <matrix> ). |
org.w3c.dom.Element |
createMatrix(AbstractIntegerMatrix m)
Creates a MathML matrix element ( <matrix> ). |
org.w3c.dom.Element |
createNumber(Complex z)
Creates a MathML number element ( <cn> ). |
org.w3c.dom.Element |
createNumber(double x)
Creates a MathML number element ( <cn> ). |
org.w3c.dom.Element |
createNumber(int i)
Creates a MathML number element ( <cn> ). |
org.w3c.dom.Element |
createSet(FiniteSet s)
Creates a MathML set element ( <set> ). |
org.w3c.dom.Element |
createVariable(java.lang.Object obj)
Creates a MathML variable element ( <ci> ). |
org.w3c.dom.Element |
createVariable(java.lang.Object obj,
java.lang.String type)
Creates a MathML variable element ( <ci> ). |
org.w3c.dom.Element |
createVector(AbstractComplexVector v)
Creates a MathML vector element ( <vector> ). |
org.w3c.dom.Element |
createVector(AbstractDoubleVector v)
Creates a MathML vector element ( <vector> ). |
org.w3c.dom.Element |
createVector(AbstractIntegerVector v)
Creates a MathML vector element ( <vector> ). |
void |
print(java.io.Writer out)
Prints this MathML document to a stream. |
Methods inherited from class JSci.mathml.MathMLDocumentImpl |
---|
createElementNS, createElementNS, getDoctype, getDocumentElement, getDomain, getReferrer, getURI |
Methods inherited from class org.apache.xerces.dom.DocumentImpl |
---|
addEventListener, cloneNode, copyEventListeners, createEvent, createNodeIterator, createNodeIterator, createRange, createTreeWalker, createTreeWalker, dispatchAggregateEvents, dispatchAggregateEvents, dispatchEvent, dispatchEventToSubtree, dispatchingEventToSubtree, getEventListeners, getImplementation, removeEventListener, saveEnclosingAttr, setEventListeners |
Methods inherited from class org.apache.xerces.dom.CoreDocumentImpl |
---|
abort, adoptNode, callUserDataHandlers, changed, changes, checkDOMNSErr, checkNamespaceWF, checkQName, clearIdentifiers, clone, cloneNode, createAttribute, createAttributeNS, createAttributeNS, createCDATASection, createComment, createDocumentFragment, createDocumentType, createElement, createElementDefinition, createEntity, createEntityReference, createNotation, createProcessingInstruction, createTextNode, getAsync, getBaseURI, getDocumentURI, getDomConfig, getElementById, getElementsByTagName, getElementsByTagNameNS, getEncoding, getErrorChecking, getFeature, getIdentifier, getIdentifiers, getInputEncoding, getNodeName, getNodeNumber, getNodeNumber, getNodeType, getOwnerDocument, getStandalone, getStrictErrorChecking, getTextContent, getUserData, getUserData, getUserDataRecord, getVersion, getXmlEncoding, getXmlStandalone, getXmlVersion, importNode, insertBefore, isKidOK, isValidQName, isXMLName, load, loadXML, normalizeDocument, putIdentifier, removeChild, removeIdentifier, renameNode, replaceChild, saveXML, setAsync, setDocumentURI, setEncoding, setErrorChecking, setInputEncoding, setStandalone, setStrictErrorChecking, setTextContent, setUserData, setUserData, setVersion, setXmlEncoding, setXmlStandalone, setXmlVersion, undeferChildren |
Methods inherited from class org.apache.xerces.dom.ParentNode |
---|
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, hasChildNodes, isEqualNode, item, normalize, setOwnerDocument, setReadOnly, synchronizeChildren |
Methods inherited from class org.apache.xerces.dom.ChildNode |
---|
getNextSibling, getParentNode, getPreviousSibling |
Methods inherited from class org.apache.xerces.dom.NodeImpl |
---|
addEventListener, appendChild, compareDocumentPosition, compareTreePosition, dispatchEvent, getAttributes, getContainer, getLocalName, getNamespaceURI, getNodeValue, getPrefix, getReadOnly, getUserData, getUserData, getUserDataRecord, hasAttributes, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setNodeValue, setPrefix, setUserData, setUserData, synchronizeData, toString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.w3c.dom.Document |
---|
adoptNode, createAttribute, createAttributeNS, createCDATASection, createComment, createDocumentFragment, createElement, createEntityReference, createProcessingInstruction, createTextNode, getDocumentURI, getDomConfig, getElementById, getElementsByTagName, getElementsByTagNameNS, getImplementation, getInputEncoding, getStrictErrorChecking, getXmlEncoding, getXmlStandalone, getXmlVersion, importNode, normalizeDocument, renameNode, setDocumentURI, setStrictErrorChecking, setXmlStandalone, setXmlVersion |
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 |
Constructor Detail |
---|
public MathMLDocumentJSciImpl()
Method Detail |
---|
public org.w3c.dom.Element createNumber(double x)
<cn>
).
public org.w3c.dom.Element createNumber(int i)
<cn>
).
public org.w3c.dom.Element createNumber(Complex z)
<cn>
).
public org.w3c.dom.Element createVariable(java.lang.Object obj)
<ci>
).
public org.w3c.dom.Element createVariable(java.lang.Object obj, java.lang.String type)
<ci>
).
public org.w3c.dom.Element createVector(AbstractDoubleVector v)
<vector>
).
public org.w3c.dom.Element createVector(AbstractIntegerVector v)
<vector>
).
public org.w3c.dom.Element createVector(AbstractComplexVector v)
<vector>
).
public org.w3c.dom.Element createMatrix(AbstractDoubleMatrix m)
<matrix>
).
public org.w3c.dom.Element createMatrix(AbstractIntegerMatrix m)
<matrix>
).
public org.w3c.dom.Element createMatrix(AbstractComplexMatrix m)
<matrix>
).
public org.w3c.dom.Element createSet(FiniteSet s)
<set>
).
public org.w3c.dom.Element createApply(java.lang.String op, org.w3c.dom.DocumentFragment args)
<apply>
).
op
- a MathML tag name
(plus
, minus
, times
, divide
, etc).public org.w3c.dom.Element createApply(MathMLExpression expr)
<apply>
).
expr
- a MathMLExpression object.public void print(java.io.Writer out) throws java.io.IOException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |