Package | Description |
---|---|
org.dom4j |
Defines the XML Document Object Model in Java interfaces together
with some helper classes.
|
org.dom4j.io |
Provides input and output via SAX and DOM together with writing dom4j
objects to streams as XML text.
|
org.dom4j.util |
A collection of utility classes for the dom4j API.
|
Modifier and Type | Method and Description |
---|---|
static Comment |
DocumentHelper.createComment(java.lang.String text) |
Comment |
DocumentFactory.createComment(java.lang.String text) |
Modifier and Type | Method and Description |
---|---|
void |
Branch.add(Comment comment)
Adds the given
Comment to this branch. |
boolean |
Branch.remove(Comment comment)
Removes the given
Comment if the node is an immediate
child of this branch. |
void |
Visitor.visit(Comment node)
Visits the given
Comment |
void |
VisitorSupport.visit(Comment node) |
Modifier and Type | Method and Description |
---|---|
Comment |
STAXEventReader.createComment(javax.xml.stream.events.Comment comment)
Constructs a new DOM4J Comment from the provided StAX Comment event.
|
Comment |
STAXEventReader.readComment(javax.xml.stream.XMLEventReader reader)
Constructs a DOM4J Comment from the provided event stream.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DOMWriter.appendDOMTree(org.w3c.dom.Document domDocument,
org.w3c.dom.Node domCurrent,
Comment comment) |
javax.xml.stream.events.Comment |
STAXEventWriter.createComment(Comment comment)
Constructs a STAX
Comment event from a
DOM4J Comment . |
void |
XMLWriter.write(Comment comment)
Writes the given
Comment . |
void |
SAXWriter.write(Comment comment)
Generates SAX events for the given Comment
|
void |
STAXEventWriter.writeComment(Comment comment)
Writes a DOM4J
Comment to the stream. |
Modifier and Type | Method and Description |
---|---|
Comment |
ProxyDocumentFactory.createComment(java.lang.String text) |
Copyright © 2005 MetaStuff Ltd. All Rights Reserved. Hosted by