SMILA (incubation) API documentation

org.eclipse.smila.search.lucene.messages.advsearch
Class DQueryExpressionCodec

java.lang.Object
  extended by org.eclipse.smila.search.lucene.messages.advsearch.DQueryExpressionCodec

public abstract class DQueryExpressionCodec
extends java.lang.Object

Author:
gschmidt

Method Summary
static DQueryExpression decode(org.w3c.dom.Element element)
           
static org.w3c.dom.Element encode(DQueryExpression dQueryExpression, org.w3c.dom.Element parent)
          Encodes this object's content recursivly into an XML-Document.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

encode

public static org.w3c.dom.Element encode(DQueryExpression dQueryExpression,
                                         org.w3c.dom.Element parent)
                                  throws AdvSearchException
Encodes this object's content recursivly into an XML-Document.

Parameters:
dQueryExpression - QueryExpression to be encoded
parent - element below which the resulting document will be inserted
Returns:
XML element to be encoded
Throws:
AdvSearchException - -

decode

public static DQueryExpression decode(org.w3c.dom.Element element)
                               throws AdvSearchException
Throws:
AdvSearchException

SMILA (incubation) API documentation