Package | Description |
---|---|
org.dom4j |
Defines the XML Document Object Model in Java interfaces together
with some helper classes.
|
org.dom4j.dom |
An implementation of the dom4j API which also supports the
W3C object model.
|
org.dom4j.io |
Provides input and output via SAX and DOM together with writing dom4j
objects to streams as XML text.
|
org.dom4j.tree |
Contains the default implementations of the dom4j Document Object Model
together with some helpful base classes for those wishing to
implement their own document object model.
|
org.dom4j.util |
A collection of utility classes for the dom4j API.
|
Modifier and Type | Method | Description |
---|---|---|
Comment |
DocumentFactory.createComment(java.lang.String text) |
|
static Comment |
DocumentHelper.createComment(java.lang.String text) |
Modifier and Type | Method | 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 | Class | Description |
---|---|---|
class |
DOMComment |
DOMText implements a Text node which supports the W3C DOM API. |
Modifier and Type | Method | Description |
---|---|---|
Comment |
DOMDocumentFactory.createComment(java.lang.String text) |
Modifier and Type | Method | 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 | 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 |
SAXWriter.write(Comment comment) |
Generates SAX events for the given Comment
|
void |
XMLWriter.write(Comment comment) |
Writes the given
Comment . |
void |
STAXEventWriter.writeComment(Comment comment) |
Writes a DOM4J
Comment to the stream. |
Modifier and Type | Class | Description |
---|---|---|
class |
AbstractComment |
AbstractComment is an abstract base class for tree
implementors to use for implementation inheritence. |
class |
DefaultComment |
DefaultComment is the default Comment implementation. |
class |
FlyweightComment |
FlyweightComment is a Flyweight pattern implementation of a
singly linked, read-only XML Comment. |
Modifier and Type | Method | Description |
---|---|---|
void |
AbstractBranch.add(Comment comment) |
|
void |
AbstractElement.add(Comment comment) |
|
boolean |
AbstractBranch.remove(Comment comment) |
|
boolean |
AbstractElement.remove(Comment comment) |
Modifier and Type | Method | Description |
---|---|---|
Comment |
ProxyDocumentFactory.createComment(java.lang.String text) |
Copyright ? 2005 MetaStuff Ltd. All Rights Reserved. Hosted by