A B C D E F G H I J L M N O P Q R S T U V W X Z _

A

add(Join) - Method in class org.xlattice.corexml.bind.AttrBag
Add an AttrBinding to the set.
add(Join) - Method in class org.xlattice.corexml.bind.Bag
Add a Join to the set.
add(Join) - Method in class org.xlattice.corexml.bind.Collector
Add a Join to the Collector's ordering.
add(Join) - Method in class org.xlattice.corexml.bind.Interface
Add a Join to the Interface's set.
add(Join) - Method in class org.xlattice.corexml.bind.Mapping
Add a Join to the Mapping.
add(Join) - Method in class org.xlattice.corexml.bind.Ordering
Add a Join to the Ordering.
add(Join) - Method in class org.xlattice.corexml.bind.Seq
Add a join to this sequence.
add(Join) - Method in class org.xlattice.corexml.bind.SubMapping
Add a Join to the SubMapping's Ordering.
add(Node) - Method in class org.xlattice.corexml.expr.NodeSet
 
add(NodeSet) - Method in class org.xlattice.corexml.expr.NodeSet
Add any Nodes in the argument NodeSet to this NodeSet if not already present.
add(Attr) - Method in class org.xlattice.corexml.om.AttrList
Add an attribute to an existing container.
addAttr(String, String, String) - Method in class org.xlattice.corexml.om.Element
Add an attribute to this element.
addAttr(String, String) - Method in class org.xlattice.corexml.om.Element
Add an element, defaulting its prefix to null.
addChild(Node) - Method in class org.xlattice.corexml.om.Holder
Add a child Node to the Holder.
adderName(String) - Static method in class org.xlattice.corexml.bind.NameGenerator
 
addNamespace(String, String) - Method in class org.xlattice.corexml.om.Holder
Add a prefix-namespace pair, updating the maps.
addPredicate(Expr) - Method in class org.xlattice.corexml.expr.Step
Add a predicate.
addStep(Step) - Method in class org.xlattice.corexml.expr.LocationPath
Add a step to the location path.
ALL_ONE_CHAR_OPERATORS - Static variable in class org.xlattice.corexml.expr.Operator
list of 1-char operators including those also part of multi-char ops
ALL_ONE_CHAR_SYMBOLS - Static variable in class org.xlattice.corexml.expr.Symbol
all 1-char symbols, including those which start other symbols
ANCESTOR - Static variable in class org.xlattice.corexml.expr.AxisName
 
ANCESTOR_OR_SELF - Static variable in class org.xlattice.corexml.expr.AxisName
 
AND - Static variable in class org.xlattice.corexml.expr.Operator
'and', all tokens being case-sensitive
append(Node) - Method in class org.xlattice.corexml.om.NodeList
Add a Node to the NodeList.
apply(Element, Object) - Method in class org.xlattice.corexml.bind.AttrBag
Use the ordering to generate a set of values from the attributes of an Element.
apply(Node, Object) - Method in class org.xlattice.corexml.bind.AttrBinding
Apply the binding, mapping the value of an attribute to a field in an instance of a class.
apply(Element, Object) - Method in class org.xlattice.corexml.bind.Bag
Use the ordering to generate a set of values from the children of an Element, recursing if possible.
apply(Node, Object) - Method in class org.xlattice.corexml.bind.Collector
Use this Collector to generate an object or object tree from the XML Node, which must be an Element.
apply(Node, Object) - Method in class org.xlattice.corexml.bind.EmptyElBinding
On conversion from XML to Java objects, sets the field in the bound object to true if a subelement of this name is present.
apply(Node, Object) - Method in class org.xlattice.corexml.bind.Interface
Use this Interface to generate an object or object tree from the XML Node, which must be an Element.
apply(Node, Object) - Method in class org.xlattice.corexml.bind.Join
Apply a Join, binding an XML value to a field in the object.
apply(Document) - Method in class org.xlattice.corexml.bind.Mapping
Apply the mapping to a Document, creating one or more Objects and assigning values to fields in the Object(s), recursing through the Document to generate an object tree.
apply(Element, Object) - Method in class org.xlattice.corexml.bind.Ordering
Apply the ordering to an XML element, using values of XML attributes and other Nodes to set fields in the object, create child objects, and so forth, recursively.
apply(Element, Object) - Method in class org.xlattice.corexml.bind.Seq
Use the ordering to generate a set of values from the children of an Element, recursing if possible.
apply(Node, Object) - Method in class org.xlattice.corexml.bind.SubElBinding
Bind any text found in the Element to field in the object.
apply(Node, Object) - Method in class org.xlattice.corexml.bind.SubMapping
Use the SubMapping to create a Java object from values in XML.
apply(Node, Object) - Method in class org.xlattice.corexml.bind.TextBinding
Use the text from an XML Text node to set a field in the bound object, the field being of type String.
applyDefault(Object) - Method in class org.xlattice.corexml.bind.AttrBinding
 
argTypeIndex - Variable in class org.xlattice.corexml.bind.Binding
argument type as index into the list of types above
assertEquals(NodeSet, NodeSet) - Static method in class org.xlattice.corexml.CoreXmlTestCase
Checks whether two NodeSets consist of identical nodes.
assertEquals(String, NodeSet, NodeSet) - Static method in class org.xlattice.corexml.CoreXmlTestCase
 
assertEquals(String, String, String) - Static method in class org.xlattice.corexml.CoreXmlTestCase
Checks whether two Strings are equal.
assertEquals(String, String) - Static method in class org.xlattice.corexml.CoreXmlTestCase
Override JUnit method to handle Strings better.
assertSameSerialization(String, String, String) - Static method in class org.xlattice.corexml.CoreXmlTestCase
Check whether two XML fragments in String format are the same ignoring delimiters.
assertSameSerialization(String, String) - Static method in class org.xlattice.corexml.CoreXmlTestCase
 
AT - Static variable in class org.xlattice.corexml.expr.Symbol
 
Attr - Class in org.xlattice.corexml.om
XML attribute, either a triplet (prefix, name, value) or a pair (name, value).
Attr(String, String, String) - Constructor for class org.xlattice.corexml.om.Attr
Create an attribute.
Attr(String, String) - Constructor for class org.xlattice.corexml.om.Attr
Default constructor with null prefix.
AttrBag - Class in org.xlattice.corexml.bind
Maintains an unordered set of AttrBindings.
AttrBag() - Constructor for class org.xlattice.corexml.bind.AttrBag
Create the AttrBag and with it an empty set of AttrBindings.
AttrBinding - Class in org.xlattice.corexml.bind
Bind an attribute value in XML to the value of the named field in the associated class.
AttrBinding(String, String) - Constructor for class org.xlattice.corexml.bind.AttrBinding
Bind the value of an attribute to a field in a class instance.
AttrBinding(String) - Constructor for class org.xlattice.corexml.bind.AttrBinding
By default the attribute and field names are the same.
ATTRBINDING - Static variable in class org.xlattice.corexml.bind.Join
Join is a AttrBinding
attrCount() - Method in class org.xlattice.corexml.om.Node.NodeCounter
 
ATTRIBUTE - Static variable in class org.xlattice.corexml.expr.AxisName
 
AttrList - Class in org.xlattice.corexml.om
A container for attributes.
AttrList(int) - Constructor for class org.xlattice.corexml.om.AttrList
Create the container, specifying a size.
AttrList(Attr) - Constructor for class org.xlattice.corexml.om.AttrList
Create the container that will hold one attribute, initializing it to that size.
AttrList() - Constructor for class org.xlattice.corexml.om.AttrList
Create a container with a default size of 8.
axis - Variable in class org.xlattice.corexml.expr.Step
axis along which the step is taken
AxisName - Class in org.xlattice.corexml.expr
A token representing an XPath 1.0 axis name.
AxisName(int) - Constructor for class org.xlattice.corexml.expr.AxisName
Create an axis name, specifying its index.
AxisName(String) - Constructor for class org.xlattice.corexml.expr.AxisName
Create an axis name, specifying the name.

B

Bag - Class in org.xlattice.corexml.bind
Maintains an unordered set of Joins (bindings, submappings, etc).
Bag() - Constructor for class org.xlattice.corexml.bind.Bag
Create the Bag and with it an empty set of Joins.
BAR - Static variable in class org.xlattice.corexml.expr.Operator
'|/
BinaryExpr - Class in org.xlattice.corexml.expr
Class repesenting an XPath 1.0 binary expression.
BinaryExpr(Operator, Expr, Expr) - Constructor for class org.xlattice.corexml.expr.BinaryExpr
Create a binary (two-operand) expression.
bind(Object, Reader) - Static method in class org.xlattice.corexml.SimpleConfig
Binds elements in a simple XML configuration file to fields with the same name in an object.
Binding - Class in org.xlattice.corexml.bind
Superclass for Joins that bind XML element or attribute values to fields in Java objects.
Binding(String, String) - Constructor for class org.xlattice.corexml.bind.Binding
Create a binding between an XML name (tag or attribute name) and a field in an associated class.
Binding(String) - Constructor for class org.xlattice.corexml.bind.Binding
 
Bool - Class in org.xlattice.corexml.expr
Token representing an XPath boolean expression.
Bool(Boolean) - Constructor for class org.xlattice.corexml.expr.Bool
 
Bool(NodeSet) - Constructor for class org.xlattice.corexml.expr.Bool
Constructor with NodeSet argument.
Bool(Numeric) - Constructor for class org.xlattice.corexml.expr.Bool
Constructor with Numeric argument, evaluating to false only if 0.0.
Bool(String) - Constructor for class org.xlattice.corexml.expr.Bool
Constructor with String argument, evalutating to false only if the String is null or equal to "".
BOOLEAN - Static variable in class org.xlattice.corexml.bind.Binding
boolean field
booleanFunc(Object) - Static method in class org.xlattice.corexml.expr.ExprParser
 
BYTE - Static variable in class org.xlattice.corexml.bind.Binding
 

C

cantCast(Expr) - Method in class org.xlattice.corexml.expr.ExprParser
 
capitalize(String) - Static method in class org.xlattice.corexml.CoreXml
Deprecated. Use org.xlattice.util.StringLib.ucFirst() instead
castToBool(Expr) - Method in class org.xlattice.corexml.expr.ExprParser
 
castToLiteral(Expr) - Method in class org.xlattice.corexml.expr.ExprParser
 
castToNumeric(Expr) - Method in class org.xlattice.corexml.expr.ExprParser
 
Cdata - Class in org.xlattice.corexml.om
An XML text node containing text which must not be subjected to further interpretation by the XML processor.
Cdata(String) - Constructor for class org.xlattice.corexml.om.Cdata
 
CHAR - Static variable in class org.xlattice.corexml.bind.Binding
 
CharTypes - Class in org.xlattice.corexml.expr
Except where otherwise noted, cited rules are in XPath 1.0 standard.
checkElmJoin(Node, Object) - Method in class org.xlattice.corexml.bind.Join
Check whether the target Node is an Element after checking whether the Join has been set up and the object is an instance of the appropriate class.
checkJoinObject(Object) - Method in class org.xlattice.corexml.bind.Join
Check whether the Join has been set up and if so whether the object is an instance of the bound class.
checkNameAndState(String, String) - Method in class org.xlattice.corexml.bind.Join
Confirm that the name being assigned is neither null nor empty and that there has been no join() call.
CHILD - Static variable in class org.xlattice.corexml.expr.AxisName
 
clazz - Variable in class org.xlattice.corexml.bind.Join
Java class whose field XML is being bound to.
clear() - Method in class org.xlattice.corexml.expr.NodeSet
Remove any nodes in this set.
clear() - Method in class org.xlattice.corexml.om.NodeList
 
collectNodeTest() - Method in class org.xlattice.corexml.expr.ExprParser
Expect the next tokens from the lexer to represent a NodeTest.
Collector - Class in org.xlattice.corexml.bind
Bind a set or list of Joins under a single tag without creating a Java object.
Collector(String, boolean) - Constructor for class org.xlattice.corexml.bind.Collector
Create the Collector, specifying the Element tag and whether the ordering under the collector is sequential.
Collector(String) - Constructor for class org.xlattice.corexml.bind.Collector
Default constructor with Seq ordering.
COLLECTOR - Static variable in class org.xlattice.corexml.bind.Join
Join is a Collector
collectPredicates(Step) - Method in class org.xlattice.corexml.expr.ExprParser
Given a step, collect any predicates following it.
collectStep(AxisName, boolean) - Method in class org.xlattice.corexml.expr.ExprParser
Having encountered an axis name, collect the step.
collectStep(Symbol, boolean) - Method in class org.xlattice.corexml.expr.ExprParser
Having encountered a symbol, collect the step.
collectStep(NodeType, boolean) - Method in class org.xlattice.corexml.expr.ExprParser
Having encountered a nodeType, collect the step, defaulting it to one along the CHILD axis.
collectStep(NCName, boolean) - Method in class org.xlattice.corexml.expr.ExprParser
Verify NCName followed by :*, then collect the step, defaulting it to one along the CHILD axis.
collectStep(QName, boolean) - Method in class org.xlattice.corexml.expr.ExprParser
Having encountered a QName, collect the step, defaulting it to one along the CHILD axis.
collectSteps(LocationPath, boolean, boolean) - Method in class org.xlattice.corexml.expr.ExprParser
Collect a series of steps and append them to the location path, which is returned.
collName(String) - Static method in class org.xlattice.corexml.bind.NameGenerator
 
COLON - Static variable in class org.xlattice.corexml.expr.Symbol
 
COMMA - Static variable in class org.xlattice.corexml.expr.Symbol
 
COMMENT - Static variable in class org.xlattice.corexml.expr.NodeType
 
Comment - Class in org.xlattice.corexml.om
A comment node, containing text which will not be rendered and may be discarded.
Comment(String) - Constructor for class org.xlattice.corexml.om.Comment
Create a comment.
commentCount() - Method in class org.xlattice.corexml.om.Node.NodeCounter
 
concat(String[]) - Static method in class org.xlattice.corexml.expr.ExprParser
This interface deviates from the specs, because Java 1.4 doesn't support variable length argument lists.
contains(Node) - Method in class org.xlattice.corexml.expr.NodeSet
 
CoreExpr - Class in org.xlattice.corexml.expr
Not yet used.
CoreExpr(String) - Constructor for class org.xlattice.corexml.expr.CoreExpr
 
CoreXml - Class in org.xlattice.corexml
Some static helper functions.
CoreXmlException - Exception in org.xlattice.corexml
Superclass of all exceptions thrown by CoreXml.
CoreXmlException() - Constructor for exception org.xlattice.corexml.CoreXmlException
No-argument constructor.
CoreXmlException(String) - Constructor for exception org.xlattice.corexml.CoreXmlException
Constructor taking a single String argument.
CoreXmlTestCase - Class in org.xlattice.corexml
JUnit's TestCase with some extensions.
CoreXmlTestCase(String) - Constructor for class org.xlattice.corexml.CoreXmlTestCase
 
count(NodeSet) - Static method in class org.xlattice.corexml.expr.ExprParser
XPath NodeSet function 1, count.
ctx - Variable in class org.xlattice.corexml.expr.ExprParser
the context, hashed access to global variables
cycleChecker - Variable in class org.xlattice.corexml.om.Holder
The Holder-child dependency forms a directed graph.

D

DCOLON - Static variable in class org.xlattice.corexml.expr.Symbol
 
DDOT - Static variable in class org.xlattice.corexml.expr.Symbol
 
DEFAULT_NODELIST_SIZE - Static variable in class org.xlattice.corexml.om.NodeList
 
DEFAULT_NODESET_SIZE - Static variable in class org.xlattice.corexml.expr.NodeSet
 
DEFAULT_XML_DECL - Static variable in class org.xlattice.corexml.om.Document
 
dehyphenate(String) - Static method in class org.xlattice.corexml.bind.NameGenerator
If there are any letter-HYPHEN-letter sequences in a name, replace them with letter-LETTER.
DESCENDENT - Static variable in class org.xlattice.corexml.expr.AxisName
 
DESCENDENT_OR_SELF - Static variable in class org.xlattice.corexml.expr.AxisName
 
DIV - Static variable in class org.xlattice.corexml.expr.Operator
'div'
doc - Variable in class org.xlattice.corexml.om.Node
this node's ultimate parent; may be null
docCount() - Method in class org.xlattice.corexml.om.Node.NodeCounter
 
docSetter - Variable in class org.xlattice.corexml.om.Holder
Runs down the subtrees below the Holder, setting each Node's Document to match the Holder's.
docTypeCount() - Method in class org.xlattice.corexml.om.Node.NodeCounter
 
Document - Class in org.xlattice.corexml.om
An XML Document, a Holder which can contain only one Element in its NodeList, has no attributes, and no namespaces.
Document(String) - Constructor for class org.xlattice.corexml.om.Document
Create an XML document with the XML declaration passed.
Document() - Constructor for class org.xlattice.corexml.om.Document
Create an XML document with the default XML declaration.
Document(String, String) - Constructor for class org.xlattice.corexml.om.Document
Create an XML document with the version number and encoding specified.
DocumentType - Class in org.xlattice.corexml.om
XXX Not implemented at this time.
DocumentType(String, String) - Constructor for class org.xlattice.corexml.om.DocumentType
XXX MAKES NO SENSE AT ALL
DOLLAR - Static variable in class org.xlattice.corexml.expr.Symbol
 
DOT - Static variable in class org.xlattice.corexml.expr.Symbol
 
DOUBLE - Static variable in class org.xlattice.corexml.bind.Binding
 
DSLASH - Static variable in class org.xlattice.corexml.expr.Operator
'//'

E

ELEMENT - Static variable in class org.xlattice.corexml.expr.NodeType
 
Element - Class in org.xlattice.corexml.om
An XML element node.
Element(String, String) - Constructor for class org.xlattice.corexml.om.Element
Create an XML element, given its prefix and name.
Element(String) - Constructor for class org.xlattice.corexml.om.Element
Create an XML element, defaulting the prefix to null.
elementCount() - Method in class org.xlattice.corexml.om.Node.NodeCounter
 
EMPTY - Static variable in class org.xlattice.corexml.expr.NodeSet
 
EMPTYEL - Static variable in class org.xlattice.corexml.bind.Join
Join is a EmptyElBinding
EmptyElBinding - Class in org.xlattice.corexml.bind
Bind a subelement's presence in XML to the value of the named field in the associated class.
EmptyElBinding(String, String) - Constructor for class org.xlattice.corexml.bind.EmptyElBinding
Create the binding.
EmptyElBinding(String) - Constructor for class org.xlattice.corexml.bind.EmptyElBinding
 
endElement() - Method in class org.xlattice.corexml.expr.Expr
 
EQ - Static variable in class org.xlattice.corexml.expr.Operator
'='
equals(Object) - Method in class org.xlattice.corexml.expr.NodeSet
A strong equality check.
equals(Object) - Method in class org.xlattice.corexml.expr.Operator
 
equals(Object) - Method in class org.xlattice.corexml.expr.Symbol
 
eval(String) - Method in class org.xlattice.corexml.expr.ExprParser
 
eval(Expr) - Method in class org.xlattice.corexml.expr.ExprParser
 
evalBoolBinary(BinaryExpr) - Method in class org.xlattice.corexml.expr.ExprParser
 
evalLiteralBinary(BinaryExpr) - Method in class org.xlattice.corexml.expr.ExprParser
 
evalLocationPath(LocationPath) - Method in class org.xlattice.corexml.expr.ExprParser
 
evalNodeSetBinary(BinaryExpr) - Method in class org.xlattice.corexml.expr.ExprParser
 
evalNumericBinary(BinaryExpr) - Method in class org.xlattice.corexml.expr.ExprParser
 
eventType(int) - Static method in class org.xlattice.corexml.CoreXml
Return the type of an XmlPullParser event.
expect(Token) - Method in class org.xlattice.corexml.expr.ExprParser
 
Expr - Class in org.xlattice.corexml.expr
Superclass for XPath 1.5 expressions.
Expr(String) - Constructor for class org.xlattice.corexml.expr.Expr
Constructor.
ExprParser - Class in org.xlattice.corexml.expr
XPath 1.0 expression parser.
ExprParser(Node, Context) - Constructor for class org.xlattice.corexml.expr.ExprParser
Create an expression parser.

F

FALSE - Static variable in class org.xlattice.corexml.expr.Bool
 
FALSE - Static variable in class org.xlattice.corexml.expr.Literal
 
fieldName - Variable in class org.xlattice.corexml.bind.Binding
name of the object field being bound to
findMethods(Class) - Method in class org.xlattice.corexml.bind.Binding
Overrides the method in the superclass, Join.
findMethods(Class) - Method in class org.xlattice.corexml.bind.Join
Find the setter, getter, and sizer methods in the class.
fixed(String) - Method in class org.xlattice.corexml.bind.AttrBinding
Set the attribute to a fixed value.
FixedNameToken - Interface in org.xlattice.corexml.expr
A token with an index into a table of fixed (well-known) names.
FLOAT - Static variable in class org.xlattice.corexml.bind.Binding
 
FOLLOWING - Static variable in class org.xlattice.corexml.expr.AxisName
 
FOLLOWING_SIBLING - Static variable in class org.xlattice.corexml.expr.AxisName
 
FunctionName - Class in org.xlattice.corexml.expr
Tokens representing the names of standard XPath 1.0 library functions.
FunctionName(int) - Constructor for class org.xlattice.corexml.expr.FunctionName
Given its index, construct a function name token.
FunctionName(String) - Constructor for class org.xlattice.corexml.expr.FunctionName
Given its name in String from, construct a function name token.

G

GE - Static variable in class org.xlattice.corexml.expr.Operator
'>=' (or >=)
generate(Element, Object) - Method in class org.xlattice.corexml.bind.AttrBag
Use the AttrBag to create XML nodes.
generate(Node, Object) - Method in class org.xlattice.corexml.bind.AttrBinding
Reverse the binding, adding an attribute whose value is that of a field in an object to the named (parent) element.
generate(Element, Object) - Method in class org.xlattice.corexml.bind.Bag
Use the ordering to create XML nodes.
generate(Node, Object) - Method in class org.xlattice.corexml.bind.Collector
Generate XML from an object using this Collector's ordering.
generate(Node, Object) - Method in class org.xlattice.corexml.bind.EmptyElBinding
If the boolean field in the associated object is true, append an empty element to the parent.
generate(Node, Object) - Method in class org.xlattice.corexml.bind.Interface
Generate XML from an object which has a member matching Interface.
generate(Node, Object) - Method in class org.xlattice.corexml.bind.Join
Apply a Join in the opposite direction, generating an XML element or attribute whose value depends upon the value of the bound field in the object.
generate(Object) - Method in class org.xlattice.corexml.bind.Mapping
Use the Mapping to generate an XML Document from an object.
generate(Element, Object) - Method in class org.xlattice.corexml.bind.Ordering
Use the Ordering to generate XML from a subtree of Java objects.
generate(Element, Object) - Method in class org.xlattice.corexml.bind.Seq
Use the ordering to create XML nodes.
generate(Node, Object) - Method in class org.xlattice.corexml.bind.SubElBinding
Add a subelement to the parent element.
generate(Node, Object) - Method in class org.xlattice.corexml.bind.SubMapping
Generate XML from an object or tree of objects using this SubMapping.
generate(Node, Object) - Method in class org.xlattice.corexml.bind.TextBinding
 
generateSubObject(Node, Object) - Method in class org.xlattice.corexml.bind.SubMapping
Generate XML from an object or tree of objects using this SubMapping; used by Interface, which gets the (sub)objects to be generated.
get(String) - Method in class org.xlattice.corexml.bind.AttrBag
 
get(String) - Method in class org.xlattice.corexml.bind.Bag
 
get(int) - Method in class org.xlattice.corexml.bind.Seq
Return the Nth join in the sequence of bindings.
get(int) - Method in class org.xlattice.corexml.om.AttrList
Get the Nth attribute.
get(int) - Method in class org.xlattice.corexml.om.NodeList
Return the Nth node in the list.
getAttr(int) - Method in class org.xlattice.corexml.om.Element
 
getAttrBag() - Method in class org.xlattice.corexml.bind.Mapping
 
getAttrBag() - Method in class org.xlattice.corexml.bind.SubMapping
 
getAttrList() - Method in class org.xlattice.corexml.om.Element
 
getAxisNameIndex(String) - Static method in class org.xlattice.corexml.expr.AxisName
Return the index of the axis name or -1 if it is not a valid name.
getAxisNameIndex() - Method in class org.xlattice.corexml.expr.Step
 
getClassName() - Method in class org.xlattice.corexml.bind.Mapping
The name of the Mapping's top-level class.
getClassName() - Method in class org.xlattice.corexml.bind.SubMapping
 
getClazz() - Method in class org.xlattice.corexml.bind.Join
 
getClazz() - Method in class org.xlattice.corexml.bind.Mapping
An instance of this class is the top-level Java object involved in the Mapping.
getClazz() - Method in class org.xlattice.corexml.bind.Ordering
 
getDocType() - Method in class org.xlattice.corexml.om.Document
 
getDocument() - Method in class org.xlattice.corexml.om.Node
 
getElementNode() - Method in class org.xlattice.corexml.om.Document
Get the document's element node; there may only be one.
getEncoding() - Method in class org.xlattice.corexml.om.Document
 
getField(Object) - Method in class org.xlattice.corexml.bind.Binding
Get the value of the associated field in a bound object as a String.
getHolder() - Method in class org.xlattice.corexml.om.AttrList
 
getHolder() - Method in class org.xlattice.corexml.om.Node
Get this node's parent.
getHolder() - Method in class org.xlattice.corexml.om.NodeList
 
getIndex() - Method in class org.xlattice.corexml.expr.AxisName
 
getIndex() - Method in interface org.xlattice.corexml.expr.FixedNameToken
 
getIndex() - Method in class org.xlattice.corexml.expr.FunctionName
 
getIndex() - Method in class org.xlattice.corexml.expr.NodeType
 
getIndex() - Method in class org.xlattice.corexml.expr.Operator
 
getIndex() - Method in class org.xlattice.corexml.expr.Symbol
 
getInstance() - Static method in class org.xlattice.corexml.expr.SpaceFactory
 
getInstance() - Static method in class org.xlattice.corexml.expr.TokenFactory
 
getLastToken() - Method in class org.xlattice.corexml.expr.Tokenizer
 
getLeftSubexpr() - Method in class org.xlattice.corexml.expr.BinaryExpr
 
getLength() - Method in class org.xlattice.corexml.expr.Tokenizer
 
getLocalPart() - Method in class org.xlattice.corexml.expr.QName
 
getMaxOccur() - Method in class org.xlattice.corexml.bind.Join
 
getMinOccur() - Method in class org.xlattice.corexml.bind.Join
 
getName() - Method in class org.xlattice.corexml.bind.Join
 
getName() - Method in class org.xlattice.corexml.bind.Mapping
The name of the topmost Element involved in the Mapping.
getName() - Method in class org.xlattice.corexml.expr.AxisName
 
getName() - Method in interface org.xlattice.corexml.expr.FixedNameToken
 
getName() - Method in class org.xlattice.corexml.expr.FunctionName
 
getName() - Method in class org.xlattice.corexml.expr.NCName
 
getName() - Method in class org.xlattice.corexml.expr.NodeType
 
getName() - Method in class org.xlattice.corexml.expr.Operator
 
getName() - Method in class org.xlattice.corexml.expr.QName
 
getName() - Method in class org.xlattice.corexml.om.Attr
 
getName() - Method in class org.xlattice.corexml.om.Element
 
getNames() - Static method in class org.xlattice.corexml.expr.FunctionName
 
getNames() - Static method in class org.xlattice.corexml.expr.NodeType
 
getNames() - Static method in class org.xlattice.corexml.expr.Operator
 
getNode() - Method in class org.xlattice.corexml.expr.ExprParser
 
getNodeList() - Method in class org.xlattice.corexml.om.Holder
 
getNodeTest() - Method in class org.xlattice.corexml.expr.Step
 
getOffset() - Method in class org.xlattice.corexml.expr.Tokenizer
 
getOperator() - Method in class org.xlattice.corexml.expr.BinaryExpr
 
getOperator() - Method in class org.xlattice.corexml.expr.UnaryExpr
 
getOperatorIndex(String) - Static method in class org.xlattice.corexml.expr.Operator
 
getOperatorType() - Method in class org.xlattice.corexml.expr.BinaryExpr
 
getOperatorType() - Method in class org.xlattice.corexml.expr.UnaryExpr
 
getOrdering() - Method in class org.xlattice.corexml.bind.Mapping
Get the Ordering, either a Bag (unordered) or a Seq, with fixed order.
getOrdering() - Method in class org.xlattice.corexml.bind.SubMapping
 
getPIName() - Method in class org.xlattice.corexml.expr.NodeTest
 
getPredicate(int) - Method in class org.xlattice.corexml.expr.Step
 
getPrefix() - Method in class org.xlattice.corexml.expr.QName
 
getPrefix() - Method in class org.xlattice.corexml.om.Attr
 
getPrefix() - Method in class org.xlattice.corexml.om.Element
 
getRightSubexpr() - Method in class org.xlattice.corexml.expr.BinaryExpr
 
getStep(int) - Method in class org.xlattice.corexml.expr.LocationPath
 
getSubexpr() - Method in class org.xlattice.corexml.expr.UnaryExpr
 
getTarget() - Method in class org.xlattice.corexml.om.ProcessingInstruction
 
getter - Variable in class org.xlattice.corexml.bind.Join
getter method used to fetch field value from object
getterName - Variable in class org.xlattice.corexml.bind.Join
 
getterName(String) - Static method in class org.xlattice.corexml.bind.NameGenerator
 
getText() - Method in class org.xlattice.corexml.expr.Tokenizer
 
getText() - Method in class org.xlattice.corexml.om.Comment
 
getText() - Method in class org.xlattice.corexml.om.ProcessingInstruction
 
getText() - Method in class org.xlattice.corexml.om.Text
 
getToken() - Method in class org.xlattice.corexml.expr.Tokenizer
Get the next token.
getType() - Method in class org.xlattice.corexml.expr.NodeTest
 
getTypeIndex(Class) - Static method in class org.xlattice.corexml.bind.Binding
Given a method argument type learned by reflection, return the index of that type.
getUpClazz() - Method in class org.xlattice.corexml.bind.SubMapping
Return the class of the parent in this Mapping.
getValue() - Method in class org.xlattice.corexml.expr.Bool
 
getValue() - Method in class org.xlattice.corexml.expr.Literal
 
getValue() - Method in class org.xlattice.corexml.expr.Numeric
 
getValue() - Method in class org.xlattice.corexml.om.Attr
 
getValue() - Method in class org.xlattice.corexml.om.DocumentType
 
getVersion() - Method in class org.xlattice.corexml.om.Document
 
GraphCycleException - Exception in org.xlattice.corexml.om
Exception returned if a Document is found to contain graph cycles, that is, if a node is found to be its own parent.
GraphCycleException() - Constructor for exception org.xlattice.corexml.om.GraphCycleException
No-argument constructor.
GraphCycleException(String) - Constructor for exception org.xlattice.corexml.om.GraphCycleException
Constructor taking a single String argument.
GT - Static variable in class org.xlattice.corexml.expr.Operator
'>'

H

hasDefault() - Method in class org.xlattice.corexml.bind.AttrBinding
 
hashCode() - Method in class org.xlattice.corexml.expr.Operator
 
hashCode() - Method in class org.xlattice.corexml.expr.Symbol
 
highLightDifference(String, String) - Static method in class org.xlattice.corexml.CoreXmlTestCase
 
Holder - Class in org.xlattice.corexml.om
A Holder is something which can have children and namespaces, so a Document or an Element.
Holder() - Constructor for class org.xlattice.corexml.om.Holder
Create a Holder, associated data structures, and a pair of Visitors.
Holder.CycleChecker - Class in org.xlattice.corexml.om
Walk down the subtrees, child nodes and their descendents, looking for this node; if found, there is a cycle in the graph.
Holder.CycleChecker() - Constructor for class org.xlattice.corexml.om.Holder.CycleChecker
 
Holder.DocSetter - Class in org.xlattice.corexml.om
Walk down the subtrees, child nodes and their descendents, setting each node's Document to match this Holder's Document.
Holder.DocSetter() - Constructor for class org.xlattice.corexml.om.Holder.DocSetter
 

I

id() - Method in class org.xlattice.corexml.expr.ExprParser
 
indexInRange(int) - Static method in class org.xlattice.corexml.expr.AxisName
 
insert(int, Attr) - Method in class org.xlattice.corexml.om.AttrList
Insert an attribute into an existing container in a particular place, displacing any existing attributes if necessary.
insert(int, Node) - Method in class org.xlattice.corexml.om.NodeList
 
insertAllNames(String) - Static method in class org.xlattice.corexml.bind.NameGenerator
Given a well-formed identifier that is NOT present in the various name tables, populate them.
INT - Static variable in class org.xlattice.corexml.bind.Binding
 
Interface - Class in org.xlattice.corexml.bind
On the XML side, allow any of a set of SubMappings to appear.
Interface(String, String, String) - Constructor for class org.xlattice.corexml.bind.Interface
Set up an Interface, providing a short name for use in generating error messages.
INTERFACE - Static variable in class org.xlattice.corexml.bind.Join
Join is an Interface
intValue() - Method in class org.xlattice.corexml.expr.Numeric
No warning if strange results from truncation.
isAbsolute - Variable in class org.xlattice.corexml.expr.LocationPath
whether the path is absolute
isAbsolute() - Method in class org.xlattice.corexml.expr.LocationPath
 
isAttr() - Method in class org.xlattice.corexml.om.Attr
 
isAttr() - Method in class org.xlattice.corexml.om.Node
one of these gets overridden in each subclass
isCdata() - Method in class org.xlattice.corexml.om.Cdata
This node is CDATA.
isCdata() - Method in class org.xlattice.corexml.om.Text
CDATASection overrides
isComment() - Method in class org.xlattice.corexml.om.Comment
 
isComment() - Method in class org.xlattice.corexml.om.Node
one of these gets overridden in each subclass
isDocType() - Method in class org.xlattice.corexml.om.DocumentType
 
isDocType() - Method in class org.xlattice.corexml.om.Node
one of these gets overridden in each subclass
isDocument() - Method in class org.xlattice.corexml.om.Document
 
isDocument() - Method in class org.xlattice.corexml.om.Node
one of these gets overridden in each subclass
isElement() - Method in class org.xlattice.corexml.om.Element
 
isElement() - Method in class org.xlattice.corexml.om.Node
one of these gets overridden in each subclass
isEmpty() - Method in class org.xlattice.corexml.expr.NodeSet
 
isEmpty() - Method in class org.xlattice.corexml.om.NodeList
 
isLetter(char) - Static method in class org.xlattice.corexml.expr.CharTypes
XXX Not consistent with the XML spec, but OK for now.
isName(String) - Static method in class org.xlattice.corexml.bind.NameGenerator
 
isNameChar(char) - Static method in class org.xlattice.corexml.expr.CharTypes
Recognizer for characters that may be part of names.
isProcessingInstruction() - Method in class org.xlattice.corexml.om.Node
one of these gets overridden in each subclass
isProcessingInstruction() - Method in class org.xlattice.corexml.om.ProcessingInstruction
 
isSingleCharOperator(char) - Static method in class org.xlattice.corexml.expr.Operator
Whether a character by itself is an operator and is not the first character in another operator.
isSingleCharSymbol(char) - Static method in class org.xlattice.corexml.expr.Symbol
 
isSpace(char) - Static method in class org.xlattice.corexml.expr.CharTypes
 
isText() - Method in class org.xlattice.corexml.om.Node
one of these gets overridden in each subclass
isText() - Method in class org.xlattice.corexml.om.Text
 
iterator() - Method in class org.xlattice.corexml.expr.NodeSet
 

J

join(Class) - Method in class org.xlattice.corexml.bind.AttrBag
Set the bound class for the AttrBindings in AttrBag.
join(Class) - Method in class org.xlattice.corexml.bind.AttrBinding
 
join(Class) - Method in class org.xlattice.corexml.bind.Bag
Set the bound class for the Ordering and all descendents.
join(Class) - Method in class org.xlattice.corexml.bind.Binding
Method called when the definition of the Mapping is complete.
join(Class) - Method in class org.xlattice.corexml.bind.Collector
Join this Connector and its immediate descendents to its parent Class.
join(Class) - Method in class org.xlattice.corexml.bind.EmptyElBinding
Called when the definition of a Mapping is complete.
join(Class) - Method in class org.xlattice.corexml.bind.Interface
Join anything under this Interface to its parent Class.
Join - Class in org.xlattice.corexml.bind
Superclass of mappings between XML nodes and Java classes.
Join(String) - Constructor for class org.xlattice.corexml.bind.Join
Bind an element or attribute value to a field in a Class.
join(Class) - Method in class org.xlattice.corexml.bind.Join
Set the clazz for this Join and any descendents.
join() - Method in class org.xlattice.corexml.bind.Mapping
Called after declaring all bindings.
join(Class) - Method in class org.xlattice.corexml.bind.Ordering
Set the joined class for all descendents.
join(Class) - Method in class org.xlattice.corexml.bind.Seq
Set the parent Class for this and immediate descendents.
join(Class) - Method in class org.xlattice.corexml.bind.SubMapping
Join this SubMapping to its parent class and join the SubMapping's children to its own class; set method names for getter, setter, and sizer.
join(Class) - Method in class org.xlattice.corexml.bind.TextBinding
Called by recursion from the Mapping.join() call after completing definition of the Mapping.
JOIN_TYPES - Static variable in class org.xlattice.corexml.bind.Join
Join subtypes, plus Mapping, for debug and error messages.
joined - Variable in class org.xlattice.corexml.bind.Join
whether the binding has been established
joined() - Method in class org.xlattice.corexml.bind.Join
Whether the recursive Mapping.join() call has been made.
joinType() - Method in class org.xlattice.corexml.bind.AttrBinding
 
joinType() - Method in class org.xlattice.corexml.bind.Collector
 
joinType() - Method in class org.xlattice.corexml.bind.EmptyElBinding
 
joinType() - Method in class org.xlattice.corexml.bind.Interface
 
joinType() - Method in class org.xlattice.corexml.bind.Join
 
joinType() - Method in class org.xlattice.corexml.bind.Mapping
 
joinType() - Method in class org.xlattice.corexml.bind.SubElBinding
 
joinType() - Method in class org.xlattice.corexml.bind.SubMapping
return the type of the Join
joinType() - Method in class org.xlattice.corexml.bind.TextBinding
 

L

last() - Method in class org.xlattice.corexml.expr.ExprParser
 
LBRACE - Static variable in class org.xlattice.corexml.expr.Symbol
 
LBRACKET - Static variable in class org.xlattice.corexml.expr.Symbol
 
LE - Static variable in class org.xlattice.corexml.expr.Operator
'<= (or <=)
Literal - Class in org.xlattice.corexml.expr
A literal, a token representing a singly or doubly quoted string.
Literal(String) - Constructor for class org.xlattice.corexml.expr.Literal
Accept a double or single quoted literal.
localName() - Method in class org.xlattice.corexml.expr.ExprParser
 
localName(NodeSet) - Static method in class org.xlattice.corexml.expr.ExprParser
 
LocationPath - Class in org.xlattice.corexml.expr
XPath 1.0 location path expression.
LocationPath(boolean) - Constructor for class org.xlattice.corexml.expr.LocationPath
Construct a location path.
LONG - Static variable in class org.xlattice.corexml.bind.Binding
 
LPAREN - Static variable in class org.xlattice.corexml.expr.Symbol
 
LT - Static variable in class org.xlattice.corexml.expr.Operator
'<' or non-XML equivalent

M

makeSpaces(int) - Static method in class org.xlattice.corexml.expr.SpaceFactory
 
MAPPING - Static variable in class org.xlattice.corexml.bind.Join
reserved for Mappings
Mapping - Class in org.xlattice.corexml.bind
Data structure describing the binding between an XML tree (Document or Element) and a set of objects.
Mapping(String, String, boolean) - Constructor for class org.xlattice.corexml.bind.Mapping
Create a mapping between an XML fragment (Document or Element) and a set of objects.
Mapping(String, String) - Constructor for class org.xlattice.corexml.bind.Mapping
Constructor which defaults to a fixed (Seq) Ordering.
maxOccur - Variable in class org.xlattice.corexml.bind.Join
maximum number of occurrences of this Join in Ordering
minOccur - Variable in class org.xlattice.corexml.bind.Join
minimum number of occurrences of this Join in Ordering
MINUS - Static variable in class org.xlattice.corexml.expr.Operator
'-' BUT CAN BE PART OF A NAME
MOD - Static variable in class org.xlattice.corexml.expr.Operator
'mod'
moveFrom(NodeSet) - Method in class org.xlattice.corexml.expr.NodeSet
Copy the nodes from another NodeSet into this one, then delete them from the source, to ease GC.
moveFrom(NodeList) - Method in class org.xlattice.corexml.om.NodeList
Copy the nodes from another NodeList into this one, then delete them from the source, to ease GC.
MSG_EXPECTED_AXIS - Static variable in class org.xlattice.corexml.expr.Tokenizer
 
MSG_EXPECTED_NODE_TYPE_OR_FUNC - Static variable in class org.xlattice.corexml.expr.Tokenizer
 
MSG_EXPECTED_OP_NAME - Static variable in class org.xlattice.corexml.expr.Tokenizer
 
MUL - Static variable in class org.xlattice.corexml.expr.Operator
'*' BUT MIGHT INSTEAD BE A SYMBOL

N

name - Variable in class org.xlattice.corexml.bind.Join
element or attribute name in the element being joined
name() - Method in class org.xlattice.corexml.expr.ExprParser
 
name(NodeSet) - Static method in class org.xlattice.corexml.expr.ExprParser
 
NameGenerator - Class in org.xlattice.corexml.bind
Generate standard method names from the base field name.
NAMES - Static variable in class org.xlattice.corexml.expr.AxisName
array of axis names in String form
NAMES - Static variable in class org.xlattice.corexml.expr.FunctionName
 
NAMES - Static variable in class org.xlattice.corexml.expr.NodeType
string representation, useful in debugging
NAMES - Static variable in class org.xlattice.corexml.expr.Operator
list of named operators
NAMESPACE - Static variable in class org.xlattice.corexml.expr.AxisName
 
namespaceUri() - Method in class org.xlattice.corexml.expr.ExprParser
 
namespaceUri(NodeSet) - Static method in class org.xlattice.corexml.expr.ExprParser
 
NaN - Static variable in class org.xlattice.corexml.expr.Numeric
 
NCName - Class in org.xlattice.corexml.expr
Token representing a non-colonized XML name used as a prefix.
NCName(String) - Constructor for class org.xlattice.corexml.expr.NCName
 
NE - Static variable in class org.xlattice.corexml.expr.Operator
'!='
NEGATIVE_INFINITY - Static variable in class org.xlattice.corexml.expr.Numeric
 
node - Variable in class org.xlattice.corexml.expr.ExprParser
the node expressions are evaluated in relation to
NODE - Static variable in class org.xlattice.corexml.expr.NodeType
 
Node - Class in org.xlattice.corexml.om
Superclass for all XML nodes in XLattice's object model.
Node() - Constructor for class org.xlattice.corexml.om.Node
 
Node.NodeCounter - Class in org.xlattice.corexml.om
Runs down the graph counting nodes by type; another Visitor.
Node.NodeCounter() - Constructor for class org.xlattice.corexml.om.Node.NodeCounter
 
noDelimCopy(String) - Static method in class org.xlattice.corexml.CoreXmlTestCase
Collapse all runs of delimiters in a String to a single space.
NodeList - Class in org.xlattice.corexml.om
A container for Nodes.
NodeList() - Constructor for class org.xlattice.corexml.om.NodeList
Create a node list with a default size.
NodeList(int) - Constructor for class org.xlattice.corexml.om.NodeList
Create a node list suggesting an initial size.
NodeList(Node) - Constructor for class org.xlattice.corexml.om.NodeList
Create a list of nodes, initially with only one member.
nodes - Variable in class org.xlattice.corexml.om.Holder
every Holder has a list of child Nodes
NodeSet - Class in org.xlattice.corexml.expr
A container for unique Nodes.
NodeSet() - Constructor for class org.xlattice.corexml.expr.NodeSet
Create a node set with a default size.
NodeSet(int) - Constructor for class org.xlattice.corexml.expr.NodeSet
Create a node set, recommending an initial set size.
NodeSet(Node) - Constructor for class org.xlattice.corexml.expr.NodeSet
Create a node set with an initial set size of one and a single member.
NodeSet(NodeSet) - Constructor for class org.xlattice.corexml.expr.NodeSet
Create a node set, setting its initial size to match that of another set and copying that node set's members.
NodeTest - Class in org.xlattice.corexml.expr
 
NodeTest(Token) - Constructor for class org.xlattice.corexml.expr.NodeTest
 
nodeTest - Variable in class org.xlattice.corexml.expr.Step
the node test
NodeType - Class in org.xlattice.corexml.expr
Token representing an XML node type.
NodeType(int) - Constructor for class org.xlattice.corexml.expr.NodeType
Create the Nth node type token.
NodeType(String) - Constructor for class org.xlattice.corexml.expr.NodeType
Create a node type token given its string representation.
ns2pf - Variable in class org.xlattice.corexml.om.Holder
maps namespaces into prefixes
nsUris - Variable in class org.xlattice.corexml.om.Holder
 
NTEST_COMMENT - Static variable in class org.xlattice.corexml.expr.ExprParser
 
NTEST_ELEMENT - Static variable in class org.xlattice.corexml.expr.ExprParser
 
NTEST_NODE - Static variable in class org.xlattice.corexml.expr.ExprParser
 
NTEST_PI - Static variable in class org.xlattice.corexml.expr.ExprParser
 
NTEST_STAR - Static variable in class org.xlattice.corexml.expr.ExprParser
 
NTEST_TEXT - Static variable in class org.xlattice.corexml.expr.ExprParser
 
NTYPE_COMMENT - Static variable in class org.xlattice.corexml.expr.ExprParser
 
NTYPE_ELEMENT - Static variable in class org.xlattice.corexml.expr.ExprParser
 
NTYPE_NODE - Static variable in class org.xlattice.corexml.expr.ExprParser
 
NTYPE_PI - Static variable in class org.xlattice.corexml.expr.ExprParser
 
NTYPE_TEXT - Static variable in class org.xlattice.corexml.expr.ExprParser
 
number(Object) - Static method in class org.xlattice.corexml.expr.ExprParser
XPath numeric function 1, number()
number() - Static method in class org.xlattice.corexml.expr.ExprParser
 
Numeric - Class in org.xlattice.corexml.expr
A numeric token, a Double, one of XPath's fundamental data types.
Numeric(String) - Constructor for class org.xlattice.corexml.expr.Numeric
Create a numeric token, given its value in String form.
Numeric(double) - Constructor for class org.xlattice.corexml.expr.Numeric
Create a numeric token, given its value as a Java double.
Numeric(Double) - Constructor for class org.xlattice.corexml.expr.Numeric
Create a numeric token, given its value as a Java Double.

O

ONE - Static variable in class org.xlattice.corexml.expr.Numeric
 
onEntry(Node) - Method in class org.xlattice.corexml.om.Holder.CycleChecker
On arriving at the node, do the identity check.
onEntry(Node) - Method in class org.xlattice.corexml.om.Holder.DocSetter
On arriving at the node, set its Document.
onEntry(Node) - Method in class org.xlattice.corexml.om.Node.NodeCounter
 
onEntry(Node) - Method in interface org.xlattice.corexml.om.Visitor
Action taken by a visitor on arriving at a Node.
onExit(Node) - Method in class org.xlattice.corexml.om.Holder.CycleChecker
On leaving, do nothing
onExit(Node) - Method in class org.xlattice.corexml.om.Holder.DocSetter
On leaving, do nothing.
onExit(Node) - Method in class org.xlattice.corexml.om.Node.NodeCounter
 
onExit(Node) - Method in interface org.xlattice.corexml.om.Visitor
Action taken by the visitor on leaving the Node.
OP_DSLASH - Static variable in class org.xlattice.corexml.expr.ExprParser
 
OP_SLASH - Static variable in class org.xlattice.corexml.expr.ExprParser
 
OP_STAR - Static variable in class org.xlattice.corexml.expr.ExprParser
 
Operator - Class in org.xlattice.corexml.expr
Token representing an XPath operator.
Operator(char) - Constructor for class org.xlattice.corexml.expr.Operator
Create an operator token, given its single-character representation.
Operator(String) - Constructor for class org.xlattice.corexml.expr.Operator
Create an operator token, given a String form.
OPERATORS - Static variable in class org.xlattice.corexml.expr.Operator
complete table of operators, some in two forms
optional() - Method in class org.xlattice.corexml.bind.Binding
The joined element or attribute need not appear in the XML and should not be output if the field has its default value.
optional() - Method in class org.xlattice.corexml.bind.Collector
mark the Collector as optional: it need not appear in the XML
optional() - Method in class org.xlattice.corexml.bind.Interface
mark the Interface as optional: it need not appear in the XML
optional() - Method in class org.xlattice.corexml.bind.SubMapping
The joined element or attribute need not appear in the XML and should not be output if the field has its default value.
OR - Static variable in class org.xlattice.corexml.expr.Operator
'or'
Ordering - Class in org.xlattice.corexml.bind
The set or sequence of Joins which bind XML element or attribute values with fields in an object which is an instance of a bound class.
Ordering() - Constructor for class org.xlattice.corexml.bind.Ordering
No-arg constructor.
org.xlattice.corexml - package org.xlattice.corexml
This package provides the XML capability essential to XLattice.
org.xlattice.corexml.bind - package org.xlattice.corexml.bind
This is a Java data binding facility.
org.xlattice.corexml.expr - package org.xlattice.corexml.expr
Code to support the evaluation of various types of expressions, most importantly XPath.
org.xlattice.corexml.om - package org.xlattice.corexml.om
 

P

PARENT - Static variable in class org.xlattice.corexml.expr.AxisName
 
parse(String) - Method in class org.xlattice.corexml.expr.ExprParser
Parse a String holding an XPath expression.
parseAbsLocationPath(Operator) - Method in class org.xlattice.corexml.expr.ExprParser
Parse an absolute location path, having encountered an Operator token.
parseAdditiveExpr(Operator, Expr) - Method in class org.xlattice.corexml.expr.ExprParser
 
parseAndExpr(Operator, Expr) - Method in class org.xlattice.corexml.expr.ExprParser
 
parseEqualityExpr(Operator, Expr) - Method in class org.xlattice.corexml.expr.ExprParser
 
parseMultiplicativeExpr(Operator, Expr) - Method in class org.xlattice.corexml.expr.ExprParser
 
parseOrExpr(Operator, Expr) - Method in class org.xlattice.corexml.expr.ExprParser
 
parseRelationalExpr(Operator, Expr) - Method in class org.xlattice.corexml.expr.ExprParser
 
parseRelLocationPath(Token) - Method in class org.xlattice.corexml.expr.ExprParser
Parse an absolute location path, having encountered the current token.
parseStep(Token, Expr) - Method in class org.xlattice.corexml.expr.ExprParser
Parse a step beginning with Token, using the expression collected so far to build a location path.
parseUnaryExpr(Operator) - Method in class org.xlattice.corexml.expr.ExprParser
Parse a unary expression with a leading minus.
parseUnionExpr(Operator, Expr) - Method in class org.xlattice.corexml.expr.ExprParser
Called after seeing a '|' (BAR)
pf2ns - Variable in class org.xlattice.corexml.om.Holder
reverse mapping, prefixes into namespaces
piCount() - Method in class org.xlattice.corexml.om.Node.NodeCounter
 
PLUS - Static variable in class org.xlattice.corexml.expr.Operator
'+'
populator(XmlPullParser, int, int) - Method in class org.xlattice.corexml.om.Holder
Arrive here having seen either START_DOCUMENT or START_TAG and having created a Node of the appropriate type.
position() - Method in class org.xlattice.corexml.expr.ExprParser
 
POSITIVE_INFINITY - Static variable in class org.xlattice.corexml.expr.Numeric
 
PRECEDENCE - Static variable in class org.xlattice.corexml.expr.Operator
precedence of each operator, in the same order
PRECEDING - Static variable in class org.xlattice.corexml.expr.AxisName
 
PRECEDING_SIBLING - Static variable in class org.xlattice.corexml.expr.AxisName
 
predicateCount() - Method in class org.xlattice.corexml.expr.Step
 
PROCESSING_INSTRUCTION - Static variable in class org.xlattice.corexml.expr.NodeType
 
ProcessingInstruction - Class in org.xlattice.corexml.om
Class representing an XML processing instruction.
ProcessingInstruction(String, String) - Constructor for class org.xlattice.corexml.om.ProcessingInstruction
Create a node by specifying the target (language) and text separately.
ProcessingInstruction(String) - Constructor for class org.xlattice.corexml.om.ProcessingInstruction
Create a node from an initialization string, guessing that the first space separates the target from the text.
pushback(Token) - Method in class org.xlattice.corexml.expr.Tokenizer
Push a token back on the input.

Q

QName - Class in org.xlattice.corexml.expr
Token representing an XML name which may be qualified.
QName(String) - Constructor for class org.xlattice.corexml.expr.QName
Create a token for a prefixless name.
QName(String, String) - Constructor for class org.xlattice.corexml.expr.QName
Create a token, specifying both parts of the name.

R

RBRACE - Static variable in class org.xlattice.corexml.expr.Symbol
 
RBRACKET - Static variable in class org.xlattice.corexml.expr.Symbol
 
read() - Method in class org.xlattice.corexml.om.XmlParser
Given a parser with open XML input, produce a Document in XLattice XML object form.
remove(Node) - Method in class org.xlattice.corexml.expr.NodeSet
Remove a node from this NodeSet.
removerName(String) - Static method in class org.xlattice.corexml.bind.NameGenerator
 
repeats() - Method in class org.xlattice.corexml.bind.Binding
The joined element may be repeated any number of times.
repeats() - Method in class org.xlattice.corexml.bind.Interface
The joined element may be repeated any number of times.
repeats() - Method in class org.xlattice.corexml.bind.SubMapping
The joined element may be repeated any number of times.
RPAREN - Static variable in class org.xlattice.corexml.expr.Symbol
 

S

SELF - Static variable in class org.xlattice.corexml.expr.AxisName
 
Seq - Class in org.xlattice.corexml.bind
Represents a set of bindings (Joins) to be applied in serial order (in sequence).
Seq() - Constructor for class org.xlattice.corexml.bind.Seq
No-arg constructor.
setClazz(Class) - Method in class org.xlattice.corexml.bind.Join
Called by subclasses after integrity checks, finding getter/ setter/sizer methods, and anything else related to a join() call.
setClazz(Class) - Method in class org.xlattice.corexml.bind.Ordering
Set the Java class associated with the Ordering.
setDocType(DocumentType) - Method in class org.xlattice.corexml.om.Document
 
setDocument(Document) - Method in class org.xlattice.corexml.om.Holder
Set this Holder's ultimate parent, the Document it belongs to.
setDocument(Document) - Method in class org.xlattice.corexml.om.Node
Change this node's ultimate parent, its Document.
setElementNode(Element) - Method in class org.xlattice.corexml.om.Document
Set the document's element node.
setField(Object, String) - Method in class org.xlattice.corexml.bind.Binding
Set a field in the bound object to the value passed.
setGetter(String) - Method in class org.xlattice.corexml.bind.Binding
Set the unqualified name of the field getter method.
setGetter(String) - Method in class org.xlattice.corexml.bind.Collector
Assign a name to the getter method, overriding the default.
setGetter(String) - Method in class org.xlattice.corexml.bind.Interface
Assign a name to the getter method, overriding the default.
setGetter(String) - Method in class org.xlattice.corexml.bind.SubMapping
 
setHolder(Element) - Method in class org.xlattice.corexml.om.AttrList
Set the Holder for this attribute.
setHolder(Holder) - Method in class org.xlattice.corexml.om.Node
Set or change this node's immediate parent; also change this node's ultimate parent if necessary.
setHolder(Holder) - Method in class org.xlattice.corexml.om.NodeList
Change the immediate parent of this list, here and in descendent nodes.
setLeftSubexpr(Expr) - Method in class org.xlattice.corexml.expr.BinaryExpr
Set the left sub-expression.
setMaxOccur(int) - Method in class org.xlattice.corexml.bind.Binding
Set the maximum number of times a bound value may occur.
setMaxOccur(int) - Method in class org.xlattice.corexml.bind.Interface
 
setMaxOccur(int) - Method in class org.xlattice.corexml.bind.SubMapping
 
setMinOccur(int) - Method in class org.xlattice.corexml.bind.Binding
Set the minimum number of times a bound value must occur.
setMinOccur(int) - Method in class org.xlattice.corexml.bind.Interface
 
setMinOccur(int) - Method in class org.xlattice.corexml.bind.SubMapping
 
setNode(Node) - Method in class org.xlattice.corexml.expr.ExprParser
Change the context node, the node that expressions are evaluated in relation to.
setPIName(Literal) - Method in class org.xlattice.corexml.expr.NodeTest
 
setRightSubexpr(Expr) - Method in class org.xlattice.corexml.expr.BinaryExpr
Set the rightt sub-expression.
setSetter(String) - Method in class org.xlattice.corexml.bind.Binding
Set the unqualified name of the field setter method.
setSetter(String) - Method in class org.xlattice.corexml.bind.Collector
Assign a name to the setter method, overriding the default.
setSetter(String) - Method in class org.xlattice.corexml.bind.Interface
Assign a name to the setter method, overriding the default.
setSetter(String) - Method in class org.xlattice.corexml.bind.SubMapping
 
setSizer(String) - Method in class org.xlattice.corexml.bind.Binding
Set the unqualified name of the sizer method.
setSizer(String) - Method in class org.xlattice.corexml.bind.Collector
Assign a name to the sizer method, overriding the default.
setSizer(String) - Method in class org.xlattice.corexml.bind.Interface
Assign a name to the sizer method, overriding the default.
setSizer(String) - Method in class org.xlattice.corexml.bind.SubMapping
 
setSubexpr(Expr) - Method in class org.xlattice.corexml.expr.UnaryExpr
Assign a new sub-expression.
setter - Variable in class org.xlattice.corexml.bind.Join
setter method used to set value of field in the bound object
setterName - Variable in class org.xlattice.corexml.bind.Join
 
setterName(String) - Static method in class org.xlattice.corexml.bind.NameGenerator
 
setText(String) - Method in class org.xlattice.corexml.om.Text
UNTESTED
SHORT - Static variable in class org.xlattice.corexml.bind.Binding
 
SimpleConfig - Class in org.xlattice.corexml
Bind elements from a simple configuration file to fields in the object.
SINGLE_CHAR_OPERATORS - Static variable in class org.xlattice.corexml.expr.Operator
list of 1-char operators which only have one form
SINGLE_CHAR_SYMBOLS - Static variable in class org.xlattice.corexml.expr.Symbol
those symbols which only appear in one form
size() - Method in class org.xlattice.corexml.bind.AttrBag
 
size() - Method in class org.xlattice.corexml.bind.Bag
 
size(Object) - Method in class org.xlattice.corexml.bind.Join
Return a count of the number of instances in the parent object that correspond to this Join.
size() - Method in class org.xlattice.corexml.bind.Ordering
 
size() - Method in class org.xlattice.corexml.bind.Seq
 
size() - Method in class org.xlattice.corexml.expr.NodeSet
 
size() - Method in class org.xlattice.corexml.om.AttrList
 
size() - Method in class org.xlattice.corexml.om.NodeList
 
sizer - Variable in class org.xlattice.corexml.bind.Join
used to get count of value instances in the bound object.
sizerName - Variable in class org.xlattice.corexml.bind.Join
 
sizerName(String) - Static method in class org.xlattice.corexml.bind.NameGenerator
 
skipWhitespaceText(NodeList, int) - Static method in class org.xlattice.corexml.bind.Seq
Skip any text nodes with no content after trimming.
SLASH - Static variable in class org.xlattice.corexml.expr.Operator
'/'
SpaceFactory - Class in org.xlattice.corexml.expr
Makes a String of spaces of the requested length.
STAR - Static variable in class org.xlattice.corexml.expr.Symbol
 
startElement() - Method in class org.xlattice.corexml.expr.Expr
 
startsName(char) - Static method in class org.xlattice.corexml.expr.CharTypes
Recognizer for characters that may start names.
startsOperator(char) - Static method in class org.xlattice.corexml.expr.Operator
True if the single character is a valid operator.
Step - Class in org.xlattice.corexml.expr
A step, part of a relative or absolute XPath Location Path.
Step(int, NodeTest, boolean) - Constructor for class org.xlattice.corexml.expr.Step
Create a location path Step.
stepCount() - Method in class org.xlattice.corexml.expr.LocationPath
 
STRING - Static variable in class org.xlattice.corexml.bind.Binding
String field
string(Node) - Static method in class org.xlattice.corexml.expr.ExprParser
XPath String function 1, string(node).
string() - Method in class org.xlattice.corexml.expr.ExprParser
Convert the context node.
string(Object) - Static method in class org.xlattice.corexml.expr.ExprParser
Convert objects to Java Strings in accordance with the spec.
SUBEL - Static variable in class org.xlattice.corexml.bind.Join
Join is a SubElBinding
SubElBinding - Class in org.xlattice.corexml.bind
Bind a subelement value in XML to the value of the named field in the associated class.
SubElBinding(String, String) - Constructor for class org.xlattice.corexml.bind.SubElBinding
Create the binding between an XML element and a field in a Java object.
SubElBinding(String) - Constructor for class org.xlattice.corexml.bind.SubElBinding
By default, tag and field name are the same.
SUBMAPPING - Static variable in class org.xlattice.corexml.bind.Join
Join is a SubMapping
SubMapping - Class in org.xlattice.corexml.bind
Create a mapping from an XML subelement into a Java class.
SubMapping(String, String, String, boolean) - Constructor for class org.xlattice.corexml.bind.SubMapping
Create a submapping
SubMapping(String, String, String) - Constructor for class org.xlattice.corexml.bind.SubMapping
 
SubMapping(String, String) - Constructor for class org.xlattice.corexml.bind.SubMapping
 
subtract(NodeSet) - Method in class org.xlattice.corexml.expr.NodeSet
Remove any Nodes in the argument NodeSet from this NodeSet if they are present.
SYM_COLON - Static variable in class org.xlattice.corexml.expr.ExprParser
 
SYM_DCOLON - Static variable in class org.xlattice.corexml.expr.ExprParser
 
SYM_DDOT - Static variable in class org.xlattice.corexml.expr.ExprParser
 
SYM_DOT - Static variable in class org.xlattice.corexml.expr.ExprParser
 
SYM_LBRACKET - Static variable in class org.xlattice.corexml.expr.ExprParser
 
SYM_LPAREN - Static variable in class org.xlattice.corexml.expr.ExprParser
 
SYM_RBRACKET - Static variable in class org.xlattice.corexml.expr.ExprParser
 
SYM_RPAREN - Static variable in class org.xlattice.corexml.expr.ExprParser
 
SYM_STAR - Static variable in class org.xlattice.corexml.expr.ExprParser
 
Symbol - Class in org.xlattice.corexml.expr
These are a subset of what rule [28] calls ExprToken but with the addition of left and right curly brackets (braces), the colon, the dollar sign, and possibly other symbols.
Symbol(char) - Constructor for class org.xlattice.corexml.expr.Symbol
Create a Symbol from its one-character form.
Symbol(String) - Constructor for class org.xlattice.corexml.expr.Symbol
Create a Symbol given its String form.
SYMBOLS - Static variable in class org.xlattice.corexml.expr.Symbol
list of the symbols in string form in the same order

T

tag - Variable in class org.xlattice.corexml.expr.Expr
tag distinguishing the type of expression
tagMatch(String) - Method in class org.xlattice.corexml.bind.Interface
Return whether the tag maps to an implementor of the Interface, after forcing its first character to upper case.
tagMatch(String) - Method in class org.xlattice.corexml.bind.Join
 
TAGS - Static variable in class org.xlattice.corexml.expr.Operator
tags used in representing the operators in XML debug output
takeStep(Node, NodeSet, ArrayList) - Method in class org.xlattice.corexml.expr.ExprParser
 
TEXT - Static variable in class org.xlattice.corexml.bind.Join
Join is a TextBinding
TEXT - Static variable in class org.xlattice.corexml.expr.NodeType
 
Text - Class in org.xlattice.corexml.om
A Node containing text in String format.
Text(String) - Constructor for class org.xlattice.corexml.om.Text
Create the node, initializing its value.
text - Variable in class org.xlattice.corexml.om.Text
 
TextBinding - Class in org.xlattice.corexml.bind
Bind a text value in an XML element to the value of the named field in the associated class.
TextBinding(String) - Constructor for class org.xlattice.corexml.bind.TextBinding
Create the binding.
textCount() - Method in class org.xlattice.corexml.om.Node.NodeCounter
 
Token - Interface in org.xlattice.corexml.expr
A marker interface, indicating that an object is a token which can appear in expressions.
TokenFactory - Class in org.xlattice.corexml.expr
Given a character string, constructs and returns a Token of the appropriate type.
tokenFor(String) - Static method in class org.xlattice.corexml.expr.TokenFactory
Look up a string and return the corresponding token.
Tokenizer - Class in org.xlattice.corexml.expr
Given a string, produce a sequence of XPath tokens.
Tokenizer(String) - Constructor for class org.xlattice.corexml.expr.Tokenizer
Create the tokenizer.
toString() - Method in class org.xlattice.corexml.expr.AxisName
 
toString() - Method in class org.xlattice.corexml.expr.Bool
 
toString() - Method in class org.xlattice.corexml.expr.FunctionName
 
toString() - Method in class org.xlattice.corexml.expr.Literal
Debugging toString for Expr inteface.
toString() - Method in class org.xlattice.corexml.expr.NCName
 
toString() - Method in class org.xlattice.corexml.expr.NodeType
 
toString() - Method in class org.xlattice.corexml.expr.Numeric
 
toString() - Method in class org.xlattice.corexml.expr.Operator
 
toString() - Method in class org.xlattice.corexml.expr.QName
 
toString() - Method in class org.xlattice.corexml.expr.Symbol
 
toString() - Method in class org.xlattice.corexml.om.Element
Preliminary version, for debugging.
toString() - Method in class org.xlattice.corexml.om.Text
XXX Possibly preliminary version.
toXml(int) - Method in class org.xlattice.corexml.expr.Expr
XML serialization for an XPath 1.0 expression, recursive, with the body indented 2 spaces at each level
toXml() - Method in class org.xlattice.corexml.expr.Expr
 
toXml() - Method in class org.xlattice.corexml.om.Attr
Convert the Node to XML form.
toXml() - Method in class org.xlattice.corexml.om.AttrList
 
toXml() - Method in class org.xlattice.corexml.om.Cdata
 
toXml() - Method in class org.xlattice.corexml.om.Comment
 
toXml() - Method in class org.xlattice.corexml.om.Document
Generate the XML document in String form.
toXml() - Method in class org.xlattice.corexml.om.DocumentType
XXX MAKES NO SENSE AT ALL
toXml() - Method in class org.xlattice.corexml.om.Element
 
toXml() - Method in class org.xlattice.corexml.om.Node
 
toXml() - Method in class org.xlattice.corexml.om.NodeList
A String containing each of the Nodes in XML form, recursively, without indenting.
toXml() - Method in class org.xlattice.corexml.om.ProcessingInstruction
Output properly bracketed PI content with a line separator, without indenting.
toXml() - Method in class org.xlattice.corexml.om.Text
 
TRUE - Static variable in class org.xlattice.corexml.expr.Bool
 
TRUE - Static variable in class org.xlattice.corexml.expr.Literal
 
TYPES - Static variable in class org.xlattice.corexml.bind.Binding
names of field types, for diagnostic messages
typeToString(int) - Static method in class org.xlattice.corexml.bind.Binding
 

U

UnaryExpr - Class in org.xlattice.corexml.expr
An XPath 1.0 unary expression.
UnaryExpr(Operator, Expr) - Constructor for class org.xlattice.corexml.expr.UnaryExpr
Create a unary expression.
UNSPECIFIED - Static variable in class org.xlattice.corexml.bind.Join
Join type has not been specified, an internal error

V

values(String) - Method in class org.xlattice.corexml.bind.AttrBinding
Parse a list of values representing an enumeration of possible attribute values.
varName(String) - Static method in class org.xlattice.corexml.bind.NameGenerator
 
Version - Class in org.xlattice.corexml
THIS CLASS SHOULD BE AUTOMATICALLY GENERATED.
Version() - Constructor for class org.xlattice.corexml.Version
 
Visitor - Interface in org.xlattice.corexml.om
Interface for classes implementing the Visitor pattern.

W

walkAll(Visitor) - Method in class org.xlattice.corexml.om.Attr
Method used by classes walking the XML document.
walkAll(Visitor) - Method in class org.xlattice.corexml.om.AttrList
Walk a Visitor through the list of attributes, visiting each in turn.
walkAll(Visitor) - Method in class org.xlattice.corexml.om.Holder
Take a Visitor on that walk down the subtrees, visiting every Node.
walkAll(Visitor) - Method in class org.xlattice.corexml.om.Node
Walk a Visitor through a Node.
walkAll(Visitor) - Method in class org.xlattice.corexml.om.NodeList
Take the visitor through every node in the list, recursing.
walkAttrs(Visitor) - Method in class org.xlattice.corexml.om.Element
 
walkHolders(Visitor) - Method in class org.xlattice.corexml.om.Holder
Take a Visitor on that walk down the subtrees, visiting only subnodes which are themselves Holders.
walkHolders(Visitor) - Method in class org.xlattice.corexml.om.NodeList
Take the Visitor through the list, visiting any node which is a Holder, recursively.

X

xmlBody(int) - Method in class org.xlattice.corexml.expr.BinaryExpr
 
xmlBody(int) - Method in class org.xlattice.corexml.expr.Bool
 
xmlBody(int) - Method in class org.xlattice.corexml.expr.Expr
 
xmlBody(int) - Method in class org.xlattice.corexml.expr.Literal
 
xmlBody(int) - Method in class org.xlattice.corexml.expr.LocationPath
Return a string suitable for representing the location path in XML output.
xmlBody(int) - Method in class org.xlattice.corexml.expr.NodeSet
Return the NodeSet in a form suitable for inclusion in XML dumps.
xmlBody(int) - Method in class org.xlattice.corexml.expr.NodeTest
 
xmlBody(int) - Method in class org.xlattice.corexml.expr.Numeric
 
xmlBody(int) - Method in class org.xlattice.corexml.expr.Step
 
xmlBody(int) - Method in class org.xlattice.corexml.expr.UnaryExpr
 
XmlParser - Class in org.xlattice.corexml.om
Interface to the XmlPullParser.
XmlParser(Reader) - Constructor for class org.xlattice.corexml.om.XmlParser
Create a parser.

Z

ZERO - Static variable in class org.xlattice.corexml.expr.Numeric
 

_

_getGetterName() - Method in class org.xlattice.corexml.bind.Join
 
_getSetterName() - Method in class org.xlattice.corexml.bind.Join
 
_getSizerName() - Method in class org.xlattice.corexml.bind.Join
 
_setGetter(String) - Method in class org.xlattice.corexml.bind.Join
Assign a name to the getter method, overriding any default.
_setMaxOccur(int) - Method in class org.xlattice.corexml.bind.Join
Set the maximum number of occurrences of the attribute or element in the XML.
_setMinOccur(int) - Method in class org.xlattice.corexml.bind.Join
Set the minimum number of occurrences of the attribute or element in the XML.
_setSetter(String) - Method in class org.xlattice.corexml.bind.Join
Assign a name to the setter method, overriding any default.
_setSizer(String) - Method in class org.xlattice.corexml.bind.Join
Assign a name to the sizer method, overriding any default.

A B C D E F G H I J L M N O P Q R S T U V W X Z _