Uses of Interface
de.pdark.decentxml.Node
-
Packages that use Node Package Description de.pdark.decentxml de.pdark.decentxml.dtd de.pdark.decentxml.mapping -
-
Uses of Node in de.pdark.decentxml
Subinterfaces of Node in de.pdark.decentxml 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
andDocument
.Classes in de.pdark.decentxml that implement Node Modifier and Type Class Description class
Attribute
This class represents an attribute of anElement
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.Fields in de.pdark.decentxml declared as Node Modifier and Type Field Description protected Node
XMLWriter. current
Methods in de.pdark.decentxml that return Node Modifier and Type Method Description Node
Node. copy()
Simulate clone()Node
Node. copy(Node orig)
Copy all data fromorig
intothis
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 listNode
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 listNode
TextNode. setText(java.lang.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 XMLMethods in de.pdark.decentxml that return types with arguments of type Node Modifier and Type Method Description java.util.List<Node>
NodeWithChildren. getNodes()
java.util.List<Node>
Parent. getNodes()
Get the list of child nodes.Methods in de.pdark.decentxml with parameters of type Node 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 fromorig
intothis
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 listboolean
Document. removeNode(Node n)
boolean
NodeWithChildren. removeNode(Node n)
boolean
Parent. removeNode(Node node)
Remove a node from the listvoid
XMLParseException. setNode(Document doc, Node node)
static java.lang.String
BasicNode. toXML(Node n)
Helper method forString toXML()
to handle theIOException
thatStringWriter
will never throw.void
XMLWriter. write(Node node, java.lang.String s)
If you want to see every node written to the underlying writer, this is the place.void
XMLWriter. writeAttributeValue(Node node, java.lang.String value, char quoteChar)
Method parameters in de.pdark.decentxml with type arguments of type Node Modifier and Type Method Description Document
Document. addNodes(int index, java.util.Collection<? extends Node> nodes)
Document
Document. addNodes(java.util.Collection<? extends Node> nodes)
Element
Element. addNodes(int index, java.util.Collection<? extends Node> nodes)
Element
Element. addNodes(java.util.Collection<? extends Node> nodes)
NodeWithChildren
NodeWithChildren. addNodes(int index, java.util.Collection<? extends Node> nodes)
NodeWithChildren
NodeWithChildren. addNodes(java.util.Collection<? extends Node> nodes)
Parent
Parent. addNodes(int index, java.util.Collection<? extends Node> nodes)
Parent
Parent. addNodes(java.util.Collection<? extends Node> nodes)
Constructors in de.pdark.decentxml with parameters of type Node Constructor Description Document(Node... nodes)
Location(Document document, Node node)
XMLParseException(java.lang.String message, Document doc, Node node)
XMLParseException(java.lang.String message, Node node)
-
Uses of Node in de.pdark.decentxml.dtd
Classes in de.pdark.decentxml.dtd that implement Node Modifier and Type Class Description class
DocType
class
DocTypeAttributeList
class
DocTypeElement
class
DocTypeEntity
class
DocTypeNotation
class
DocTypeText
Methods in de.pdark.decentxml.dtd that return types with arguments of type Node Modifier and Type Method Description java.util.List<Node>
DocTypeEntity. getNodes()
Methods in de.pdark.decentxml.dtd with parameters of type Node 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)
-
Uses of Node in de.pdark.decentxml.mapping
Methods in de.pdark.decentxml.mapping with parameters of type 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)
-