|
|||||||||
| Home >> All >> com >> aendvari >> common >> [ osm overview ] | PREV NEXT | ||||||||
Uses of Class
com.aendvari.common.osm.OsmNode
| Uses of OsmNode in com.aendvari.common.osm |
| Subclasses of OsmNode in com.aendvari.common.osm | |
class |
Osm
Represents the entire Object Space Model. |
| Fields in com.aendvari.common.osm declared as OsmNode | |
protected OsmNode |
OsmNode.parent
The parent node. |
| Methods in com.aendvari.common.osm that return OsmNode | |
static OsmNode |
SimpleOsmPath.getNode(OsmNode context,
java.lang.String path,
boolean build)
Returns the node at the specified path. |
protected static OsmNode |
SimpleOsmPath.getNodeNoBuild(OsmNode parent,
java.lang.String path)
Returns the node at the specified path. |
protected static OsmNode |
SimpleOsmPath.getNodeBuild(OsmNode parent,
java.lang.String path)
Returns the node at the specified path. |
OsmNode |
QueryOsmPath.selectNode(OsmNode context)
Selects a single node using the compiled expression. |
static OsmNode |
QueryOsmPath.selectNode(OsmNode context,
java.lang.String expression)
Uses the expression to select a single node. |
protected OsmNode |
QueryOsmPath.selectNodeByName(QueryOsmPath.Operator operator,
OsmNode context,
int operationIndex)
Selects a child node based on its name. |
protected OsmNode |
QueryOsmPath.selectNodeByIndex(QueryOsmPath.Operator operator,
OsmNode context,
int operationIndex)
Selects a child node based on its position. |
protected OsmNode |
QueryOsmPath.selectNode(OsmNode context,
int operationIndex)
Performs the query expression operations for a single node selection. |
private static OsmNode |
OsmReader.nodeFromTag(Osm osm,
java.lang.String tag)
Create a new OsmNode from the given <tag>. |
OsmNode |
OsmNode.cloneNode(boolean deep)
Returns a duplicate of this node. |
OsmNode |
OsmNode.getParentNode()
The parent of this node. |
OsmNode |
OsmNode.getFirstChild()
The first child of this node. |
OsmNode |
OsmNode.getLastChild()
The last child of this node. |
OsmNode |
OsmNode.getPreviousSibling()
The node immediately preceding this node. |
OsmNode |
OsmNode.getNextSibling()
The node immediately following this node. |
OsmNode |
OsmNode.appendChild(OsmNode newChild)
Adds the node newChild to the end of the list of children of this node. |
OsmNode |
OsmNode.insertBefore(OsmNode newChild,
OsmNode refChild)
Inserts the node newChild before the existing child node refChild. |
OsmNode |
OsmNode.replaceChild(OsmNode newChild,
OsmNode oldChild)
Replaces the child node oldChild with newChild, and returns
the oldChild node. |
OsmNode |
OsmNode.removeChild(OsmNode oldChild)
Removes the child node indicated by oldChild from the list of children,
and returns it. |
OsmNode |
Osm.createNode(java.lang.String name)
Creates an OsmNode object. |
OsmNode |
Osm.createNode(java.lang.String name,
java.lang.Object value)
Creates an OsmNode object with the supplied value. |
OsmNode |
Osm.createNode(OsmNode node)
Creates an OsmNode object as a copy of the supplied node. |
| Methods in com.aendvari.common.osm with parameters of type OsmNode | |
static OsmNode |
SimpleOsmPath.getNode(OsmNode context,
java.lang.String path,
boolean build)
Returns the node at the specified path. |
protected static OsmNode |
SimpleOsmPath.getNodeNoBuild(OsmNode parent,
java.lang.String path)
Returns the node at the specified path. |
protected static OsmNode |
SimpleOsmPath.getNodeBuild(OsmNode parent,
java.lang.String path)
Returns the node at the specified path. |
OsmNode |
QueryOsmPath.selectNode(OsmNode context)
Selects a single node using the compiled expression. |
java.util.Collection |
QueryOsmPath.selectNodes(OsmNode context)
Selects a multiple nodes using the compiled expression. |
static OsmNode |
QueryOsmPath.selectNode(OsmNode context,
java.lang.String expression)
Uses the expression to select a single node. |
static java.util.Collection |
QueryOsmPath.selectNodes(OsmNode context,
java.lang.String expression)
Uses the expression to select multiple nodes. |
protected OsmNode |
QueryOsmPath.selectNodeByName(QueryOsmPath.Operator operator,
OsmNode context,
int operationIndex)
Selects a child node based on its name. |
protected OsmNode |
QueryOsmPath.selectNodeByIndex(QueryOsmPath.Operator operator,
OsmNode context,
int operationIndex)
Selects a child node based on its position. |
protected OsmNode |
QueryOsmPath.selectNode(OsmNode context,
int operationIndex)
Performs the query expression operations for a single node selection. |
protected void |
QueryOsmPath.selectNodesByName(QueryOsmPath.Operator operator,
OsmNode context,
int operationIndex,
java.util.Collection nodes)
Selects child nodes based on their name. |
protected void |
QueryOsmPath.selectNodesByIndex(QueryOsmPath.Operator operator,
OsmNode context,
int operationIndex,
java.util.Collection nodes)
Selects a child node based on its position. |
protected void |
QueryOsmPath.selectNodes(OsmNode context,
int operationIndex,
java.util.Collection nodes)
Performs the query expression operations for multiple node selection. |
private static void |
OsmReader.readBuffer(java.io.Reader reader,
OsmNode node,
int readState)
Reads the buffer character by character matching with < and > to determine tags, and their contents. |
private static void |
OsmReader.extractTagAttributes(OsmNode node,
java.lang.String tag)
Extract the attributes from a <tag>. |
static java.lang.String |
OsmPrinter.nodeToString(OsmNode osmNode)
Return the OsmNode as it's string representation. |
static void |
OsmPrinter.writeString(OsmNode osmNode,
java.io.Writer writer)
Print the OsmNode string representation to the supplied Writer. |
private static java.lang.String |
OsmPrinter.examineChildNode(OsmNode osmNode,
java.lang.String indent)
Convert the node into a string representation. |
private static java.lang.String |
OsmPrinter.extractAttributes(OsmNode osmNode)
Extract and return the attributes of the node as a string. |
OsmNode |
OsmNode.appendChild(OsmNode newChild)
Adds the node newChild to the end of the list of children of this node. |
OsmNode |
OsmNode.insertBefore(OsmNode newChild,
OsmNode refChild)
Inserts the node newChild before the existing child node refChild. |
OsmNode |
OsmNode.replaceChild(OsmNode newChild,
OsmNode oldChild)
Replaces the child node oldChild with newChild, and returns
the oldChild node. |
OsmNode |
OsmNode.removeChild(OsmNode oldChild)
Removes the child node indicated by oldChild from the list of children,
and returns it. |
OsmNode |
Osm.createNode(OsmNode node)
Creates an OsmNode object as a copy of the supplied node. |
| Constructors in com.aendvari.common.osm with parameters of type OsmNode | |
OsmNode(OsmNode setNode)
Constructs an OsmNode instance as a copy of the supplied node. |
|
|
|||||||||
| Home >> All >> com >> aendvari >> common >> [ osm overview ] | PREV NEXT | ||||||||