Qizx/open 4.1 API

Uses of Class
com.qizx.api.DataModelException

Packages that use DataModelException
com.qizx.api API of the embeddable version of the Qizx XML Query 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. 
com.qizx.api.util.fulltext This package contains the built-in implementation of full-text features. 
com.qizx.api.util.text Text-related utility classes, in particular implementations of base indexing Sieves. 
 

Uses of DataModelException in com.qizx.api
 

Methods in com.qizx.api that throw DataModelException
 boolean Node.contains(Node node)
          Returns true if this node is an ancestor of the parameter node or the node itself.
 boolean Node.deepEquals(Node node, Collator collator)
          Deep equality of two subtrees.
 int Node.documentOrderCompareTo(Node that)
          Compares the document order of two nodes.
 void Indexing.export(XMLPushStream stream)
          Converts to an external representation.
 void XMLPushStream.flush()
          Optional flush of the output flow.
 Object Node.getAtomValue()
          Returns the value of an atomic node.
 Node Node.getAttribute(QName name)
          Gets an attribute of an element by name.
 int Node.getAttributeCount()
          Returns the number of attributes of an Element.
 Node[] Node.getAttributes()
          Gets the attributes of an element.
 String Node.getBaseURI()
          Return the base-URI of this Node.
 char[] Node.getCharValue()
          Returns the String Value of this leaf Node as a char array.
 Node Node.getDocumentNode()
          Returns the document node if any, else the top-level node.
 String Node.getDocumentURI()
          Returns the URI of the document.
 Node Node.getFirstChild()
          Returns the first child node of an element or a document node.
 long Node.getLongAtomValue()
          Returns the node contents as an integer value.
 String Node.getNamespacePrefix(String nsURI)
          Returns a matching prefix for the Namespace URI by looking up the in-scope namespace definitions.
 String Node.getNamespaceUri(String prefix)
          Returns a matching Namespace for the prefix by looking up the in-scope namespace definitions.
 Node Node.getNextNode()
          Returns the next Node in document order.
 Node Node.getNextSibling()
          Returns the next sibling Node.
 String Node.getNodeKind()
          Returns the node kind as a string: "document", "element", "attribute", "text", "comment", or "processing-instruction".
 QName Node.getNodeName()
          Returns the Qualified Name of the node.
 int Node.getNodeNature()
          Returns a node kind in numeric form: DOCUMENT, ELEMENT etc.
 Node Node.getParent()
          Returns the parent node.
 String Node.getStringValue()
          Returns the String Value of this Node.
 boolean Node.isElement()
          Returns true if the Node is an Element.
 int XMLPullStream.moveToNextEvent()
          Moves the event stream one step forward.
 void Indexing.parse(Node specification)
          Parses an Indexing specification from a Node.
 void XMLPushStream.putAttribute(QName name, String value, String attrType)
          Puts an Attribute event for the current element.
 void XMLPushStream.putChars(char[] text, int start, int textLength)
          Puts a Text Fragment event.
 void XMLPushStream.putComment(String text)
          Puts a Comment event.
 void XMLPushStream.putDocumentEnd()
          Puts a Document End event.
 boolean XMLPushStream.putDocumentStart()
          Puts a Document Start event.
 void XMLPushStream.putDTD(String name, String publicId, String systemId, String internalSubset)
          Optionally puts a DTD event.
 void XMLPushStream.putElementEnd(QName name)
          Puts an Element End event.
 void XMLPushStream.putElementStart(QName name)
          Puts an Element Start event.
 boolean XMLPushStream.putNamespace(String prefix, String namespaceURI)
          Puts a Namespace declaration event for the current element.
 void XMLPushStream.putNamespaces(Node element, int copyNamespaceMode)
          Puts Namespace declarations of the element to the stream according to the specified mode.
 void XMLPushStream.putNodeCopy(Node node, int copyNamespaceMode)
          Copies a Node to the output flow by traversing it recursively.
 void XMLPushStream.putProcessingInstruction(String target, String contents)
          Puts a Processing-instruction event.
 void XMLPushStream.putText(String text)
          Puts a Text Fragment event.
 void XQueryContext.setDefaultCollation(String defaultCollation)
          Sets the URI of the default collation defined in the static context.
 void Indexing.Sieve.setParameters(String[] parameters)
          Defines optional parameters for the sieve.
 void XQuerySession.setWordSieve(Indexing.WordSieve wordSieve)
          Deprecated. see XQuerySession.setFullTextFactory(com.qizx.api.fulltext.FullTextFactory)
 int Node.stringValueCompareTo(Node node, Collator collator)
          Compares the string values of two nodes, optionally using a collation.
 

Uses of DataModelException in com.qizx.api.util
 

Methods in com.qizx.api.util that throw DataModelException
static Node PullStreamConverter.buildNode(XMLPullStream in)
          Directly builds an internal Node representation from a XML input stream.
static Node DOMToPushStream.convertNode(Node node)
          Utility for conversion of DOM to Data Model nodes
static int PullStreamConverter.convertTree(XMLPullStream in, XMLPushStream out)
          Reads events from the input stream until a complete well-balanced tree is sent to the output stream.
 Node PushStreamToDOM.exportNode(Node node)
          Converts a node of the XDM into a W3C DOM node.
 void XMLSerializer.flush()
          Flush of the output flow.
 void XMLSerializer.output(Node node)
          Serializes a node and its subtree.
 void XMLSerializer.putAtomText(String value)
           
 void PushStreamToSAX.putComment(String value)
           
 void PushStreamToDOM.putComment(String contents)
           
 void XMLSerializer.putComment(String contents)
           
 void DOMToPushStream.putDocument(Document document)
          Pushes a complete document to the output stream.
 void PushStreamToSAX.putDocumentEnd()
           
 void XMLSerializer.putDocumentEnd()
           
 boolean PushStreamToSAX.putDocumentStart()
           
 boolean PushStreamToDOM.putDocumentStart()
           
 boolean XMLSerializer.putDocumentStart()
           
 void DOMToPushStream.putElement(Element element)
          Pushes an element and all its descendant nodes to the output stream.
 void PushStreamToSAX.putElementEnd(QName name)
           
 void PushStreamToDOM.putElementEnd(QName name)
           
 void XMLSerializer.putElementEnd(QName name)
           
 void PushStreamToDOM.putElementStart(QName name)
           
 boolean PushStreamToSAX.putNamespace(String prefix, String namespaceURI)
           
 void XMLSerializer.putNodeCopy(Node node, int copyNsMode)
           
 void PushStreamToSAX.putProcessingInstruction(String target, String value)
           
 void PushStreamToDOM.putProcessingInstruction(String target, String contents)
           
 void XMLSerializer.putProcessingInstruction(String target, String contents)
           
 void PushStreamToSAX.putText(String value)
           
 void PushStreamToDOM.putText(String text)
           
 void XMLSerializer.putText(String value)
           
 String XMLSerializer.serializeToString(Node node)
          Serializes a node and its subtree as a string.
 void XMLSerializer.setEncoding(String encoding)
          Sets the option ENCODING.
 void XMLSerializer.setOption(String option, String value)
          Sets an option.
 void XMLSerializer.setOutput(OutputStream output)
          Defines or redefines the output.
 void XMLSerializer.setOutput(OutputStream output, String encoding)
          Defines or redefines the output.
 void XMLSerializer.setOutput(Writer output)
          Defines or redefines the output.
 

Constructors in com.qizx.api.util that throw DataModelException
PushStreamToDOM()
          Creates a DOM output using the default DOM implementation.
XMLSerializer(OutputStream output, String encoding)
          Constructs a XMLSerializer with an output stream and an encoding name.
XMLSerializer(String method)
          Constructs a XMLSerializer with specification of an output method.
 

Uses of DataModelException in com.qizx.api.util.fulltext
 

Methods in com.qizx.api.util.fulltext that throw DataModelException
 Node FullTextSnippetExtractor.makeSnippet(Node node, QName wrapperElement, QName hiliterElement, QName styleAttribute, String stylePrefix)
          Directly builds a snippet from a source Node.
 int FullTextSnippetExtractor.moveToNextEvent()
           
 int FullTextHighlighter.moveToNextEvent()
           
 void FullTextSnippetExtractor.start(Node node)
          Searches snippet components in a source XML document or node.
 void FullTextHighlighter.start(Node node)
          Starts iteration on a Node tree.
 

Constructors in com.qizx.api.util.fulltext that throw DataModelException
FullTextHighlighter(String simpleSyntaxQuery, FullTextFactory fulltextFactory, String language)
          Creates a FullTextHighlighter from a query string using the simple full-text syntax.
FullTextSnippetExtractor(String simpleSyntaxQuery, FullTextFactory fulltextFactory, String language)
          Creates a FullTextSnippetExtractor from a query string using the simple full-text syntax.
 

Uses of DataModelException in com.qizx.api.util.text
 

Methods in com.qizx.api.util.text that throw DataModelException
 void ISODateSieve.setParameters(String[] parameters)
           
 void FormatNumberSieve.setParameters(String[] parameters)
           
 void FormatDateSieve.setParameters(String[] parameters)
           
 


© 2010 Axyana Software