|
|||||||||
| Home >> All >> com >> aendvari >> common >> [ osm overview ] | PREV NEXT | ||||||||
A
- appendChild(OsmNode) - Method in class com.aendvari.common.osm.OsmNode
- Adds the node
newChildto the end of the list of children of this node. - attributes - Variable in class com.aendvari.common.osm.OsmNode
- The attributes of this node.
B
- Body - Static variable in interface com.aendvari.common.osm.OsmReader.State
C
- children - Variable in class com.aendvari.common.osm.OsmNode
- Children nodes.
- cloneNode(boolean) - Method in class com.aendvari.common.osm.OsmNode
- Returns a duplicate of this node.
- cloneOsm() - Method in class com.aendvari.common.osm.Osm
- Returns a duplicate of this
Osm. - cloneOsm(Osm) - Method in class com.aendvari.common.osm.Osm
- Duplicates the supplied Osm.
- code - Variable in class com.aendvari.common.osm.OsmException
- Contains the specific error code for the exception.
- com.aendvari.common.osm - package com.aendvari.common.osm
- compile(String) - Method in class com.aendvari.common.osm.QueryOsmPath
- Compiles the supplied query expression.
- convertSpecialCharacters(String) - Static method in class com.aendvari.common.osm.OsmReader
- Converts the special characters of a string into their secondary form.
- createNode(String) - Method in class com.aendvari.common.osm.Osm
- Creates an OsmNode object.
- createNode(String, Object) - Method in class com.aendvari.common.osm.Osm
- Creates an OsmNode object with the supplied value.
- createNode(OsmNode) - Method in class com.aendvari.common.osm.Osm
- Creates an OsmNode object as a copy of the supplied node.
- currentLine - Static variable in class com.aendvari.common.osm.OsmReader
- The current line number being read.
E
- examineChildNode(OsmNode, String) - Static method in class com.aendvari.common.osm.OsmPrinter
- Convert the node into a string representation.
- executeRead(Reader) - Static method in class com.aendvari.common.osm.OsmReader
- Initializes the OSM with the data from the reader.
- expression - Variable in class com.aendvari.common.osm.QueryOsmPath.Parser
- The string to parse.
- expression - Variable in class com.aendvari.common.osm.SimpleOsmPath.Tokenizer
- The string to parse.
- extractAttributes(OsmNode) - Static method in class com.aendvari.common.osm.OsmPrinter
- Extract and return the attributes of the node as a string.
- extractTagAttributes(OsmNode, String) - Static method in class com.aendvari.common.osm.OsmReader
- Extract the attributes from a <tag>.
G
- getAllChildNodes() - Method in class com.aendvari.common.osm.OsmNode
- Returns a
Listcontaining all the children of this node. - getAllChildNodes(List, List) - Method in class com.aendvari.common.osm.OsmNode
- Helper method for #getAllChildNodes().
- getAttribute(String) - Method in class com.aendvari.common.osm.OsmNode
- Returns the value of the specified attribute.
- getAttribute(Class) - Method in class com.aendvari.common.osm.OsmNode
- Returns the value of the specified attribute.
- getAttributes() - Method in class com.aendvari.common.osm.OsmNode
- Returns the attributes of this node.
- getChildNodes() - Method in class com.aendvari.common.osm.OsmNode
- Returns a
Listcontaining all the children of this node. - getCode() - Method in class com.aendvari.common.osm.OsmException
- Returns a error code of the exception.
- getFirstChild() - Method in class com.aendvari.common.osm.OsmNode
- The first child of this node.
- getLastChild() - Method in class com.aendvari.common.osm.OsmNode
- The last child of this node.
- getNextSibling() - Method in class com.aendvari.common.osm.OsmNode
- The node immediately following this node.
- getNode(OsmNode, String, boolean) - Static method in class com.aendvari.common.osm.SimpleOsmPath
- Returns the node at the specified path.
- getNodeBuild(OsmNode, String) - Static method in class com.aendvari.common.osm.SimpleOsmPath
- Returns the node at the specified path.
- getNodeName() - Method in class com.aendvari.common.osm.OsmNode
- Returns the name of this node.
- getNodeNoBuild(OsmNode, String) - Static method in class com.aendvari.common.osm.SimpleOsmPath
- Returns the node at the specified path.
- getNodePath() - Method in class com.aendvari.common.osm.OsmNode
- Returns a string representation of the node's position in the hierarchy.
- getNodeValue() - Method in class com.aendvari.common.osm.OsmNode
- Returns the value of this node.
- getNodeValue(Class) - Method in class com.aendvari.common.osm.OsmNode
- Returns the value of this node.
- getOperatorToken() - Method in class com.aendvari.common.osm.QueryOsmPath.Parser
- Returns the next available operator.
- getOwnerOsm() - Method in class com.aendvari.common.osm.OsmNode
- Returns the OSM to which this node belongs.
- getParentNode() - Method in class com.aendvari.common.osm.OsmNode
- The parent of this node.
- getPreviousSibling() - Method in class com.aendvari.common.osm.OsmNode
- The node immediately preceding this node.
- getRootCause() - Method in class com.aendvari.common.osm.OsmException
- Returns the exception that caused this exception, null if none.
- getStringToken() - Method in class com.aendvari.common.osm.QueryOsmPath.Parser
- Returns the next available string.
H
- hasAttributes() - Method in class com.aendvari.common.osm.OsmNode
- Returns whether this node has any attributes.
- hasChildNodes() - Method in class com.aendvari.common.osm.OsmNode
- Returns whether this node has any children.
- hasMoreTokens() - Method in class com.aendvari.common.osm.QueryOsmPath.Parser
- Returns true if more tokens are available.
I
- Ignore - Static variable in interface com.aendvari.common.osm.OsmReader.State
- insertBefore(OsmNode, OsmNode) - Method in class com.aendvari.common.osm.OsmNode
- Inserts the node
newChildbefore the existing child noderefChild. - intParameter - Variable in class com.aendvari.common.osm.QueryOsmPath.Operator
- An integer parameter for the operation.
L
- lastOpenTag - Static variable in class com.aendvari.common.osm.OsmReader
- The name of the last known "open" tag.
- lastOpenTagLine - Static variable in class com.aendvari.common.osm.OsmReader
- The line number of the last known "open" tag.
N
- Normal - Static variable in interface com.aendvari.common.osm.OsmReader.State
- NotSupported - Static variable in interface com.aendvari.common.osm.OsmException.Code
- The operation can not be performed.
- Null - Static variable in interface com.aendvari.common.osm.QueryOsmPath.Parser.Operators
- Null operation.
- name - Variable in class com.aendvari.common.osm.OsmNode
- The node name.
- nextToken() - Method in class com.aendvari.common.osm.SimpleOsmPath.Tokenizer
- Returns the next available token.
- nodeFromTag(Osm, String) - Static method in class com.aendvari.common.osm.OsmReader
- Create a new OsmNode from the given <tag>.
- nodeNameFromTag(String) - Static method in class com.aendvari.common.osm.OsmReader
- Extracts the name of a node from the tag.
- nodeToString(OsmNode) - Static method in class com.aendvari.common.osm.OsmPrinter
- Return the OsmNode as it's string representation.
O
- Osm - class com.aendvari.common.osm.Osm.
- Represents the entire Object Space Model.
- Osm() - Constructor for class com.aendvari.common.osm.Osm
- Constructs an
Osminstance. - Osm(Osm) - Constructor for class com.aendvari.common.osm.Osm
- Constructs an
Osminstance as a copy of the suppliedOsm.- OsmException - exception com.aendvari.common.osm.OsmException.
- Thrown when a particular Object Space Model operation could not be performed.
- OsmException(int) - Constructor for class com.aendvari.common.osm.OsmException
- Creates a
OsmExceptioninstance.- OsmException(int, Throwable) - Constructor for class com.aendvari.common.osm.OsmException
- Creates a
OsmExceptioninstance.- OsmException.Code - interface com.aendvari.common.osm.OsmException.Code.
- Defines the constants for the
codeproperty.- OsmNode - class com.aendvari.common.osm.OsmNode.
- Represents a single node in the Object Space Model tree.
- OsmNode() - Constructor for class com.aendvari.common.osm.OsmNode
- Constructs an
OsmNodeinstance.- OsmNode(OsmNode) - Constructor for class com.aendvari.common.osm.OsmNode
- Constructs an
OsmNodeinstance as a copy of the supplied node.- OsmNode(String, Object) - Constructor for class com.aendvari.common.osm.OsmNode
- Constructs an
OsmNodeinstance using the supplied value.- OsmPrinter - class com.aendvari.common.osm.OsmPrinter.
- This class prints a given Osm or OsmNode in a human-readable format.
- OsmPrinter() - Constructor for class com.aendvari.common.osm.OsmPrinter
- OsmReader - class com.aendvari.common.osm.OsmReader.
- This class reads an "XML-like" file and converts it into an Osm tree.
- OsmReader() - Constructor for class com.aendvari.common.osm.OsmReader
- OsmReader.State - interface com.aendvari.common.osm.OsmReader.State.
- An interface for setting the current state of a read.
- operations - Variable in class com.aendvari.common.osm.QueryOsmPath
- Contains the compiled query expression.
P
- parent - Variable in class com.aendvari.common.osm.OsmNode
- The parent node.
- parseIndexOperator(QueryOsmPath.Parser, String) - Method in class com.aendvari.common.osm.QueryOsmPath
- Parses an index selection operator.
- peekMatch(Reader, String) - Static method in class com.aendvari.common.osm.OsmReader
- Peeks into the read stream to see if the given string matches the same number of characters in the upcoming stream.
- position - Variable in class com.aendvari.common.osm.OsmNode
- The child position in the parent.
- position - Variable in class com.aendvari.common.osm.QueryOsmPath.Parser
- The current position in the string.
- position - Variable in class com.aendvari.common.osm.SimpleOsmPath.Tokenizer
- The current position in the string.
Q
- QueryOsmPath - class com.aendvari.common.osm.QueryOsmPath.
- Provides the ability to access nodes within an Object Space Model using an expression.
- QueryOsmPath(String) - Constructor for class com.aendvari.common.osm.QueryOsmPath
- Constructs an
QueryOsmPathinstance. - QueryOsmPath.Operator - class com.aendvari.common.osm.QueryOsmPath.Operator.
- Represents a single operation to perform during expression evaluation.
- QueryOsmPath.Operator(int, String, int) - Constructor for class com.aendvari.common.osm.QueryOsmPath.Operator
- Creates an
Operatorinstance. - QueryOsmPath.Operator.Type - interface com.aendvari.common.osm.QueryOsmPath.Operator.Type.
- Defines the constants for the operation
type. - QueryOsmPath.Parser - class com.aendvari.common.osm.QueryOsmPath.Parser.
- Parses a query expressions.
- QueryOsmPath.Parser(String) - Constructor for class com.aendvari.common.osm.QueryOsmPath.Parser
- Creates a
Tokenizerto parse the supplied string. - QueryOsmPath.Parser.Operators - interface com.aendvari.common.osm.QueryOsmPath.Parser.Operators.
- Constants for operator tokens.
R
- read(Reader) - Static method in class com.aendvari.common.osm.OsmReader
- Parses a buffered stream into the reader.
- readBuffer(Reader, OsmNode, int) - Static method in class com.aendvari.common.osm.OsmReader
- Reads the buffer character by character matching with < and > to determine tags, and their contents.
- removeChild(OsmNode) - Method in class com.aendvari.common.osm.OsmNode
- Removes the child node indicated by
oldChildfrom the list of children, and returns it. - removeChildNodes() - Method in class com.aendvari.common.osm.OsmNode
- Removes all children of this node.
- replaceAll(String, String, String) - Static method in class com.aendvari.common.osm.OsmReader
- Replaces all the matching values of a string with their replacement value.
- replaceChild(OsmNode, OsmNode) - Method in class com.aendvari.common.osm.OsmNode
- Replaces the child node
oldChildwithnewChild, and returns theoldChildnode. - rootCause - Variable in class com.aendvari.common.osm.OsmException
- The exception that caused this exception, may be null.
S
- SelectIndex - Static variable in interface com.aendvari.common.osm.QueryOsmPath.Operator.Type
- Select a node by its position.
- SelectIndexEnd - Static variable in interface com.aendvari.common.osm.QueryOsmPath.Parser.Operators
- Node index operation, end.
- SelectIndexStart - Static variable in interface com.aendvari.common.osm.QueryOsmPath.Parser.Operators
- Node index operation, start.
- SelectNode - Static variable in interface com.aendvari.common.osm.QueryOsmPath.Operator.Type
- Select a node by its name.
- SelectNodeDot - Static variable in interface com.aendvari.common.osm.QueryOsmPath.Parser.Operators
- Node select operation.
- SelectNodeSlash - Static variable in interface com.aendvari.common.osm.QueryOsmPath.Parser.Operators
- Node select operation.
- SelectNodeWild - Static variable in interface com.aendvari.common.osm.QueryOsmPath.Parser.Operators
- Wilcard select operation.
- SimpleOsmPath - class com.aendvari.common.osm.SimpleOsmPath.
- Provides the ability to access nodes within an Object Space Model using an expression.
- SimpleOsmPath() - Constructor for class com.aendvari.common.osm.SimpleOsmPath
- SimpleOsmPath.Tokenizer - class com.aendvari.common.osm.SimpleOsmPath.Tokenizer.
- Parses an expression for segments separated by "/" or ".".
- SimpleOsmPath.Tokenizer(String) - Constructor for class com.aendvari.common.osm.SimpleOsmPath.Tokenizer
- Creates a
Tokenizerto parse the supplied string. - segmentDelimiters - Static variable in class com.aendvari.common.osm.SimpleOsmPath
- The delimiters used to separate segments of the path expression.
- selectNode(OsmNode) - Method in class com.aendvari.common.osm.QueryOsmPath
- Selects a single node using the compiled expression.
- selectNode(OsmNode, String) - Static method in class com.aendvari.common.osm.QueryOsmPath
- Uses the expression to select a single node.
- selectNode(OsmNode, int) - Method in class com.aendvari.common.osm.QueryOsmPath
- Performs the query expression operations for a single node selection.
- selectNodeByIndex(QueryOsmPath.Operator, OsmNode, int) - Method in class com.aendvari.common.osm.QueryOsmPath
- Selects a child node based on its position.
- selectNodeByName(QueryOsmPath.Operator, OsmNode, int) - Method in class com.aendvari.common.osm.QueryOsmPath
- Selects a child node based on its name.
- selectNodes(OsmNode) - Method in class com.aendvari.common.osm.QueryOsmPath
- Selects a multiple nodes using the compiled expression.
- selectNodes(OsmNode, String) - Static method in class com.aendvari.common.osm.QueryOsmPath
- Uses the expression to select multiple nodes.
- selectNodes(OsmNode, int, Collection) - Method in class com.aendvari.common.osm.QueryOsmPath
- Performs the query expression operations for multiple node selection.
- selectNodesByIndex(QueryOsmPath.Operator, OsmNode, int, Collection) - Method in class com.aendvari.common.osm.QueryOsmPath
- Selects a child node based on its position.
- selectNodesByName(QueryOsmPath.Operator, OsmNode, int, Collection) - Method in class com.aendvari.common.osm.QueryOsmPath
- Selects child nodes based on their name.
- setAttribute(String, Object) - Method in class com.aendvari.common.osm.OsmNode
- Sets the value of the specified attribute.
- setNodeValue(Object) - Method in class com.aendvari.common.osm.OsmNode
- Sets the value of this node.
- specialCharacters - Static variable in class com.aendvari.common.osm.OsmReader
- Special characters that need to be converted into their text values
- stringParameter - Variable in class com.aendvari.common.osm.QueryOsmPath.Operator
- A string parameter for the operation.
T
- Tag - Static variable in interface com.aendvari.common.osm.OsmReader.State
- toString() - Method in class com.aendvari.common.osm.OsmException
- Returns a string representation of the exception.
- toString() - Method in class com.aendvari.common.osm.OsmNode
- Returns a string representation of the node.
- type - Variable in class com.aendvari.common.osm.QueryOsmPath.Operator
- The operation to perform.
V
- ValueNotCreated - Static variable in interface com.aendvari.common.osm.OsmException.Code
- The value object could not be created.
- value - Variable in class com.aendvari.common.osm.OsmNode
- The node value.
W
- writeString(OsmNode, Writer) - Static method in class com.aendvari.common.osm.OsmPrinter
- Print the OsmNode string representation to the supplied
Writer.
A B C E G H I L N O P Q R S T V W
|
|||||||||
| Home >> All >> com >> aendvari >> common >> [ osm overview ] | PREV NEXT | ||||||||