|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.enhydra.apache.xerces.dom.NodeImpl | +--org.enhydra.apache.xerces.dom.ChildNode | +--org.enhydra.apache.xerces.dom.ParentNode | +--org.enhydra.apache.xerces.dom.CoreDocumentImpl | +--org.enhydra.apache.xerces.dom.DocumentImpl | +--org.enhydra.xml.lazydom.LazyDocument
A DOM Document that supports lazy instantiation of a template DOM. Nodes in the instance DOM are created as accessed. This can be either by traversing the tree or by direct access to a node by id number. Instantiation of nodes in the middle of the virtual tree is support. Thus a node can exist without a parent being expanded. This is used by XMLC, were the dynamic nodes tend to be towards the leaves of the tree.
Instances contain a reference to a DOM that is a shared template for the document. Each node in the template is assigned an integer node id that be used to index tables to directly look up the template of a node created from the template.
This DOM also supports associating pre-formatted text with some nodes, which is used to avoid exprensive string scanning operations during the output of unmodified nodes.
When a child of a node is requested, all direct children are expanded. This eliminates a lot of difficult book keep. Attributes are treated as a separate set from children, only instantiated when an atttribute is accessed. Expansion of nodes accesed from an existing node works as follows:
To created an extended DOM, one must override both the factory methods that take strings and those that take node ids.
Field Summary |
Fields inherited from class org.enhydra.apache.xerces.dom.DocumentImpl |
eventListeners, iterators, mutationEvents, ranges, userData |
Fields inherited from class org.enhydra.apache.xerces.dom.CoreDocumentImpl |
allowGrammarAccess, changes, docElement, docType, encoding, errorChecking, identifiers, kidOK, standalone, version |
Fields inherited from class org.enhydra.apache.xerces.dom.ParentNode |
fCachedChild, fCachedChildIndex, fCachedLength, firstChild, ownerDocument |
Fields inherited from class org.enhydra.apache.xerces.dom.ChildNode |
nextSibling, previousSibling |
Fields inherited from class org.enhydra.apache.xerces.dom.NodeImpl |
ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, IGNORABLEWS, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, UNNORMALIZED |
Fields inherited from interface org.enhydra.xml.lazydom.LazyNode |
DOCUMENT_NODE_ID, NULL_NODE_ID |
Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
Constructor Summary | |
LazyDocument()
Constructor with no argument, for LazyHTMLDocument. |
|
LazyDocument(org.w3c.dom.DocumentType documentType,
TemplateDOM templateDOM)
Constructor. |
Method Summary | |
org.w3c.dom.Node |
appendChild(org.w3c.dom.Node newChild)
|
void |
appendChildWhileExpanding(org.w3c.dom.Node child)
Append a child during node expansion. |
boolean |
areChildrenExpanded()
Are the children of this node expanded? |
org.w3c.dom.Node |
cloneNode(boolean deep)
|
LazyAttr |
createAttribute(int nodeId)
Create an attribute from a template given its id. |
org.w3c.dom.Attr |
createAttribute(java.lang.String name)
|
org.w3c.dom.Attr |
createAttributeNS(java.lang.String namespaceURI,
java.lang.String qualifiedName)
|
LazyAttr |
createAttributeNS(java.lang.String namespaceURI,
java.lang.String qualifiedName,
int nodeId)
Create a template Attr with namespace. |
LazyCDATASection |
createCDATASection(int nodeId)
Create a CDATASection from a template given its id. |
org.w3c.dom.CDATASection |
createCDATASection(java.lang.String data)
|
LazyComment |
createComment(int nodeId)
Create a comment from a template given its id. |
org.w3c.dom.Comment |
createComment(java.lang.String data)
|
LazyDocumentType |
createDocumentType(int nodeId)
Create a new DocumentType object (Non-DOM). |
org.w3c.dom.DocumentType |
createDocumentType(java.lang.String qualifiedName,
java.lang.String publicID,
java.lang.String systemID)
Create a new DocumentType object (Non-DOM). |
org.w3c.dom.DocumentType |
createDocumentType(java.lang.String qualifiedName,
java.lang.String publicID,
java.lang.String systemID,
java.lang.String internalSubset)
Create a new DocumentType object (Non-DOM). |
LazyElement |
createElement(int nodeId)
Create a element from a template given its id. |
org.w3c.dom.Element |
createElement(java.lang.String tagName)
|
org.w3c.dom.Element |
createElementNS(java.lang.String namespaceURI,
java.lang.String qualifiedName)
|
LazyEntity |
createEntity(int nodeId)
Create a new Entity object (Non-DOM). |
org.w3c.dom.Entity |
createEntity(java.lang.String name)
Create a new Entity object (Non-DOM). |
LazyEntityReference |
createEntityReference(int nodeId)
Create a entity reference from a template given its id. |
org.w3c.dom.EntityReference |
createEntityReference(java.lang.String name)
|
LazyNotation |
createNotation(int nodeId)
Create a notation node from a template given its id. |
org.w3c.dom.Notation |
createNotation(java.lang.String name)
|
LazyProcessingInstruction |
createProcessingInstruction(int nodeId)
Create a process instruction node from a template given its id. |
org.w3c.dom.ProcessingInstruction |
createProcessingInstruction(java.lang.String target,
java.lang.String data)
|
LazyAttr |
createTemplateAttribute(java.lang.String name,
int nodeId)
Create a template Attr. |
LazyAttr |
createTemplateAttributeNS(java.lang.String namespaceURI,
java.lang.String qualifiedName,
int nodeId)
Create a template Attr. |
LazyCDATASection |
createTemplateCDATASection(java.lang.String data,
int nodeId)
Create a template CDATASection. |
LazyComment |
createTemplateComment(java.lang.String data,
int nodeId)
Create a template comment. |
LazyDocumentType |
createTemplateDocumentType(java.lang.String qualifiedName,
java.lang.String publicID,
java.lang.String systemID,
java.lang.String internalSubset,
int nodeId)
Create a template DocumentType. |
LazyElement |
createTemplateElement(java.lang.String tagName,
int nodeId,
java.lang.String preFormattedText)
Create a template element. |
LazyElement |
createTemplateElementNS(java.lang.String namespaceURI,
java.lang.String qualifiedName,
int nodeId,
java.lang.String preFormattedText)
Create a template Element with namespace. |
LazyEntity |
createTemplateEntity(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId,
java.lang.String notationName,
int nodeId)
Create a template Entity. |
LazyEntityReference |
createTemplateEntityReference(java.lang.String name,
int nodeId)
Create a template EntityReference. |
LazyNotation |
createTemplateNotation(java.lang.String name,
int nodeId)
Create a template Notation. |
LazyProcessingInstruction |
createTemplateProcessingInstruction(java.lang.String target,
java.lang.String data,
int nodeId)
Create a template ProcessingInstruction. |
LazyText |
createTemplateTextNode(java.lang.String data,
int nodeId,
java.lang.String preFormattedText)
Create a template text node. |
LazyText |
createTextNode(int nodeId)
Create a text node from a template given its id. |
org.w3c.dom.Text |
createTextNode(java.lang.String data)
|
protected void |
doExpandChildren(LazyParent node)
Do work of expanding the children of a node, if they are not already expanded. |
protected void |
doExpandParent(LazyParent node)
Do work of expanding the parent of a node, if it is not already expanded. |
protected void |
enterExpansion()
Flag that an expansion is in progress, which is used to detect recursion. |
org.w3c.dom.NodeList |
getChildNodes()
|
org.w3c.dom.DocumentType |
getDoctype()
|
org.w3c.dom.Element |
getDocumentElement()
|
LazyNode |
getExpandedNode(int nodeId)
Get a pointer to a node if its been expanded, otherwise return null. |
org.w3c.dom.Node |
getFirstChild()
|
org.w3c.dom.DOMImplementation |
getImplementation()
|
org.w3c.dom.Node |
getLastChild()
|
LazyNode |
getNodeById(int nodeId)
Get or create a lazy node, given its id. |
LazyNode |
getNodeFromTemplate(LazyNode template)
Get or create a node given, the template node. |
int |
getNodeId()
Get the node numeric id number. |
OutputOptions |
getPreFormatOutputOptions()
Get the OutputOption that were used to format the document. |
LazyDocument |
getTemplateDocument()
Get the template for this node. |
LazyNode |
getTemplateNode()
Get the template node as a LazyNode. |
LazyNode |
getTemplateNode(int nodeId)
Get a template node, given a node id. |
XMLObject |
getXMLObject()
Get the XMLC XMLObject that contains this document, or null it it's not associated with a XMLObject. |
boolean |
hasChildNodes()
|
org.w3c.dom.Node |
insertBefore(org.w3c.dom.Node newChild,
org.w3c.dom.Node refChild)
|
boolean |
isDocTypeExpanded()
Has the DocumentType been expanded? |
boolean |
isParentExpanded()
Is the parent of this node expanded? |
boolean |
isTemplateNode()
Check if this node is a template node. |
protected void |
leaveExpansion()
Flag that an expansion is complete. |
void |
makeTemplateNode(int nodeId)
|
void |
normalize()
|
org.w3c.dom.Node |
removeChild(org.w3c.dom.Node oldChild)
|
org.w3c.dom.Node |
replaceChild(org.w3c.dom.Node newChild,
org.w3c.dom.Node oldChild)
|
void |
setChildrenExpanded()
Flag the children as being expanded. |
void |
setNodeValue(java.lang.String value)
Set the node value, invalidating the id. |
void |
setParentExpanded()
Flag the parent as being expanded. |
void |
setParentWhileExpanding(org.w3c.dom.Node parent)
Set the parent of this node during expansion. |
void |
setPreFormatOutputOptions(OutputOptions outputOptions)
Set the output options that were used to preformat this document. |
void |
setXMLObject(XMLObject xmlObject)
Set the XMLC XMLObject that contains this document. |
LazyNode |
templateClone(org.w3c.dom.Document ownerDocument)
Create a new node, using this node as the template. |
Methods inherited from class org.enhydra.apache.xerces.dom.DocumentImpl |
addEventListener, createEvent, createNodeIterator, createNodeIterator, createRange, createTreeWalker, createTreeWalker, dispatchAggregateEvents, dispatchAggregateEvents, dispatchEvent, dispatchEventToSubtree, getEventListeners, getUserData, removeEventListener, saveEnclosingAttr, setEventListeners, setUserData |
Methods inherited from class org.enhydra.apache.xerces.dom.CoreDocumentImpl |
adoptNode, changed, changes, clone, cloneNode, createDocumentFragment, createElementDefinition, getElementById, getElementsByTagName, getElementsByTagNameNS, getEncoding, getErrorChecking, getIdentifier, getIdentifiers, getNodeName, getNodeType, getOwnerDocument, getStandalone, getStrictErrorChecking, getVersion, importNode, isKidOK, isXMLName, putIdentifier, removeIdentifier, setEncoding, setErrorChecking, setStandalone, setStrictErrorChecking, setVersion |
Methods inherited from class org.enhydra.apache.xerces.dom.ParentNode |
getChildNodesUnoptimized, getLength, item, setReadOnly, synchronizeChildren |
Methods inherited from class org.enhydra.apache.xerces.dom.ChildNode |
getNextSibling, getParentNode, getPreviousSibling |
Methods inherited from class org.enhydra.apache.xerces.dom.NodeImpl |
addEventListener, dispatchEvent, getAttributes, getLocalName, getNamespaceURI, getNodeValue, getPrefix, getReadOnly, getUserData, hasAttributes, isSupported, removeEventListener, setPrefix, 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.Node |
getAttributes, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, isSupported, setPrefix |
Constructor Detail |
public LazyDocument(org.w3c.dom.DocumentType documentType, TemplateDOM templateDOM)
documentType
- Document type to associate with this document,
or null if no doctype or should be obtained from template.templateDOM
- Template DOM, with each node cotaining a node id.
Maybe null if no associated template.public LazyDocument()
Method Detail |
public org.w3c.dom.Element getDocumentElement()
getDocumentElement
in interface org.w3c.dom.Document
getDocumentElement
in class org.enhydra.apache.xerces.dom.CoreDocumentImpl
Document.getDocumentElement()
public org.w3c.dom.DOMImplementation getImplementation()
getImplementation
in interface org.w3c.dom.Document
getImplementation
in class org.enhydra.apache.xerces.dom.DocumentImpl
Document#DOMImplementation
protected final void enterExpansion()
protected final void leaveExpansion()
public final LazyNode getNodeById(int nodeId)
public final LazyNode getNodeFromTemplate(LazyNode template)
getNodeById
protected void doExpandParent(LazyParent node)
protected void doExpandChildren(LazyParent node)
public final LazyNode getExpandedNode(int nodeId)
public final LazyNode getTemplateNode(int nodeId)
public boolean isDocTypeExpanded()
public LazyDocument getTemplateDocument()
LazyNode.getTemplateNode()
public org.w3c.dom.Node cloneNode(boolean deep)
cloneNode
in interface org.w3c.dom.Node
cloneNode
in class org.enhydra.apache.xerces.dom.DocumentImpl
Node.cloneNode(boolean)
public void makeTemplateNode(int nodeId)
makeTemplateNode
in interface LazyNode
public int getNodeId()
LazyNode
getNodeId
in interface LazyNode
LazyNode.getNodeId()
public boolean isTemplateNode()
LazyNode
isTemplateNode
in interface LazyNode
LazyNode.isTemplateNode()
public LazyNode getTemplateNode()
LazyNode
getTemplateNode
in interface LazyNode
LazyNode.getTemplateNode()
public LazyNode templateClone(org.w3c.dom.Document ownerDocument)
LazyNode
templateClone
in interface LazyNode
LazyNode.templateClone(org.w3c.dom.Document)
public void setNodeValue(java.lang.String value)
setNodeValue
in interface org.w3c.dom.Node
setNodeValue
in class org.enhydra.apache.xerces.dom.NodeImpl
org.w3c.dom.Node.setNodeValue
public boolean isParentExpanded()
LazyParent
isParentExpanded
in interface LazyParent
LazyParent.isParentExpanded()
public void setParentExpanded()
LazyParent
setParentExpanded
in interface LazyParent
LazyParent.setParentExpanded()
public void setParentWhileExpanding(org.w3c.dom.Node parent)
LazyParent
setParentWhileExpanding
in interface LazyParent
LazyParent.setParentWhileExpanding(org.w3c.dom.Node)
public boolean areChildrenExpanded()
LazyParent
areChildrenExpanded
in interface LazyParent
LazyParent.areChildrenExpanded()
public void setChildrenExpanded()
LazyParent
setChildrenExpanded
in interface LazyParent
LazyParent.setChildrenExpanded()
public void appendChildWhileExpanding(org.w3c.dom.Node child)
LazyParent
appendChildWhileExpanding
in interface LazyParent
LazyParent.appendChildWhileExpanding(org.w3c.dom.Node)
public org.w3c.dom.NodeList getChildNodes()
getChildNodes
in interface org.w3c.dom.Node
getChildNodes
in class org.enhydra.apache.xerces.dom.ParentNode
Node.getChildNodes()
public org.w3c.dom.Node getFirstChild()
getFirstChild
in interface org.w3c.dom.Node
getFirstChild
in class org.enhydra.apache.xerces.dom.ParentNode
Node.getFirstChild()
public org.w3c.dom.Node getLastChild()
getLastChild
in interface org.w3c.dom.Node
getLastChild
in class org.enhydra.apache.xerces.dom.ParentNode
Node.getLastChild()
public org.w3c.dom.Node insertBefore(org.w3c.dom.Node newChild, org.w3c.dom.Node refChild) throws org.w3c.dom.DOMException
insertBefore
in interface org.w3c.dom.Node
insertBefore
in class org.enhydra.apache.xerces.dom.CoreDocumentImpl
org.w3c.dom.DOMException
Node.insertBefore(org.w3c.dom.Node, org.w3c.dom.Node)
public org.w3c.dom.Node replaceChild(org.w3c.dom.Node newChild, org.w3c.dom.Node oldChild) throws org.w3c.dom.DOMException
replaceChild
in interface org.w3c.dom.Node
replaceChild
in class org.enhydra.apache.xerces.dom.CoreDocumentImpl
org.w3c.dom.DOMException
Node.replaceChild(org.w3c.dom.Node, org.w3c.dom.Node)
public org.w3c.dom.Node removeChild(org.w3c.dom.Node oldChild) throws org.w3c.dom.DOMException
removeChild
in interface org.w3c.dom.Node
removeChild
in class org.enhydra.apache.xerces.dom.CoreDocumentImpl
org.w3c.dom.DOMException
Node.removeChild(org.w3c.dom.Node)
public org.w3c.dom.Node appendChild(org.w3c.dom.Node newChild) throws org.w3c.dom.DOMException
appendChild
in interface org.w3c.dom.Node
appendChild
in class org.enhydra.apache.xerces.dom.NodeImpl
org.w3c.dom.DOMException
Node.appendChild(org.w3c.dom.Node)
public boolean hasChildNodes()
hasChildNodes
in interface org.w3c.dom.Node
hasChildNodes
in class org.enhydra.apache.xerces.dom.ParentNode
Node.hasChildNodes()
public void normalize()
normalize
in interface org.w3c.dom.Node
normalize
in class org.enhydra.apache.xerces.dom.ParentNode
Node.normalize()
public org.w3c.dom.DocumentType getDoctype()
getDoctype
in interface org.w3c.dom.Document
getDoctype
in class org.enhydra.apache.xerces.dom.CoreDocumentImpl
Document.getDoctype()
public org.w3c.dom.Element createElement(java.lang.String tagName) throws org.w3c.dom.DOMException
createElement
in interface org.w3c.dom.Document
createElement
in class org.enhydra.apache.xerces.dom.CoreDocumentImpl
org.w3c.dom.DOMException
Document.createElement(java.lang.String)
public org.w3c.dom.Text createTextNode(java.lang.String data)
createTextNode
in interface org.w3c.dom.Document
createTextNode
in class org.enhydra.apache.xerces.dom.CoreDocumentImpl
Document.createTextNode(java.lang.String)
public org.w3c.dom.Comment createComment(java.lang.String data)
createComment
in interface org.w3c.dom.Document
createComment
in class org.enhydra.apache.xerces.dom.CoreDocumentImpl
Document.createComment(java.lang.String)
public org.w3c.dom.CDATASection createCDATASection(java.lang.String data) throws org.w3c.dom.DOMException
createCDATASection
in interface org.w3c.dom.Document
createCDATASection
in class org.enhydra.apache.xerces.dom.CoreDocumentImpl
org.w3c.dom.DOMException
Document.createCDATASection(java.lang.String)
public org.w3c.dom.ProcessingInstruction createProcessingInstruction(java.lang.String target, java.lang.String data)
createProcessingInstruction
in interface org.w3c.dom.Document
createProcessingInstruction
in class org.enhydra.apache.xerces.dom.CoreDocumentImpl
Document.createProcessingInstruction(java.lang.String, java.lang.String)
public org.w3c.dom.Attr createAttribute(java.lang.String name) throws org.w3c.dom.DOMException
createAttribute
in interface org.w3c.dom.Document
createAttribute
in class org.enhydra.apache.xerces.dom.CoreDocumentImpl
org.w3c.dom.DOMException
Document.createAttribute(java.lang.String)
public org.w3c.dom.Notation createNotation(java.lang.String name) throws org.w3c.dom.DOMException
createNotation
in class org.enhydra.apache.xerces.dom.CoreDocumentImpl
org.w3c.dom.DOMException
org.w3c.dom.Document#createNotation
public org.w3c.dom.EntityReference createEntityReference(java.lang.String name) throws org.w3c.dom.DOMException
createEntityReference
in interface org.w3c.dom.Document
createEntityReference
in class org.enhydra.apache.xerces.dom.CoreDocumentImpl
org.w3c.dom.DOMException
Document.createEntityReference(java.lang.String)
public org.w3c.dom.Element createElementNS(java.lang.String namespaceURI, java.lang.String qualifiedName) throws org.w3c.dom.DOMException
createElementNS
in interface org.w3c.dom.Document
createElementNS
in class org.enhydra.apache.xerces.dom.CoreDocumentImpl
org.w3c.dom.DOMException
Document.createElementNS(java.lang.String, java.lang.String)
public org.w3c.dom.Attr createAttributeNS(java.lang.String namespaceURI, java.lang.String qualifiedName) throws org.w3c.dom.DOMException
createAttributeNS
in interface org.w3c.dom.Document
createAttributeNS
in class org.enhydra.apache.xerces.dom.CoreDocumentImpl
org.w3c.dom.DOMException
Document.createAttributeNS(java.lang.String, java.lang.String)
public org.w3c.dom.DocumentType createDocumentType(java.lang.String qualifiedName, java.lang.String publicID, java.lang.String systemID, java.lang.String internalSubset) throws org.w3c.dom.DOMException
org.w3c.dom.DOMException
CoreDocumentImpl.createDocumentType(java.lang.String, java.lang.String, java.lang.String)
public org.w3c.dom.DocumentType createDocumentType(java.lang.String qualifiedName, java.lang.String publicID, java.lang.String systemID) throws org.w3c.dom.DOMException
createDocumentType
in class org.enhydra.apache.xerces.dom.CoreDocumentImpl
org.w3c.dom.DOMException
CoreDocumentImpl.createDocumentType(java.lang.String, java.lang.String, java.lang.String)
public org.w3c.dom.Entity createEntity(java.lang.String name) throws org.w3c.dom.DOMException
createEntity
in class org.enhydra.apache.xerces.dom.CoreDocumentImpl
org.w3c.dom.DOMException
CoreDocumentImpl.createEntity(java.lang.String)
public LazyElement createElement(int nodeId) throws org.w3c.dom.DOMException
org.w3c.dom.DOMException
Document.createElement(java.lang.String)
public LazyText createTextNode(int nodeId)
Document.createTextNode(java.lang.String)
public LazyComment createComment(int nodeId)
Document.createComment(java.lang.String)
public LazyCDATASection createCDATASection(int nodeId) throws org.w3c.dom.DOMException
org.w3c.dom.DOMException
Document.createCDATASection(java.lang.String)
public LazyProcessingInstruction createProcessingInstruction(int nodeId)
Document.createProcessingInstruction(java.lang.String, java.lang.String)
public LazyAttr createAttribute(int nodeId) throws org.w3c.dom.DOMException
org.w3c.dom.DOMException
Document.createAttribute(java.lang.String)
public LazyNotation createNotation(int nodeId) throws org.w3c.dom.DOMException
org.w3c.dom.DOMException
org.w3c.dom.Document#createNotation
public LazyEntityReference createEntityReference(int nodeId) throws org.w3c.dom.DOMException
org.w3c.dom.DOMException
Document.createEntityReference(java.lang.String)
public LazyDocumentType createDocumentType(int nodeId) throws org.w3c.dom.DOMException
org.w3c.dom.DOMException
CoreDocumentImpl.createDocumentType(java.lang.String, java.lang.String, java.lang.String)
public LazyEntity createEntity(int nodeId) throws org.w3c.dom.DOMException
org.w3c.dom.DOMException
CoreDocumentImpl.createEntity(java.lang.String)
public LazyElement createTemplateElement(java.lang.String tagName, int nodeId, java.lang.String preFormattedText) throws org.w3c.dom.DOMException
org.w3c.dom.DOMException
createElement(String)
,
Document.createElement(java.lang.String)
public LazyText createTemplateTextNode(java.lang.String data, int nodeId, java.lang.String preFormattedText)
createTextNode(String)
,
Document.createTextNode(java.lang.String)
public LazyComment createTemplateComment(java.lang.String data, int nodeId)
createComment(String)
,
Document.createComment(java.lang.String)
public LazyCDATASection createTemplateCDATASection(java.lang.String data, int nodeId) throws org.w3c.dom.DOMException
org.w3c.dom.DOMException
#createCDataSection(String)
,
Document.createCDATASection(java.lang.String)
public LazyProcessingInstruction createTemplateProcessingInstruction(java.lang.String target, java.lang.String data, int nodeId)
createProcessingInstruction(String,String)
,
Document.createProcessingInstruction(java.lang.String, java.lang.String)
public LazyAttr createTemplateAttribute(java.lang.String name, int nodeId) throws org.w3c.dom.DOMException
org.w3c.dom.DOMException
createAttribute(String)
,
Document.createAttribute(java.lang.String)
public LazyAttr createTemplateAttributeNS(java.lang.String namespaceURI, java.lang.String qualifiedName, int nodeId) throws org.w3c.dom.DOMException
org.w3c.dom.DOMException
createAttributeNS(String,String)
,
Document.createAttributeNS(java.lang.String, java.lang.String)
public LazyNotation createTemplateNotation(java.lang.String name, int nodeId) throws org.w3c.dom.DOMException
org.w3c.dom.DOMException
createNotation(String)
,
org.w3c.dom.Document#createNotation
public LazyEntityReference createTemplateEntityReference(java.lang.String name, int nodeId) throws org.w3c.dom.DOMException
org.w3c.dom.DOMException
createEntityReference(String)
,
Document.createEntityReference(java.lang.String)
public LazyElement createTemplateElementNS(java.lang.String namespaceURI, java.lang.String qualifiedName, int nodeId, java.lang.String preFormattedText) throws org.w3c.dom.DOMException
org.w3c.dom.DOMException
createElementNS(String,String)
,
Document.createElementNS(java.lang.String, java.lang.String)
public LazyAttr createAttributeNS(java.lang.String namespaceURI, java.lang.String qualifiedName, int nodeId) throws org.w3c.dom.DOMException
org.w3c.dom.DOMException
createAttributeNS(String,String)
,
Document.createAttributeNS(java.lang.String, java.lang.String)
public LazyDocumentType createTemplateDocumentType(java.lang.String qualifiedName, java.lang.String publicID, java.lang.String systemID, java.lang.String internalSubset, int nodeId) throws org.w3c.dom.DOMException
org.w3c.dom.DOMException
createDocumentType(String,String,String,String)
,
CoreDocumentImpl.createDocumentType(java.lang.String, java.lang.String, java.lang.String)
public LazyEntity createTemplateEntity(java.lang.String name, java.lang.String publicId, java.lang.String systemId, java.lang.String notationName, int nodeId) throws org.w3c.dom.DOMException
org.w3c.dom.DOMException
createEntity(String)
,
CoreDocumentImpl.createEntity(java.lang.String)
public void setPreFormatOutputOptions(OutputOptions outputOptions)
outputOptions
- The output options; should be read-only.public OutputOptions getPreFormatOutputOptions()
PreFormattedTextDocument
getPreFormatOutputOptions
in interface PreFormattedTextDocument
PreFormattedTextDocument.getPreFormatOutputOptions()
public void setXMLObject(XMLObject xmlObject)
XMLObjectLink
setXMLObject
in interface XMLObjectLink
XMLObjectLink.setXMLObject(org.enhydra.xml.xmlc.XMLObject)
public XMLObject getXMLObject()
XMLObjectLink
getXMLObject
in interface XMLObjectLink
XMLObjectLink.getXMLObject()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |