|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.batik.dom.AbstractNode
org.apache.batik.dom.AbstractParentNode
org.apache.batik.dom.AbstractDocument
org.apache.batik.dom.GenericDocument
net.sourceforge.jeuclid.elements.generic.DocumentElement
public final class DocumentElement
Class for MathML Document Nodes.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.batik.dom.AbstractDocument |
|---|
AbstractDocument.DocumentConfiguration, AbstractDocument.DocumentError, AbstractDocument.IdSoftRef, AbstractDocument.XPathExpr, AbstractDocument.XPathNodeNSResolver |
| Nested classes/interfaces inherited from class org.apache.batik.dom.AbstractParentNode |
|---|
AbstractParentNode.ChildNodes, AbstractParentNode.ElementsByTagName, AbstractParentNode.ElementsByTagNameNS |
| Field Summary |
|---|
| Fields inherited from class org.apache.batik.dom.GenericDocument |
|---|
ATTR_ID, readonly |
| Fields inherited from class org.apache.batik.dom.AbstractDocument |
|---|
documentEventSupport, documentURI, domConfig, elementsById, elementsByTagNames, elementsByTagNamesNS, eventsEnabled, implementation, inputEncoding, localizableSupport, RESOURCES, strictErrorChecking, traversalSupport, xblManager, xmlEncoding, xmlStandalone, xmlVersion |
| Fields inherited from class org.apache.batik.dom.AbstractParentNode |
|---|
childNodes |
| Fields inherited from class org.apache.batik.dom.AbstractNode |
|---|
DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, EMPTY_NODE_LIST, eventSupport, managerData, ownerDocument, userData, userDataHandlers |
| Constructor Summary | |
|---|---|
DocumentElement()
Creates a math element. |
|
DocumentElement(DocumentType doctype)
Creates a MathML compatible document with the given DocumentType. |
|
| Method Summary | |
|---|---|
Element |
createElement(String tagName)
|
Element |
createElementNS(String namespaceURI,
String qualifiedName)
|
LayoutContext |
getChildLayoutContext(int childNum,
LayoutContext context)
get the layout context for the given child. |
List<LayoutableNode> |
getChildrenToDraw()
|
List<LayoutableNode> |
getChildrenToLayout()
|
JEuclidView |
getDefaultView()
|
String |
getDomain()
The domain name of the server that served the document, or null if the server cannot be identified by a domain name, or if it is not available. |
String |
getReferrer()
The URI of the page that linked to this document, if available. |
String |
getURI()
The complete URI of this document. |
void |
layoutStage1(LayoutView view,
LayoutInfo info,
LayoutStage childMinStage,
LayoutContext context)
context insensitive layout. |
void |
layoutStage2(LayoutView view,
LayoutInfo info,
LayoutContext context)
context sensitive layout. |
protected Node |
newNode()
|
| Methods inherited from class org.apache.batik.dom.GenericDocument |
|---|
createAttribute, createAttributeNS, createCDATASection, createComment, createDocumentFragment, createEntityReference, createProcessingInstruction, createTextNode, isId, isReadonly, setReadonly |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 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 DocumentElement()
public DocumentElement(DocumentType doctype)
doctype - DocumentType to use. This is currently ignored.| Method Detail |
|---|
public String getDomain()
getDomain in interface MathMLDocumentpublic String getReferrer()
getReferrer in interface MathMLDocumentpublic String getURI()
getURI in interface MathMLDocument
public LayoutContext getChildLayoutContext(int childNum,
LayoutContext context)
getChildLayoutContext in interface JEuclidNodechildNum - 0-based number of the child to check.context - external context.
public JEuclidView getDefaultView()
getDefaultView in interface org.w3c.dom.views.DocumentViewpublic List<LayoutableNode> getChildrenToLayout()
getChildrenToLayout in interface LayoutableNodepublic List<LayoutableNode> getChildrenToDraw()
getChildrenToDraw in interface LayoutableNode
public void layoutStage1(LayoutView view,
LayoutInfo info,
LayoutStage childMinStage,
LayoutContext context)
layoutStage1 in interface LayoutableNodeview - LayoutView to use.info - LayoutInfo to manipulate.childMinStage - minimum stage of children. Either STAGE1 or STAGE2.context - LayoutContext for this element.
public void layoutStage2(LayoutView view,
LayoutInfo info,
LayoutContext context)
layoutStage2 in interface LayoutableNodeview - LayoutView to use.info - LayoutInfo to manipulate.context - LayoutContext for this element.protected Node newNode()
newNode in class GenericDocumentpublic Element createElement(String tagName)
createElement in interface DocumentcreateElement in class GenericDocument
public Element createElementNS(String namespaceURI,
String qualifiedName)
createElementNS in interface DocumentcreateElementNS in class GenericDocument
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||