SMILA (incubation) API documentation

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

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

public abstract class DAnyFinderAdvSearchCodec
extends java.lang.Object

Author:
gschmidt

Field Summary
static java.lang.String NS
          Namespace.
 
Method Summary
static DAnyFinderAdvSearch decode(org.w3c.dom.Element eAdvSearch)
          Creates a DAnyFinderAdvSearch object from an XML structure.
static org.w3c.dom.Document encode(DAnyFinderAdvSearch dAnyFinderAdvSearch)
          Encodes this object's content recursivly into an XML-Document.
static org.w3c.dom.Element encode(DAnyFinderAdvSearch dAnyFinderAdvSearch, org.w3c.dom.Element element)
          Constructs a DAnyFinderAdvSearch object from an XML structure.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NS

public static final java.lang.String NS
Namespace.

See Also:
Constant Field Values
Method Detail

encode

public static org.w3c.dom.Document encode(DAnyFinderAdvSearch dAnyFinderAdvSearch)
                                   throws AdvSearchException
Encodes this object's content recursivly into an XML-Document.

Parameters:
dAnyFinderAdvSearch - -
Returns:
Document -
Throws:
AdvSearchException - -

encode

public static org.w3c.dom.Element encode(DAnyFinderAdvSearch dAnyFinderAdvSearch,
                                         org.w3c.dom.Element element)
                                  throws AdvSearchException
Constructs a DAnyFinderAdvSearch object from an XML structure. The resulting XML element will be inserted below a given root element.

Parameters:
dAnyFinderAdvSearch - object to be encoded to XML.
element - XML node below which the resulting element will be inserted as an additional child.
Returns:
Element -
Throws:
AdvSearchException - -

decode

public static DAnyFinderAdvSearch decode(org.w3c.dom.Element eAdvSearch)
                                  throws AdvSearchException
Creates a DAnyFinderAdvSearch object from an XML structure.

Parameters:
eAdvSearch - element from which to construct the object.
Returns:
DAnyFinderAdvSearch
Throws:
AdvSearchException - if there's an error in the XML structure.

SMILA (incubation) API documentation