|
|||||||||
| Home >> All >> com >> aendvari >> common >> [ model overview ] | PREV NEXT | ||||||||
A
- appendChild(ModelNode) - Method in interface com.aendvari.common.model.ModelNode
- Adds the node
newChildto the end of the list of children of this node.
C
- clearNodes(ModelNode) - Static method in class com.aendvari.common.model.ModelUtil
- Sets the values of the supplied node and all of its children to an empty string.
- com.aendvari.common.model - package com.aendvari.common.model
- compile(String) - Method in class com.aendvari.common.model.ModelQueryPath
- Compiles the supplied query expression.
- createModelTree() - Method in interface com.aendvari.common.model.ModelTreeFactory
- Creates a new instance of a ModelTree.
- createNode(String) - Method in interface com.aendvari.common.model.ModelTree
- Creates a ModelNode object.
- createNode(String, String) - Method in interface com.aendvari.common.model.ModelTree
- Creates a ModelNode object with the supplied value.
- createTree() - Method in interface com.aendvari.common.model.ModelTree
- Creates a new ModelTree object.
E
- examineNode(ModelNode, Writer, String) - Static method in class com.aendvari.common.model.ModelUtil
- Outputs a single ModelNode, then recursively examines children.
- expression - Variable in class com.aendvari.common.model.ModelQueryPath.Parser
- The string to parse.
G
- getAttribute(String) - Method in interface com.aendvari.common.model.ModelNode
- Returns the string value of the attribute.
- getAttributes() - Method in interface com.aendvari.common.model.ModelNode
- Returns the attributes of this node.
- getChildNodes() - Method in interface com.aendvari.common.model.ModelNode
- Returns a
Listof ModelNode's using the path provided.- getFirstChild() - Method in interface com.aendvari.common.model.ModelNode
- The first child of this node.
- getLastChild() - Method in interface com.aendvari.common.model.ModelNode
- The last child of this node.
- getNextSibling() - Method in interface com.aendvari.common.model.ModelNode
- The node immediately following this node.
- getNode(ModelNode, String) - Method in interface com.aendvari.common.model.ModelTree
- Returns the ModelNode using the path provided.
- getNodeName() - Method in interface com.aendvari.common.model.ModelNode
- Returns the name of this node.
- getNodePath() - Method in interface com.aendvari.common.model.ModelNode
- Returns a string representation of the node's position in the hierarchy.
- getNodeValue() - Method in interface com.aendvari.common.model.ModelNode
- Returns the value of the node.
- getNodes(ModelNode, String) - Method in interface com.aendvari.common.model.ModelTree
- Returns an
Listof ModelNode's using the path provided.- getOperatorToken() - Method in class com.aendvari.common.model.ModelQueryPath.Parser
- Returns the next available operator.
- getOwnerModelTree() - Method in interface com.aendvari.common.model.ModelNode
- Returns the instance of ModelTree from which the ModelNode is within.
- getParentNode() - Method in interface com.aendvari.common.model.ModelNode
- The parent of this node.
- getPreviousSibling() - Method in interface com.aendvari.common.model.ModelNode
- The node immediately preceding this node.
- getRootCause() - Method in class com.aendvari.common.model.ModelException
- Returns the exception that caused this exception, null if none.
- getRootCause() - Method in class com.aendvari.common.model.ModelParserException
- Returns the exception that caused this exception, null if none.
- getRootNode() - Method in interface com.aendvari.common.model.ModelTree
- Returns the ModelNode of the DOM/OSM model space.
- getStringToken() - Method in class com.aendvari.common.model.ModelQueryPath.Parser
- Returns the next available string.
H
- hasChildNodes() - Method in interface com.aendvari.common.model.ModelNode
- Returns whether this node has any children.
- hasMoreTokens() - Method in class com.aendvari.common.model.ModelQueryPath.Parser
- Returns true if more tokens are available.
I
- insertBefore(ModelNode, ModelNode) - Method in interface com.aendvari.common.model.ModelNode
- Inserts the node
newChildbefore the existing child noderefChild. - intParameter - Variable in class com.aendvari.common.model.ModelQueryPath.Operator
- An integer parameter for the operation.
L
- loadFromFile(String) - Method in interface com.aendvari.common.model.ModelTree
- Replaces the current
ModelTreewith data prodivided by the file. - loadFromStream(InputStream) - Method in interface com.aendvari.common.model.ModelTree
- Replaces the current
ModelTreewith the given XML stream.
M
- ModelException - exception com.aendvari.common.model.ModelException.
- Thrown when a particular Model operation could not be performed.
- ModelException(String) - Constructor for class com.aendvari.common.model.ModelException
- Creates a
ModelExceptioninstance. - ModelException(Throwable) - Constructor for class com.aendvari.common.model.ModelException
- Creates a
ModelExceptioninstance with a causing exception. - ModelNode - interface com.aendvari.common.model.ModelNode.
- The ModelNode interface represents a specific node in the XML or OSM implementation.
- ModelParserException - exception com.aendvari.common.model.ModelParserException.
- Thrown when an input can not be properly read as a Model structure.
- ModelParserException(Throwable) - Constructor for class com.aendvari.common.model.ModelParserException
- Creates a
ModelParserExceptioninstance with a causing exception. - ModelQueryPath - class com.aendvari.common.model.ModelQueryPath.
- Provides the ability to access nodes within an Model Tree using an expression.
- ModelQueryPath(String) - Constructor for class com.aendvari.common.model.ModelQueryPath
- Constructs an
ModelQueryPathinstance. - ModelQueryPath.Operator - class com.aendvari.common.model.ModelQueryPath.Operator.
- Represents a single operation to perform during expression evaluation.
- ModelQueryPath.Operator(int, String, int) - Constructor for class com.aendvari.common.model.ModelQueryPath.Operator
- Creates an
Operatorinstance. - ModelQueryPath.Operator.Type - interface com.aendvari.common.model.ModelQueryPath.Operator.Type.
- Defines the constants for the operation
type. - ModelQueryPath.Parser - class com.aendvari.common.model.ModelQueryPath.Parser.
- Parses a query expressions.
- ModelQueryPath.Parser(String) - Constructor for class com.aendvari.common.model.ModelQueryPath.Parser
- Creates a
Tokenizerto parse the supplied string. - ModelQueryPath.Parser.Operators - interface com.aendvari.common.model.ModelQueryPath.Parser.Operators.
- Constants for operator tokens.
- ModelTree - interface com.aendvari.common.model.ModelTree.
- The
ModelTreeinterface represents a XML DOM or OSM implementation. - ModelTreeFactory - interface com.aendvari.common.model.ModelTreeFactory.
- Defines a factory interface for the creation of ModelTree instances.
- ModelUtil - class com.aendvari.common.model.ModelUtil.
- Provides various utility methods for the model classes.
- ModelUtil() - Constructor for class com.aendvari.common.model.ModelUtil
- modelToOsm(ModelNode, OsmNode, String, boolean) - Static method in class com.aendvari.common.model.ModelUtil
- Copies data from the ModelNode into the specified location of the supplied OSM.
N
- Null - Static variable in interface com.aendvari.common.model.ModelQueryPath.Parser.Operators
- Null operation.
O
- operations - Variable in class com.aendvari.common.model.ModelQueryPath
- Contains the compiled query expression.
- osmToModel(OsmNode, String, ModelNode, boolean) - Static method in class com.aendvari.common.model.ModelUtil
- Copies data from the specified location in the supplied OSM to the destination ModelNode.
P
- parseIndexOperator(ModelQueryPath.Parser, String) - Method in class com.aendvari.common.model.ModelQueryPath
- Parses an index selection operator.
- position - Variable in class com.aendvari.common.model.ModelQueryPath.Parser
- The current position in the string.
R
- removeAllChildren(ModelNode) - Static method in class com.aendvari.common.model.ModelUtil
- Removes all children of the supplied node.
- removeAllChildren(ModelNode, String) - Static method in class com.aendvari.common.model.ModelUtil
- Removes all children of the selected node.
- removeChild(ModelNode) - Method in interface com.aendvari.common.model.ModelNode
- Removes the child node indicated by
oldChildfrom the list of children, and returns it. - removeNamedChildren(ModelNode, String) - Static method in class com.aendvari.common.model.ModelUtil
- Removes the children having the specified name from the supplied node.
- replaceChild(ModelNode, ModelNode) - Method in interface com.aendvari.common.model.ModelNode
- Replaces the child node
oldChildwithnewChild, and returns theoldChildnode. - rootCause - Variable in class com.aendvari.common.model.ModelException
- The exception that caused this exception, may be null.
- rootCause - Variable in class com.aendvari.common.model.ModelParserException
- The exception that caused this exception, may be null.
S
- SelectIndex - Static variable in interface com.aendvari.common.model.ModelQueryPath.Operator.Type
- Select a node by its position.
- SelectIndexEnd - Static variable in interface com.aendvari.common.model.ModelQueryPath.Parser.Operators
- Node index operation, end.
- SelectIndexStart - Static variable in interface com.aendvari.common.model.ModelQueryPath.Parser.Operators
- Node index operation, start.
- SelectNode - Static variable in interface com.aendvari.common.model.ModelQueryPath.Operator.Type
- Select a node by its name.
- SelectNodeDot - Static variable in interface com.aendvari.common.model.ModelQueryPath.Parser.Operators
- Node select operation.
- SelectNodeSlash - Static variable in interface com.aendvari.common.model.ModelQueryPath.Parser.Operators
- Node select operation.
- SelectNodeWild - Static variable in interface com.aendvari.common.model.ModelQueryPath.Parser.Operators
- Wilcard select operation.
- selectNode(ModelNode) - Method in class com.aendvari.common.model.ModelQueryPath
- Selects a single node using the compiled expression.
- selectNode(ModelNode, String) - Static method in class com.aendvari.common.model.ModelQueryPath
- Uses the expression to select a single node.
- selectNode(ModelNode, int) - Method in class com.aendvari.common.model.ModelQueryPath
- Performs the query expression operations for a single node selection.
- selectNodeByIndex(ModelQueryPath.Operator, ModelNode, int) - Method in class com.aendvari.common.model.ModelQueryPath
- Selects a child node based on its position.
- selectNodeByName(ModelQueryPath.Operator, ModelNode, int) - Method in class com.aendvari.common.model.ModelQueryPath
- Selects a child node based on its name.
- selectNodes(ModelNode) - Method in class com.aendvari.common.model.ModelQueryPath
- Selects multiple nodes using the compiled expression.
- selectNodes(ModelNode, String) - Static method in class com.aendvari.common.model.ModelQueryPath
- Uses the expression to select multiple nodes.
- selectNodes(ModelNode, int, Collection) - Method in class com.aendvari.common.model.ModelQueryPath
- Performs the query expression operations for multiple node selection.
- selectNodesByIndex(ModelQueryPath.Operator, ModelNode, int, Collection) - Method in class com.aendvari.common.model.ModelQueryPath
- Selects a child node based on its position.
- selectNodesByName(ModelQueryPath.Operator, ModelNode, int, Collection) - Method in class com.aendvari.common.model.ModelQueryPath
- Selects child nodes based on their name.
- setAttribute(String, String) - Method in interface com.aendvari.common.model.ModelNode
- Sets the string value of the attribute.
- setNodeValue(String) - Method in interface com.aendvari.common.model.ModelNode
- Sets the value of the node.
- stringParameter - Variable in class com.aendvari.common.model.ModelQueryPath.Operator
- A string parameter for the operation.
T
- toString() - Method in class com.aendvari.common.model.ModelException
- Returns a string representation of the exception.
- toString() - Method in class com.aendvari.common.model.ModelParserException
- Returns a string representation of the exception.
- type - Variable in class com.aendvari.common.model.ModelQueryPath.Operator
- The operation to perform.
U
- updateNode(ModelTree, ModelNode, ModelNode, boolean) - Static method in class com.aendvari.common.model.ModelUtil
- Updates the value of the supplied node.
- updateNodes(ModelNode, String, ModelNode, String, boolean) - Static method in class com.aendvari.common.model.ModelUtil
- Updates the children of the specified ModelNode using the values stored within other ModelNodes.
W
- writeNode(ModelNode) - Static method in class com.aendvari.common.model.ModelUtil
- Writes the supplied ModelNode and its children to a string.
- writeNode(ModelNode, Writer) - Static method in class com.aendvari.common.model.ModelUtil
- Writes the supplied ModelNode and its children to output.
A C E G H I L M N O P R S T U W
|
|||||||||
| Home >> All >> com >> aendvari >> common >> [ model overview ] | PREV NEXT | ||||||||