Package | Description |
---|---|
de.pdark.decentxml | |
de.pdark.decentxml.dtd | |
de.pdark.decentxml.mapping |
Modifier and Type | Interface | Description |
---|---|---|
interface |
Child |
This is an interface for anything which can be a child.
|
interface |
Parent |
This is an interface for anything which can be a parent:
Element and Document . |
Modifier and Type | Class | Description |
---|---|---|
class |
Attribute |
This class represents an attribute of an
Element |
class |
BasicNode |
The parent class for all nodes in the XML document.
|
class |
Comment |
|
class |
Document |
This class represents an XML document.
|
class |
Element |
An element in a XML document.
|
class |
Entity |
|
class |
NodeWithChildren |
This class contains all the code necessary to implement nodes
which can have child nodes (like Document or Element).
|
class |
ProcessingInstruction |
|
class |
Text |
|
class |
XMLDeclaration |
This class allows to manipulate the XML encoding at the beginning of an XML document.
|
Modifier and Type | Field | Description |
---|---|---|
protected Node |
XMLWriter.current |
Modifier and Type | Method | Description |
---|---|---|
Node |
Node.copy() |
Simulate clone()
|
Node |
Node.copy(Node orig) |
Copy all data from
orig into this |
protected Node |
XMLParser.createAttribute(Token token) |
|
protected Node |
XMLParser.createCData(Token token) |
|
Node |
Node.createClone() |
Simulate clone()
|
protected Node |
XMLParser.createComment(Token token) |
|
protected Node |
XMLParser.createDocTypeText(Token token) |
|
protected Node |
XMLParser.createElement(Token token) |
|
protected Node |
XMLParser.createElementWhitespace(Token token) |
|
protected Node |
XMLParser.createEntity(Token token) |
|
protected Node |
XMLParser.createProcessingInstruction(Token token) |
|
protected Node |
XMLParser.createText(Token token) |
|
Node |
NodeWithChildren.getNode(int index) |
|
Node |
Parent.getNode(int index) |
Get a specific node from the list
|
Node |
XMLParseException.getNode() |
|
Node |
TreeIterator.next() |
|
Node |
Document.removeNode(int index) |
|
Node |
NodeWithChildren.removeNode(int index) |
|
Node |
Parent.removeNode(int index) |
Remove a node from the list
|
Node |
TextNode.setText(String text) |
Change the text of the node.
|
protected Node |
XMLParser.toNode(Token token) |
This turns a token into a node.
|
Node |
Node.toXML(XMLWriter writer) |
Fast way to convert many nodes to XML
|
Modifier and Type | Method | Description |
---|---|---|
List<Node> |
NodeWithChildren.getNodes() |
|
List<Node> |
Parent.getNodes() |
Get the list of child nodes.
|
Modifier and Type | Method | Description |
---|---|---|
Document |
Document.addNode(int index,
Node node) |
|
Document |
Document.addNode(Node node) |
|
Element |
Element.addNode(int index,
Node node) |
|
Element |
Element.addNode(Node node) |
|
NodeWithChildren |
NodeWithChildren.addNode(int index,
Node node) |
|
NodeWithChildren |
NodeWithChildren.addNode(Node node) |
|
Parent |
Parent.addNode(int index,
Node node) |
|
Parent |
Parent.addNode(Node node) |
|
Document |
Document.addNodes(int index,
Node... nodes) |
|
Document |
Document.addNodes(Node... nodes) |
|
Element |
Element.addNodes(int index,
Node... nodes) |
|
Element |
Element.addNodes(Node... nodes) |
|
NodeWithChildren |
NodeWithChildren.addNodes(int index,
Node... nodes) |
|
NodeWithChildren |
NodeWithChildren.addNodes(Node... nodes) |
|
Parent |
Parent.addNodes(int index,
Node... nodes) |
|
Parent |
Parent.addNodes(Node... nodes) |
|
Attribute |
Attribute.copy(Node orig) |
|
BasicNode |
BasicNode.copy(Node orig) |
|
Document |
Document.copy(Node orig) |
|
Element |
Element.copy(Node orig) |
|
Entity |
Entity.copy(Node orig) |
|
Node |
Node.copy(Node orig) |
Copy all data from
orig into this |
NodeWithChildren |
NodeWithChildren.copy(Node orig) |
|
ProcessingInstruction |
ProcessingInstruction.copy(Node orig) |
|
BasicNode |
Text.copy(Node orig) |
|
XMLDeclaration |
XMLDeclaration.copy(Node orig) |
|
static boolean |
XMLUtils.isAttribute(Node n) |
|
static boolean |
XMLUtils.isElement(Node n) |
|
static boolean |
XMLUtils.isText(Node n) |
|
boolean |
NodeFilter.matches(Node n) |
|
int |
NodeWithChildren.nodeIndexOf(Node node) |
|
int |
Parent.nodeIndexOf(Node node) |
The index of the node in the node list or -1 if it isn't in the list
|
boolean |
Document.removeNode(Node n) |
|
boolean |
NodeWithChildren.removeNode(Node n) |
|
boolean |
Parent.removeNode(Node node) |
Remove a node from the list
|
void |
XMLParseException.setNode(Document doc,
Node node) |
|
static String |
BasicNode.toXML(Node n) |
Helper method for
String toXML() to handle the
IOException that StringWriter
will never throw. |
void |
XMLWriter.write(Node node,
String s) |
If you want to see every node written to the underlying writer, this is the place.
|
void |
XMLWriter.writeAttributeValue(Node node,
String value,
char quoteChar) |
Modifier and Type | Method | Description |
---|---|---|
Document |
Document.addNodes(int index,
Collection<? extends Node> nodes) |
|
Document |
Document.addNodes(Collection<? extends Node> nodes) |
|
Element |
Element.addNodes(int index,
Collection<? extends Node> nodes) |
|
Element |
Element.addNodes(Collection<? extends Node> nodes) |
|
NodeWithChildren |
NodeWithChildren.addNodes(int index,
Collection<? extends Node> nodes) |
|
NodeWithChildren |
NodeWithChildren.addNodes(Collection<? extends Node> nodes) |
|
Parent |
Parent.addNodes(int index,
Collection<? extends Node> nodes) |
|
Parent |
Parent.addNodes(Collection<? extends Node> nodes) |
Constructor | Description |
---|---|
Document(Node... nodes) |
|
Location(Document document,
Node node) |
|
XMLParseException(String message,
Document doc,
Node node) |
|
XMLParseException(String message,
Node node) |
Modifier and Type | Class | Description |
---|---|---|
class |
DocType |
|
class |
DocTypeAttributeList |
|
class |
DocTypeElement |
|
class |
DocTypeEntity |
|
class |
DocTypeNotation |
|
class |
DocTypeText |
Modifier and Type | Method | Description |
---|---|---|
List<Node> |
DocTypeEntity.getNodes() |
Modifier and Type | Method | Description |
---|---|---|
void |
DocType.add(Node n) |
|
DocTypeAttributeList |
DocTypeAttributeList.addNode(Node node) |
|
DocTypeEntity |
DocTypeEntity.addNode(Node node) |
|
DocTypeNode |
DocTypeNode.addNode(Node node) |
|
DocTypeNotation |
DocTypeNotation.addNode(Node node) |
Modifier and Type | Method | Description |
---|---|---|
void |
AbstractNodeHandler.handle(Node node) |
|
void |
INodeHandler.handle(Node node) |
|
void |
NoParametersHandler.handle(Node node) |
|
void |
NopHandler.handle(Node node) |
|
abstract void |
AbstractNodeHandler.invoke(Node node) |
|
void |
ComplexElementHandler.invoke(Node node) |
|
void |
TextHandlerFactory.StringTextHandler.invoke(Node node) |
|
void |
TextHandlerFactory.TextObjectTextHandler.invoke(Node node) |
Copyright © 2008–2019. All rights reserved.