|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.beandocument.BeanBaseNode
Base node implementation for all bean node stuff which is general for the DOM implementation
Field Summary | |
protected BeanDocument |
owner
Owner document for this node |
protected BeanBaseNode |
parent
parent element for this element instance |
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 | |
protected |
BeanBaseNode(BeanDocument owner,
BeanBaseNode parent)
Default Constructor |
Method Summary | |
org.w3c.dom.Node |
appendChild(org.w3c.dom.Node node)
NOTE: This function is not implemented and therefore will just throw an exception! |
org.w3c.dom.Node |
cloneNode(boolean recursive)
NOTE: This function is not implemented and therefore will just throw an exception! |
protected BeanElementFactory |
getElementFactory()
Helper function to retrieve the current bean element factory instance |
java.lang.String |
getNamespaceURI()
Retrieves the namespace of this node - will always be null since namespace support is not implemented |
org.w3c.dom.Node |
getNextSibling()
Gets the next sibling in element context |
org.w3c.dom.Document |
getOwnerDocument()
Retrieves the owner document of this element |
org.w3c.dom.Node |
getParentNode()
Retrieves the parent element of this element |
java.lang.String |
getPrefix()
Retrieves the namespace prefix of this node - will always return null since namespace support is not implemented |
org.w3c.dom.Node |
getPreviousSibling()
Gets the previous sibling in element context |
org.w3c.dom.Node |
insertBefore(org.w3c.dom.Node newChild,
org.w3c.dom.Node refChild)
NOTE: This function is not implemented and therefore will just throw an exception! |
boolean |
isSupported(java.lang.String feature,
java.lang.String version)
Returns always false since no special features are implemented |
void |
normalize()
Normalize the node - calls to this method will be ignored |
org.w3c.dom.Node |
removeChild(org.w3c.dom.Node node)
NOTE: This function is not implemented and therefore will just throw an exception! |
org.w3c.dom.Node |
replaceChild(org.w3c.dom.Node newChild,
org.w3c.dom.Node oldChild)
NOTE: This function is not implemented and therefore will just throw an exception! |
protected void |
setNextSibling(BeanBaseNode element)
Sets the next sibling when creating new elements |
void |
setNodeValue(java.lang.String value)
NOTE: This function is not implemented and therefore will just throw an exception! |
void |
setPrefix(java.lang.String prefix)
NOTE: This function is not implemented and therefore will just throw an exception! |
protected void |
setPreviousSibling(BeanBaseNode element)
Sets the previous sibling when creating new elements |
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 |
getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNodeName, getNodeType, getNodeValue, hasAttributes, hasChildNodes |
Field Detail |
protected BeanDocument owner
protected final BeanBaseNode parent
Constructor Detail |
protected BeanBaseNode(BeanDocument owner, BeanBaseNode parent)
owner
- Owner document where this node belongs toparent
- Parent node of the new created nodeMethod Detail |
public final org.w3c.dom.Node appendChild(org.w3c.dom.Node node) throws org.w3c.dom.DOMException
appendChild
in interface org.w3c.dom.Node
node
- Node to add - ignored by this implementation
org.w3c.dom.DOMException
- If method is calledNode.appendChild(org.w3c.dom.Node)
public final org.w3c.dom.Node cloneNode(boolean recursive)
cloneNode
in interface org.w3c.dom.Node
recursive
- Flag if depending nodes should be cloned recursive - ignored by this implementation
java.lang.IllegalArgumentException
- If the method is calledNode.cloneNode(boolean)
public final java.lang.String getNamespaceURI()
getNamespaceURI
in interface org.w3c.dom.Node
Node.getNamespaceURI()
public final java.lang.String getPrefix()
getPrefix
in interface org.w3c.dom.Node
Node.getPrefix()
public final 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
newChild
- The node to insert - ignored by this implementationrefChild
- The reference node, i.e., the node before which the new node must be inserted
org.w3c.dom.DOMException
- If method is calledNode.insertBefore(org.w3c.dom.Node, org.w3c.dom.Node)
public final boolean isSupported(java.lang.String feature, java.lang.String version)
isSupported
in interface org.w3c.dom.Node
feature
- The name of the feature to testversion
- This is the version number of the feature to test
Node.isSupported(java.lang.String, java.lang.String)
public final void normalize()
normalize
in interface org.w3c.dom.Node
Node.normalize()
public org.w3c.dom.Document getOwnerDocument()
getOwnerDocument
in interface org.w3c.dom.Node
Node.getOwnerDocument()
public final org.w3c.dom.Node removeChild(org.w3c.dom.Node node) throws org.w3c.dom.DOMException
removeChild
in interface org.w3c.dom.Node
node
- The node to remove - ignored by this implementation
org.w3c.dom.DOMException
- If method is calledNode.removeChild(org.w3c.dom.Node)
public final 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
newChild
- The node to insert - ignored by this implementationoldChild
- The node to remove - ignored by this implementation
org.w3c.dom.DOMException
- If method is calledNode.replaceChild(org.w3c.dom.Node, org.w3c.dom.Node)
public void setNodeValue(java.lang.String value) throws org.w3c.dom.DOMException
setNodeValue
in interface org.w3c.dom.Node
value
- New value to set - ignored by this implementation
org.w3c.dom.DOMException
- If method is calledNode.setNodeValue(java.lang.String)
public final void setPrefix(java.lang.String prefix) throws org.w3c.dom.DOMException
setPrefix
in interface org.w3c.dom.Node
prefix
- Prefix to set - ignored by this implementation
org.w3c.dom.DOMException
- If method is calledNode.setPrefix(java.lang.String)
protected BeanElementFactory getElementFactory()
public org.w3c.dom.Node getPreviousSibling()
getPreviousSibling
in interface org.w3c.dom.Node
Node.getPreviousSibling()
public org.w3c.dom.Node getNextSibling()
getNextSibling
in interface org.w3c.dom.Node
Node.getNextSibling()
protected void setNextSibling(BeanBaseNode element)
element
- Element to set as next siblingprotected void setPreviousSibling(BeanBaseNode element)
element
- Element to set as next siblingpublic org.w3c.dom.Node getParentNode()
getParentNode
in interface org.w3c.dom.Node
Node.getParentNode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |