Interface AbstractCMLDocument
- All Superinterfaces:
CMLNode, Document, Node, PMRDocument
- All Known Implementing Classes:
AbstractCMLDocumentImpl
CORE InterfaceDTD ClassThe interface for any Document objects There are NO
Core Methods.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe default DTD file name for CML output.static final StringThe default character encoding used for CML output.static final StringThe default namespace URI for CML output.static final StringConstant representing an empty or null DTD identifier.static final StringConstant representing a null namespace identifier.static final Stringthe package nameFields inherited from interface 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 -
Method Summary
Modifier and TypeMethodDescriptionclone(AbstractBase element) clone element in context of document.creates new AbstractBasecreateSubclassedElement(String tagName) creates new Element of given subclassbooleangetDebug()debug statusElement[]getElementList(String name) gets all element of given type (included nested children)getElementVector(String name) gets all element of given type (included nested children)getFirstElement(String name) gets first element of given typevoidsetDebug(boolean d) toggle debuggingWraps an existing W3C Element in a CML-specific subclass implementation.voidupdate delegates. updates documentElement delegates (content and attributes) then recurses through childrenvoidupdate DOM. updates documentElement DOM (content and attributes) then recurses through childrenMethods inherited from interface CMLNode
setArraySyntax, setVersion, writeXML, writeXMLMethods inherited from interface Document
adoptNode, createAttribute, createAttributeNS, createCDATASection, createComment, createDocumentFragment, createElement, createElementNS, createEntityReference, createProcessingInstruction, createTextNode, getDoctype, getDocumentElement, getDocumentURI, getDomConfig, getElementById, getElementsByTagName, getElementsByTagNameNS, getImplementation, getInputEncoding, getStrictErrorChecking, getXmlEncoding, getXmlStandalone, getXmlVersion, importNode, normalizeDocument, renameNode, setDocumentURI, setStrictErrorChecking, setXmlStandalone, setXmlVersionMethods inherited from interface 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
-
Field Details
-
PACKAGE_NAME
-
NULL_DTD
-
NULL_NAMESPACE
-
DEFAULT_OUTPUT_ENCODING
The default character encoding used for CML output.- See Also:
-
DEFAULT_OUTPUT_DTD
-
DEFAULT_OUTPUT_NAMESPACE
-
-
Method Details
-
getFirstElement
-
getElementVector
-
getElementList
-
createSubclassedElement
-
subclass
-
createAbstractBase
-
setDebug
void setDebug(boolean d) toggle debugging- Parameters:
d- debug
-
getDebug
boolean getDebug()debug status- Returns:
- is debug set
-
clone
clone element in context of document.- Parameters:
element- to clone (may or may not be owned by this)- Returns:
- the cloned element (owner is this)
- Throws:
CMLException- cannot clone non-AbstractBase
-
updateDelegates
void updateDelegates()update delegates. updates documentElement delegates (content and attributes) then recurses through children -
updateDOM
void updateDOM()update DOM. updates documentElement DOM (content and attributes) then recurses through children
-