|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Node | |
|---|---|
| org.planx.xmlstore | |
| org.planx.xmlstore.convert | |
| org.planx.xmlstore.docnodes | |
| org.planx.xmlstore.nodes | |
| org.planx.xmlstore.references | |
| org.planx.xmlstore.stores | |
| Uses of Node in org.planx.xmlstore |
|---|
| Methods in org.planx.xmlstore that return Node | |
|---|---|
abstract Node |
NodeFactory.createCharDataNode(String data)
|
abstract Node |
NodeFactory.createElementNode(String tagName)
|
abstract Node |
NodeFactory.createElementNode(String tagName,
List<? extends Node> children)
|
abstract Node |
NodeFactory.createElementNode(String tagName,
List<? extends Node> children,
List<Attribute> attrs)
|
abstract Node |
NodeFactory.createElementNode(String tagName,
Node child)
|
abstract Node |
NodeFactory.createElementNode(String tagName,
Node[] children)
|
abstract Node |
NodeFactory.createElementNode(String tagName,
Node[] children,
Attribute[] attrs)
|
abstract Node |
NodeFactory.insertChild(Node n,
int index,
Node child)
The method is used for adding a child to an element node. |
Node |
XMLStore.load(Reference ref)
Loads XML data identified by a reference. |
abstract Node |
NodeFactory.removeChild(Node n,
int index)
The method is used for removing a child from an element node. |
abstract Node |
NodeFactory.replaceChild(Node node,
int index,
Node child)
The method is used for replacing a child of an element node. |
| Methods in org.planx.xmlstore that return types with arguments of type Node | |
|---|---|
List<? extends Node> |
Node.getChildren()
Returns the children of this Node. |
| Methods in org.planx.xmlstore with parameters of type Node | |
|---|---|
abstract Node |
NodeFactory.createElementNode(String tagName,
Node child)
|
abstract Node |
NodeFactory.createElementNode(String tagName,
Node[] children)
|
abstract Node |
NodeFactory.createElementNode(String tagName,
Node[] children,
Attribute[] attrs)
|
abstract Node |
NodeFactory.insertChild(Node n,
int index,
Node child)
The method is used for adding a child to an element node. |
abstract Node |
NodeFactory.removeChild(Node n,
int index)
The method is used for removing a child from an element node. |
abstract Node |
NodeFactory.replaceChild(Node node,
int index,
Node child)
The method is used for replacing a child of an element node. |
Reference |
XMLStore.save(Node node)
Saves the XML data represented by the specified Node. |
| Method parameters in org.planx.xmlstore with type arguments of type Node | |
|---|---|
abstract Node |
NodeFactory.createElementNode(String tagName,
List<? extends Node> children)
|
abstract Node |
NodeFactory.createElementNode(String tagName,
List<? extends Node> children,
List<Attribute> attrs)
|
| Uses of Node in org.planx.xmlstore.convert |
|---|
| Methods in org.planx.xmlstore.convert that return Node | |
|---|---|
static Node |
SAXBuilder.build(InputSource in)
Loads an XML document from an InputSource. |
static Node |
SAXBuilder.build(InputSource in,
NodeListener listener)
|
static Node |
SAXBuilder.build(InputSource in,
XMLStore xmlstore)
Loads an XML document from an InputSource
and saves it in XMLStore during loading. |
static Node |
DOMBuilder.build(Node domNode)
Converts a DOM representation of an XML tree to a DVM representation. |
static Node |
SAXBuilder.build(String fileName)
Loads an XML document from a file. |
static Node |
SAXBuilder.build(String fileName,
NodeListener listener)
|
static Node |
SAXBuilder.build(String fileName,
XMLStore xmlstore)
Loads an XML document from a file and saves it in XMLStore during loading. |
static Node |
SAXBuilder.build(String fileName,
XMLStore xmlstore,
int flushDepth)
Loads an XML document from a file and saves it in XMLStore during loading. |
static Node |
DVMBuilder.parse(InputSource in)
Reads an XML document in serialized form and builds a DVM representation of the document. |
static Node |
DVMBuilder.parse(String fileName)
Reads an XML document in serialized form and builds a DVM representation of the document. |
static Node |
DVMBuilder.saxparse(String fileName)
|
| Methods in org.planx.xmlstore.convert with parameters of type Node | |
|---|---|
void |
SAXOutputter.output(Node root)
|
void |
XMLOutputter.output(Node node,
OutputStream os)
Output a node as an XML document. |
void |
XMLOutputter.output(Node node,
Writer out)
Output a node as an XML document. |
| Uses of Node in org.planx.xmlstore.docnodes |
|---|
| Classes in org.planx.xmlstore.docnodes that implement Node | |
|---|---|
class |
DocNode
DocNode is an occurrence of a Node in a document. |
| Methods in org.planx.xmlstore.docnodes that return types with arguments of type Node | |
|---|---|
List<? extends Node> |
DocNode.getChildren()
|
| Constructors in org.planx.xmlstore.docnodes with parameters of type Node | |
|---|---|
DocNode(Node node)
Create a DocNode which is the root of a document. |
|
| Uses of Node in org.planx.xmlstore.nodes |
|---|
| Subinterfaces of Node in org.planx.xmlstore.nodes | |
|---|---|
interface |
SystemNode
|
| Classes in org.planx.xmlstore.nodes that implement Node | |
|---|---|
class |
AbstractNode
|
class |
BlockingNodeProxy
|
class |
DVMNode
Standard implementation of an immutable Node. |
class |
NodeProxy
|
class |
XMLStoreNodeProxy
|
| Methods in org.planx.xmlstore.nodes that return Node | |
|---|---|
Node |
DVMNodeFactory.createCharDataNode(String data)
|
Node |
DVMNodeFactory.createElementNode(String tagName)
|
Node |
DVMNodeFactory.createElementNode(String tagName,
List<? extends Node> children)
|
Node |
DVMNodeFactory.createElementNode(String tagName,
List<? extends Node> children,
List<Attribute> attrs)
|
Node |
DVMNodeFactory.createElementNode(String tagName,
Node child)
|
Node |
DVMNodeFactory.createElementNode(String tagName,
Node[] children)
|
Node |
DVMNodeFactory.createElementNode(String tagName,
Node[] children,
Attribute[] attrs)
|
Node |
DVMNodeFactory.insertChild(Node n,
int index,
Node child)
|
Node |
DVMNodeFactory.removeChild(Node n,
int index)
|
Node |
DVMNodeFactory.replaceChild(Node node,
int index,
Node child)
|
| Methods in org.planx.xmlstore.nodes with parameters of type Node | |
|---|---|
static SystemNode |
DVMNodeFactory.convert(Node n)
Addition method that converts any Node to a SystemNode. |
Node |
DVMNodeFactory.createElementNode(String tagName,
Node child)
|
Node |
DVMNodeFactory.createElementNode(String tagName,
Node[] children)
|
Node |
DVMNodeFactory.createElementNode(String tagName,
Node[] children,
Attribute[] attrs)
|
Node |
DVMNodeFactory.insertChild(Node n,
int index,
Node child)
|
Node |
DVMNodeFactory.removeChild(Node n,
int index)
|
Node |
DVMNodeFactory.replaceChild(Node node,
int index,
Node child)
|
void |
InlineNodeStreamer.toStream(DataOutput out,
Node node)
|
| Method parameters in org.planx.xmlstore.nodes with type arguments of type Node | |
|---|---|
Node |
DVMNodeFactory.createElementNode(String tagName,
List<? extends Node> children)
|
Node |
DVMNodeFactory.createElementNode(String tagName,
List<? extends Node> children,
List<Attribute> attrs)
|
| Uses of Node in org.planx.xmlstore.references |
|---|
| Methods in org.planx.xmlstore.references with parameters of type Node | |
|---|---|
ContentValueReference |
ReferenceListener.lookup(Node node)
Request a lookup of the value reference of a node. |
ContentValueReference |
AbstractReferenceListener.lookup(Node node)
|
static ContentValueReference |
ContentValueReference.reference(Node node,
ReferenceListener listener)
|
void |
ReferenceListener.referenceComputed(Node node,
ContentValueReference vref)
Allow the listener to register a new mapping between a node and a value reference. |
void |
AbstractReferenceListener.referenceComputed(Node node,
ContentValueReference vref)
|
| Constructors in org.planx.xmlstore.references with parameters of type Node | |
|---|---|
ContentValueReference(Node node)
Creates a new ContentValueReference by computing a content
hash of the tree rooted at the specified Node. |
|
| Uses of Node in org.planx.xmlstore.stores |
|---|
| Methods in org.planx.xmlstore.stores that return Node | |
|---|---|
Node |
ReplicatorXMLStore.load(Reference vref)
|
Node |
WriteCacheXMLStore.load(Reference vref)
|
Node |
AbstractXMLStore.load(Reference vref)
Resolves any RelativeReferences and calls AbstractXMLStore.resolvedLoad(org.planx.xmlstore.Reference). |
Node |
OptimisticReadXMLStore.load(Reference vref)
|
Node |
ReadCacheXMLStore.load(Reference vref)
|
protected Node |
AbstractXMLStore.resolvedLoad(Reference resolvedRef)
Called by AbstractXMLStore.load(org.planx.xmlstore.Reference) after resolving RelativeReferences. |
protected Node |
NetworkProxy.resolvedLoad(Reference vref)
|
protected Node |
TranslatorXMLStore.resolvedLoad(Reference vref)
ContentValueReferences will be resolved by looking up the
root reference in the local reference server, loading this node in the
underlying store, and traversing from this node to the node designated
be the path of the global reference. |
protected Node |
DistributedXMLStore.resolvedLoad(Reference vref)
If the Reference is not known in the underlying
XMLStore it is looked up in the network and loaded from
another peer if it exists. |
protected Node |
LocalXMLStore.resolvedLoad(Reference vref)
Only accepts LocalLocators. |
| Methods in org.planx.xmlstore.stores with parameters of type Node | |
|---|---|
Reference |
ReplicatorXMLStore.save(Node n)
|
Reference |
OptimisticWriteXMLStore.save(Node n)
|
Reference |
WriteCacheXMLStore.save(Node n)
|
Reference |
AbstractXMLStore.save(Node node)
|
Reference |
NetworkProxy.save(Node node)
The subtree rooted at the specified Node is sent to the
remote XMLStore and saved there. |
Reference |
TranslatorXMLStore.save(Node node)
Saves the Node, gives it a ContentValueReference,
and registers it in the local reference server. |
Reference |
DistributedXMLStore.save(Node node)
Always saves locally even if the node might already be stored elsewhere in the network. |
Reference |
LocalXMLStore.save(Node node)
Saves the specified Node and returns a LocalLocator to it. |
protected void |
ReplicatorXMLStore.setLoadResult(Node node)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||