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 and Description |
---|---|
static ProcessingInstruction |
DocumentHelper.createProcessingInstruction(String pi,
Map<String,String> data) |
ProcessingInstruction |
DocumentFactory.createProcessingInstruction(String target,
Map<String,String> data) |
static ProcessingInstruction |
DocumentHelper.createProcessingInstruction(String pi,
String d) |
ProcessingInstruction |
DocumentFactory.createProcessingInstruction(String target,
String data) |
ProcessingInstruction |
Branch.processingInstruction(String target)
DOCUMENT ME!
|
Modifier and Type | Method and Description |
---|---|
List<ProcessingInstruction> |
Branch.processingInstructions()
Returns a list of all the processing instructions in this branch.
|
List<ProcessingInstruction> |
Branch.processingInstructions(String target)
Returns a list of the processing instructions for the given target.
|
Modifier and Type | Method and Description |
---|---|
void |
Branch.add(ProcessingInstruction pi)
Adds the given
ProcessingInstruction to this branch. |
boolean |
Branch.remove(ProcessingInstruction pi)
Removes the given
ProcessingInstruction if the node is an
immediate child of this branch. |
void |
VisitorSupport.visit(ProcessingInstruction node) |
void |
Visitor.visit(ProcessingInstruction node)
Visits the given
ProcessingInstruction |
Modifier and Type | Method and Description |
---|---|
void |
Branch.setProcessingInstructions(List<ProcessingInstruction> listOfPIs)
Sets all the processing instructions for this branch
|
Modifier and Type | Class and Description |
---|---|
class |
DOMProcessingInstruction
DOMProcessingInstruction implements a ProcessingInstruction
node which supports the W3C DOM API. |
Modifier and Type | Method and Description |
---|---|
ProcessingInstruction |
DOMDocumentFactory.createProcessingInstruction(String target,
Map<String,String> data) |
ProcessingInstruction |
DOMDocumentFactory.createProcessingInstruction(String target,
String data) |
Modifier and Type | Method and Description |
---|---|
ProcessingInstruction |
STAXEventReader.createProcessingInstruction(ProcessingInstruction pi)
Constructs a new DOM4J ProcessingInstruction from the provided StAX
ProcessingInstruction event.
|
ProcessingInstruction |
STAXEventReader.readProcessingInstruction(XMLEventReader reader)
Constructs a DOM4J ProcessingInstruction from the provided event stream.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DOMWriter.appendDOMTree(Document domDoc,
Node domCurrent,
ProcessingInstruction pi) |
ProcessingInstruction |
STAXEventWriter.createProcessingInstruction(ProcessingInstruction pi)
Constructs a STAX
ProcessingInstruction
event from a DOM4J ProcessingInstruction . |
void |
XMLWriter.write(ProcessingInstruction processingInstruction)
Writes the given
ProcessingInstruction . |
void |
SAXWriter.write(ProcessingInstruction pi)
Generates SAX events for the given ProcessingInstruction
|
protected void |
XMLWriter.writeProcessingInstruction(ProcessingInstruction pi) |
void |
STAXEventWriter.writeProcessingInstruction(ProcessingInstruction pi)
Writes a DOM4J
ProcessingInstruction to the stream. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractProcessingInstruction
AbstractProcessingInstruction is an abstract base class for
tree implementors to use for implementation inheritence. |
class |
DefaultProcessingInstruction
DefaultProcessingInstruction is the default Processing
Instruction implementation. |
class |
FlyweightProcessingInstruction
FlyweightProcessingInstruction is a Flyweight pattern
implementation of a singly linked, read-only XML Processing Instruction. |
Modifier and Type | Method and Description |
---|---|
ProcessingInstruction |
DefaultElement.processingInstruction(String target) |
ProcessingInstruction |
DefaultDocument.processingInstruction(String target) |
ProcessingInstruction |
AbstractElement.processingInstruction(String target) |
Modifier and Type | Method and Description |
---|---|
List<ProcessingInstruction> |
DefaultElement.processingInstructions() |
List<ProcessingInstruction> |
DefaultDocument.processingInstructions() |
List<ProcessingInstruction> |
AbstractElement.processingInstructions() |
List<ProcessingInstruction> |
DefaultElement.processingInstructions(String target) |
List<ProcessingInstruction> |
DefaultDocument.processingInstructions(String target) |
List<ProcessingInstruction> |
AbstractElement.processingInstructions(String target) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractElement.add(ProcessingInstruction pi) |
void |
AbstractBranch.add(ProcessingInstruction pi) |
boolean |
AbstractElement.remove(ProcessingInstruction pi) |
boolean |
AbstractBranch.remove(ProcessingInstruction pi) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractBranch.setProcessingInstructions(List<ProcessingInstruction> listOfPIs) |
Modifier and Type | Method and Description |
---|---|
ProcessingInstruction |
ProxyDocumentFactory.createProcessingInstruction(String target,
Map<String,String> data) |
ProcessingInstruction |
ProxyDocumentFactory.createProcessingInstruction(String target,
String data) |
Modifier and Type | Method and Description |
---|---|
int |
NodeComparator.compare(ProcessingInstruction n1,
ProcessingInstruction n2) |
Copyright © 2021. All rights reserved.