A B C D E F G I L M N P Q S T U X

A

Atomic - class galapi.Atomic.
An Atomic value is one of the nineteen XML Schema data types plus the XQuery type [xdt:untypedAtomic].
Atomic() - Constructor for class galapi.Atomic
 
Atomic(int) - Constructor for class galapi.Atomic
 
AtomicList - class galapi.AtomicList.
An AtomicList incapsulates a list of Atomic values.
AtomicList() - Constructor for class galapi.AtomicList
 
AtomicList(int) - Constructor for class galapi.AtomicList
 
Attribute - class galapi.Attribute.
A node attribute in the XQeury data model.
Attribute(xsQName, xsString, xsQName) - Constructor for class galapi.Attribute
 
Attribute(int) - Constructor for class galapi.Attribute
 
AttributeList - class galapi.AttributeList.
 
AttributeList() - Constructor for class galapi.AttributeList
 
AttributeList(int) - Constructor for class galapi.AttributeList
 
addExternalContext(ModuleContext, ExternalContext) - Static method in class galapi.Galax
Extends the given module context with the external context.
attributeToItem(int, int, int) - Static method in class galapi.Attribute
 
attributes() - Method in class galapi.Node
Get the list of attributes of the node.

B

baseURI() - Method in class galapi.Node
Get the URI associated with the document if there is one.
booleanToItem(boolean) - Static method in class galapi.xsBoolean
 

C

Comment - class galapi.Comment.
A Comment node in the XQuery data model
Comment(xsString) - Constructor for class galapi.Comment
Constructor for a Comment whose string value is given by the xsString argument
Context - class galapi.Context.
The Context provides the minimal structure of a context.
Context() - Constructor for class galapi.Context
 
children() - Method in class galapi.Node
Get the list of node children.
commentToItem(int) - Static method in class galapi.Comment
 
cons(Attribute, AttributeList) - Static method in class galapi.AttributeList
 
cons(Item, ItemList) - Static method in class galapi.ItemList
Creates a new list by adding an Item at the beginning of an ItemList.

D

Document - class galapi.Document.
A document element in the XQeury data model.
Document(int) - Constructor for class galapi.Document
 
Document(String, ItemList) - Constructor for class galapi.Document
 
decimalToItem(int) - Static method in class galapi.xsDecimal
 
defaultProcessingContext() - Static method in class galapi.Galax
Returns the default ProcessingContext which just contains flags for controlling debugging, printing, and the processing phases.
documentToItem(String, int) - Static method in class galapi.Document
 
doubleToItem(double) - Static method in class galapi.xsDouble
 

E

Element - class galapi.Element.
A node element in the XQeury data model.
Element(int) - Constructor for class galapi.Element
 
Element(xsQName, AttributeList, ItemList, xsQName) - Constructor for class galapi.Element
 
ExternalContext - class galapi.ExternalContext.
The ExternalContext includes an optional value for the context item (known as ".") and a list of variable name, ItemList value pairs.
ExternalContext(ItemList, NameValuePair[]) - Constructor for class galapi.ExternalContext
 
elementToItem(int, int, int, int) - Static method in class galapi.Element
 
evalGlobalVariables(ModuleContext) - Static method in class galapi.Galax
Evaluates the expressions for all - possibly mutually dependent - global variables.
evalQueryFunction(ModuleContext, String, ItemList[]) - Static method in class galapi.Galax
Given the ModuleContext, evaluates the function whose name is given by funname applied to the array of ItemListitem arguments.
evalStatementFromFileWithContextItemFromXML(Item, String) - Static method in class galapi.Galax
Bind the context item (the XPath "." expression) to the XML value in the item list argument and evaluate the XQuery statement in the file with name in the string argument.
evalStatementFromString(ModuleContext, String) - Static method in class galapi.Galax
Given the ModuleContext, evaluates the XQuery statement in the string argument.
evalStatementWithContextItemFromDocument(String, String) - Static method in class galapi.Galax
Bind the context item (the XPath "." expression) to the XML document in the resource named by the first string argument, and evaluate the XQuery statement in the second string argument.
evalStatementWithContextItemFromXML(Item, String) - Static method in class galapi.Galax
Bind the context item (the XPath "." expression) to the XML value in the item list argument and evaluate the XQuery statement in the string argument.
evalStatementWithVariablesFromXML(NameValuePair[], String) - Static method in class galapi.Galax
The first argument is a list of variable name and XML value pairs.
evalStatements(QueryContext) - Static method in class galapi.Galax
Given the QueryContext, evaluates the statements containded in the query.
externalContextToItem(int, String[], int[]) - Static method in class galapi.ExternalContext
 

F

finalize() - Method in class galapi.Attribute
 
finalize() - Method in class galapi.Context
 
finalize() - Method in class galapi.Document
Releases all resources used by this document.
finalize() - Method in class galapi.Element
Releases all resources used by this element (attributes, nodes etc) Caution: If the element was constructed using variables as arguments, these variables are deallocated after calling this method
finalize() - Method in class galapi.Item
This method is used to release the item and the memory allocated to it.
finalize() - Method in class galapi.ItemList
Release memory resources related to the ItemList.
floatToItem(double) - Static method in class galapi.xsFloat
 

G

GalapiException - exception galapi.GalapiException.
The GalapiException provides a primitive way of being informed when an error occurs.
GalapiException() - Constructor for class galapi.GalapiException
 
GalapiException(String) - Constructor for class galapi.GalapiException
 
Galax - class galapi.Galax.
The Galax class contains methods needed to perform queries and to manipulate data under different representations.
Galax() - Constructor for class galapi.Galax
 
GalaxInternalException - exception galapi.GalaxInternalException.
The GalaxInternalException indicates that a serious error inside the XQuery engine was produced.
GalaxInternalException() - Constructor for class galapi.GalaxInternalException
 
GalaxInternalException(String) - Constructor for class galapi.GalaxInternalException
 
galapi - package galapi
 
getAtomic() - Method in class galapi.Item
XQuery Accessor: cast the item to an atomic value
getAttribute() - Method in class galapi.Item
XQuery Accessor: cast the item to an attribute
getElement() - Method in class galapi.Item
XQuery Accessor: cast the item to an element
getName() - Method in class galapi.NameValuePair
 
getNativeItem() - Method in class galapi.Context
 
getNativeItem() - Method in class galapi.Item
 
getNativeItemList() - Method in class galapi.ItemList
 
getNode() - Method in class galapi.Item
XQuery Accessor: cast the item to a node
getValue() - Method in class galapi.NameValuePair
 

I

Item - class galapi.Item.
An Item is the a primitive datatype for a value.
Item() - Constructor for class galapi.Item
 
Item(int) - Constructor for class galapi.Item
 
ItemList - class galapi.ItemList.
An ItemList is a collection of items that can be processed or returned as a result by the functions in the class Galax.
ItemList() - Constructor for class galapi.ItemList
creates an empty item list
ItemList(int) - Constructor for class galapi.ItemList
 
ItemsFirst() - Method in class galapi.ItemList
 
ItemsNext() - Method in class galapi.ItemList
 
ilist - Variable in class galapi.ItemList
 
importLibraryModule(ModuleContext, String) - Static method in class galapi.Galax
Used to import other library modules.
importMainModule(ModuleContext, String) - Static method in class galapi.Galax
Used to import a main module defined in a file.
importMainModuleFromString(ModuleContext, String) - Static method in class galapi.Galax
Same as importMainModule, but module definition is provided in a string instead of a file.
importMainModuleFromString(int, String) - Static method in class galapi.Galax
 
init() - Static method in class galapi.Galax
Does the initialization stuff, that is it passes program arguments to the OCaml Sys module.
intToItem(int) - Static method in class galapi.xsInt
 
integerToItem(int) - Static method in class galapi.xsInteger
 
isEmpty() - Method in class galapi.ItemList
 
item - Variable in class galapi.Context
 
item - Variable in class galapi.Item
 
itemKind() - Method in class galapi.Item
XQuery Accessor: get kind of item.
itemToBoolean(int) - Static method in class galapi.xsBoolean
 
itemToDecimal(int) - Static method in class galapi.xsDecimal
 
itemToDouble(int) - Static method in class galapi.xsDouble
 
itemToFloat(int) - Static method in class galapi.xsFloat
 
itemToInt(int) - Static method in class galapi.xsInt
 
itemToInteger(int) - Static method in class galapi.xsInteger
 

L

loadDocument(String) - Static method in class galapi.Galax
Loads an XML document into the Galax data model.
loadDocumentValidate(ModuleContext, String) - Static method in class galapi.Galax
Loads an XML document and validates it with respect to a ModuleContext which may contain imported schemas.
loadStandardLibrary(ProcessingContext) - Static method in class galapi.Galax
Load the standard Galax library, which contains the built-in types, namespaces, and functions.

M

ModuleContext - class galapi.ModuleContext.
The ModuleContext provides a general evaluation environment for a query.
ModuleContext() - Constructor for class galapi.ModuleContext
 
ModuleContext(int) - Constructor for class galapi.ModuleContext
 

N

NameValuePair - class galapi.NameValuePair.
 
NameValuePair(String, ItemList) - Constructor for class galapi.NameValuePair
Builds a name/value pair, usually for representing a variable.
Node - class galapi.Node.
A Node is an Item representing an XML node in the XQuery data model.
Node() - Constructor for class galapi.Node
 
Node(int) - Constructor for class galapi.Node
 
NodeList - class galapi.NodeList.
 
NodeList() - Constructor for class galapi.NodeList
 
NodeList(int) - Constructor for class galapi.NodeList
 
nativeAddExternalContext(int, int) - Static method in class galapi.Galax
 
nativeAtomicValue(int) - Static method in class galapi.Item
 
nativeAttribute(int) - Static method in class galapi.Item
 
nativeAttributes(int) - Static method in class galapi.Node
 
nativeBaseURI(int) - Static method in class galapi.Node
 
nativeChildren(int) - Static method in class galapi.Node
 
nativeCons(int, int) - Static method in class galapi.ItemList
 
nativeDefaultProcessingContext() - Static method in class galapi.Galax
 
nativeElement(int) - Static method in class galapi.Item
 
nativeEmptyList() - Static method in class galapi.ItemList
 
nativeEvalGlobalVariables(int) - Static method in class galapi.Galax
 
nativeEvalQueryFunction(int, String, int[]) - Static method in class galapi.Galax
 
nativeEvalStatementFromFileWithContextItemFromXML(int, String) - Static method in class galapi.Galax
 
nativeEvalStatementFromString(int, String) - Static method in class galapi.Galax
 
nativeEvalStatementWithContextItemFromDocument(String, String) - Static method in class galapi.Galax
 
nativeEvalStatementWithContextItemFromXML(int, String) - Static method in class galapi.Galax
 
nativeEvalStatementWithVariablesFromXML(String[], int[], String) - Static method in class galapi.Galax
 
nativeEvalStatements(int) - Static method in class galapi.Galax
 
nativeFree(int) - Static method in class galapi.Context
 
nativeFree(int) - Static method in class galapi.Item
 
nativeFreeItemList(int) - Static method in class galapi.ItemList
 
nativeImportLibraryModule(int, String) - Static method in class galapi.Galax
 
nativeImportMainModule(int, String) - Static method in class galapi.Galax
 
nativeIsEmpty(int) - Static method in class galapi.ItemList
 
nativeItemKind(int) - Static method in class galapi.Item
 
nativeItemsFirst(int) - Static method in class galapi.ItemList
 
nativeItemsNext(int) - Static method in class galapi.ItemList
 
nativeLoadDocument(String) - Static method in class galapi.Galax
 
nativeLoadDocumentValidate(int, String) - Static method in class galapi.Galax
 
nativeLoadStandardLibrary(int) - Static method in class galapi.Galax
 
nativeNode(int) - Static method in class galapi.Item
 
nativeNodeKind(int) - Static method in class galapi.Node
 
nativeNodeName(int) - Static method in class galapi.Node
 
nativeParent(int) - Static method in class galapi.Node
 
nativeSerialize(int) - Static method in class galapi.ItemList
 
nativeSerializeToFile(String, int) - Static method in class galapi.Galax
 
nativeSerializeToOutputChannel(int) - Static method in class galapi.Galax
 
nativeSerializeToString(int) - Static method in class galapi.Galax
 
nativeString(int) - Static method in class galapi.Item
 
nativeTypedValue(int) - Static method in class galapi.Node
 
nodeKind() - Method in class galapi.Node
 
nodeName() - Method in class galapi.Node
 

P

ProcessingContext - class galapi.ProcessingContext.
A ProcessingContext contains flags for controlling debugging, printing, and the processing phases
ProcessingContext() - Constructor for class galapi.ProcessingContext
 
ProcessingContext(int) - Constructor for class galapi.ProcessingContext
 
ProcessingInstruction - class galapi.ProcessingInstruction.
A ProcessingInstruction node in the XQuery data model.
ProcessingInstruction(xsString, xsString) - Constructor for class galapi.ProcessingInstruction
 
parent() - Method in class galapi.Node
Get the parent of the node
processingInstructionToItem(int, int) - Static method in class galapi.ProcessingInstruction
 

Q

QueryContext - class galapi.QueryContext.
A QueryContext contains a full environment for a query.
QueryContext() - Constructor for class galapi.QueryContext
 
QueryContext(int) - Constructor for class galapi.QueryContext
 
qNameToItem(int, String) - Static method in class galapi.xsQName
 

S

serializeToFile(String, ItemList) - Static method in class galapi.Galax
Serializes an XQuery data model value to a file
serializeToOutputChannel(ItemList) - Static method in class galapi.Galax
Serializes an XQuery data model value to standard output
serializeToString(ItemList) - Static method in class galapi.Galax
Serializes an XQuery data model value to a string
setItem(int) - Method in class galapi.Context
 
setItem(int) - Method in class galapi.Item
 
setItemList(int) - Method in class galapi.ItemList
 
stringToItem(String) - Static method in class galapi.xsString
 

T

Text - class galapi.Text.
A Text node in the XQuery data model
Text(xsString) - Constructor for class galapi.Text
 
textToItem(int) - Static method in class galapi.Text
 
toBoolean() - Method in class galapi.xsBoolean
 
toDouble() - Method in class galapi.xsDouble
 
toDouble() - Method in class galapi.xsFloat
 
toInt() - Method in class galapi.xsDecimal
 
toInt() - Method in class galapi.xsInt
 
toInt() - Method in class galapi.xsInteger
 
toString() - Method in class galapi.Item
 
toString() - Method in class galapi.ItemList
 
typedValue() - Method in class galapi.Node
It returns the typed value of a Node.

U

uriToItem(String) - Static method in class galapi.xsAnyURI
 

X

xsAnyURI - class galapi.xsAnyURI.
 
xsAnyURI(String) - Constructor for class galapi.xsAnyURI
 
xsBoolean - class galapi.xsBoolean.
 
xsBoolean(boolean) - Constructor for class galapi.xsBoolean
 
xsDecimal - class galapi.xsDecimal.
 
xsDecimal(int) - Constructor for class galapi.xsDecimal
 
xsDouble - class galapi.xsDouble.
 
xsDouble(double) - Constructor for class galapi.xsDouble
 
xsFloat - class galapi.xsFloat.
 
xsFloat(double) - Constructor for class galapi.xsFloat
 
xsInt - class galapi.xsInt.
 
xsInt(int) - Constructor for class galapi.xsInt
 
xsInteger - class galapi.xsInteger.
 
xsInteger(int) - Constructor for class galapi.xsInteger
 
xsQName - class galapi.xsQName.
 
xsQName(ModuleContext, String) - Constructor for class galapi.xsQName
 
xsString - class galapi.xsString.
 
xsString(String) - Constructor for class galapi.xsString
 
xsUntyped - class galapi.xsUntyped.
 
xsUntyped() - Constructor for class galapi.xsUntyped
 

A B C D E F G I L M N P Q S T U X