Qizx/db 2.1 API

Uses of Interface
com.qizx.api.QName

Packages that use QName
com.qizx.api API of the embeddable version of the Qizx/db database engine. 
com.qizx.api.util Utility classes implementing interfaces from the API, in particular conversion to XML, HTML, DOM, SAX, conversion from DOM and SAX, and connection to JAXP-compatible XSLT engines. 
 

Uses of QName in com.qizx.api
 

Fields in com.qizx.api declared as QName
static QName LibraryException.MISC
          Error code used by default.
static QName LibraryException.MEMBER_NOT_FOUND
          Error code used for a non-existent Document or Collection.
static QName LibraryException.IN_IMPORT
          Code for errors in import operations.
static QName LibraryException.IN_UPDATE
          Code for errors in update operations.
static QName LibraryException.QUERY
          Code for errors in query operations.
static QName LibraryException.LOCKED
          Code used when trying to open a locked Library.
protected  QName QizxException.errorCode
           
static QName EvaluationException.TIME_LIMIT
          Error code used when the time limit for evaluation has been reached.
static QName EvaluationException.CANCELLED
          Error code used when the evaluation has been explicitly cancelled.
protected static QName EvaluationException.DEFAULT_ERR_CODE
           
 

Methods in com.qizx.api that return QName
 QName Message.getErrorCode()
          Gets the XQuery error code.
 QName XMLPullStream.getName()
          Returns the name of the current element node, or if the node is not an element, returns the name of the parent element.
 QName XMLPullStream.getAttributeName(int index)
          On ELEMENT_START, returns the name of the N-th attribute of the element.
 QName QizxException.getErrorCode()
          Gets the error code.
 QName[] XQueryContext.getVariableNames()
          Gets the list of global variables declared in the static context.
 QName ItemFactory.getQName(String localName)
          Returns a QName without namespace and without prefix.
 QName ItemFactory.getQName(String localName, String namespaceURI)
          Returns a QName without prefix.
 QName ItemFactory.getQName(String localName, String namespaceURI, String prefix)
          Returns a QName with prefix.
 QName Item.getQName()
          Gets the item's QName value.
 QName Node.getNodeName()
          Returns the Qualified Name of the node.
 QName[] Indexing.Rule.getContext()
          Returns the element context constraint.
 QName Indexing.Rule.getName()
          Returns the name of the element or attribute concerned by the rule.
 QName ItemType.getName()
          Returns the fully qualified name of the type.
 

Methods in com.qizx.api with parameters of type QName
 void QizxException.setErrorCode(QName errorCode)
          Defines the XQuery error code.
 SequenceType XQueryContext.getVariableType(QName variableName)
          Returns the type associated with a declared variable.
 void XQueryContext.declareVariable(QName variableName, SequenceType variableType)
          Adds a predefined variable declaration.
 Node Node.getAttribute(QName name)
          Gets an attribute of an element by name.
 void XMLPushStream.putElementStart(QName name)
          Puts an Element Start event.
 void XMLPushStream.putElementEnd(QName name)
          Puts an Element End event.
 void XMLPushStream.putAttribute(QName name, String value, String attrType)
          Puts an Attribute event for the current element.
 void Expression.bindVariable(QName varName, Item value)
          Binds a variable to a sequence made of a single item.
 void Expression.bindVariable(QName varName, ItemSequence value)
          Binds a variable to a sequence.
 void Expression.bindVariable(QName varName, boolean value)
          Binds a variable to a sequence made of a single boolean value.
 void Expression.bindVariable(QName varName, long value, ItemType type)
          Binds a variable to a value obtained by converting a long integer to an Item.
 void Expression.bindVariable(QName varName, double value)
          Binds a variable to a sequence made of a single item of type xs:double.
 void Expression.bindVariable(QName varName, float value)
          Binds a variable to a sequence made of a single item of type xs:float.
 void Expression.bindVariable(QName varName, Object value, ItemType type)
          Binds a variable to a value obtained by converting a Java object to an Item or a ItemSequence, according to the general Java to XQuery type mapping (see the documentation for details).
 Indexing.Rule Indexing.addElementRule(QName elementName, QName[] context, int indexingType)
          Adds a new Rule applicable to a specific element.
 Indexing.Rule Indexing.addDefaultElementRule(QName[] context, int indexingType)
          Adds a new Rule applicable to all elements.
 Indexing.Rule Indexing.addAttributeRule(QName attributeName, QName[] context, int indexingType)
          Adds a new Rule applicable to a specific attribute.
 Indexing.Rule Indexing.addDefaultAttributeRule(QName[] context, int indexingType)
          Adds a new Rule applicable to all attributes.
 FormatDateSieve Indexing.addDateSieve(String format, Locale locale, QName elementName, QName[] context)
          A Convenience method that adds a format-based DateSieve for a specific element
 FormatDateSieve Indexing.addAttrDateSieve(String format, Locale locale, QName attributeName, QName[] context)
          A Convenience method that adds a format-based DateSieve for a specific attribute
 FormatNumberSieve Indexing.addNumberSieve(String format, Locale locale, QName elementName, QName[] context)
          A Convenience method that adds a format-based DateSieve for a specific element
 FormatNumberSieve Indexing.addAttrNumberSieve(String format, Locale locale, QName attributeName, QName[] context)
          A Convenience method that adds a format-based NumberSieve for a specific attribute
 void Indexing.Rule.setContext(QName[] context)
          Defines an optional context of ancestors to be matched.
 void Indexing.Rule.setName(QName name)
          Defines the name of the element/attribute concerned by the rule.
 

Constructors in com.qizx.api with parameters of type QName
Message(int type, QName code, String text, String moduleURI, int position, int lineNumber, int columnNumber, String srcLine)
          For internal use.
LibraryException(QName errorCode, String message)
          Constructs a LibraryException with a message and an XQuery error code.
QizxException(QName errorCode, String message)
          Constructs a QizxException with a message and an XQuery error code.
DataModelException(QName errorCode, String message)
          Constructs a DataModelException with a message and an XQuery error code.
EvaluationException(QName xqueryCode, String message)
          Constructs an EvaluationException from a simple message and an error code.
EvaluationException(QName xqueryCode, String message, Throwable cause)
          Constructs an EvaluationException from a simple message, an error code and an exception.
Indexing.Rule(QName name, QName[] context, int indexingType)
          Constructs a Rule for an element or for an attribute.
 

Uses of QName in com.qizx.api.util
 

Methods in com.qizx.api.util with parameters of type QName
 void PushStreamToSAX.putElementEnd(QName name)
           
 void XMLSerializer.putElementEnd(QName name)
           
 void PushStreamToDOM.putElementStart(QName name)
           
 void PushStreamToDOM.putElementEnd(QName name)
           
 


© 2008 Axyana Software