|
Devsphere.com |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
SDXBuilder needs a factory for DOM nodes that implements
this interface.
SDXBuilder,
DefaultSDXHelper| Method Summary | |
org.w3c.dom.CDATASection |
createCDATASection(java.lang.String data,
boolean newCDATA,
org.w3c.dom.Element parent)
Creates a DOM CDATASection node and appends it as a child
to the given parent element or just appends the data
to the last child of parent if that last child is
a CDATASection node and newCDATA is
false. |
org.w3c.dom.Comment |
createComment(java.lang.String data,
org.w3c.dom.Element parent)
Creates a DOM Comment node and appends it as a child
to the given parent element. |
org.w3c.dom.Element |
createElement(java.lang.String namespaceURI,
java.lang.String qualifiedName,
org.xml.sax.Attributes attributes,
org.w3c.dom.Element parent)
Creates a DOM Element node and appends it as a child
to the given parent element. |
org.w3c.dom.ProcessingInstruction |
createProcessingInstruction(java.lang.String target,
java.lang.String data,
org.w3c.dom.Element parent)
Creates a DOM ProcessingInstruction node and appends it
as a child to the given parent element. |
org.w3c.dom.Text |
createTextNode(java.lang.String data,
org.w3c.dom.Element parent)
Creates a DOM Text node and appends it as a child
to the given parent element or just appends the data
to the last child of parent if that last child is
a Text node. |
| Method Detail |
public org.w3c.dom.Element createElement(java.lang.String namespaceURI,
java.lang.String qualifiedName,
org.xml.sax.Attributes attributes,
org.w3c.dom.Element parent)
Element node and appends it as a child
to the given parent element. The attributes stored by
the SAX object are retrieved and set to the created DOM object.
namespaceURI - The namespace URI for the new elementqualifiedName - The qualified name for the new elementattributes - The attributes for the new elementparent - The parent for the new element or
null if this is a root element
Element
public org.w3c.dom.Text createTextNode(java.lang.String data,
org.w3c.dom.Element parent)
Text node and appends it as a child
to the given parent element or just appends the data
to the last child of parent if that last child is
a Text node. In other words, this method doesn't allow
the creation of adjacent Text nodes and creates
a Text node only when this is necessary.
data - The character data for the text nodeparent - The parent for the text node
Text node
public org.w3c.dom.CDATASection createCDATASection(java.lang.String data,
boolean newCDATA,
org.w3c.dom.Element parent)
CDATASection node and appends it as a child
to the given parent element or just appends the data
to the last child of parent if that last child is
a CDATASection node and newCDATA is
false. In other words, this method avoids the creation
of adjacent CDATASection nodes and creates a
CDATASection node only when this is necessary or required.
data - The character data for the CDATA sectionnewCDATA - Indicates the beginning of a new CDATA sectionparent - The parent for the CDATA section
CDATASection node
public org.w3c.dom.ProcessingInstruction createProcessingInstruction(java.lang.String target,
java.lang.String data,
org.w3c.dom.Element parent)
ProcessingInstruction node and appends it
as a child to the given parent element.
target - The target for the new processing instructiondata - The data for the new processing instructionparent - The parent for the new processing instruction
ProcessingInstruction
public org.w3c.dom.Comment createComment(java.lang.String data,
org.w3c.dom.Element parent)
Comment node and appends it as a child
to the given parent element.
data - The data for the new commentparent - The parent for the new comment
Comment node
|
Devsphere.com |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||