SMILA (incubation) API documentation

org.eclipse.smila.search.templates.messages.fieldtemplates
Class DSelectorCodec

java.lang.Object
  extended by org.eclipse.smila.search.templates.messages.fieldtemplates.DSelectorCodec

public final class DSelectorCodec
extends java.lang.Object

Author:
August Georg Schmidt (BROX)

Method Summary
static DSelector decode(org.w3c.dom.Element element)
          Decode XML element into DSelector.
static org.w3c.dom.Element encode(DSelector dSelector, org.w3c.dom.Element parent)
          Encode DSelector object into XML.
 
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(DSelector dSelector,
                                         org.w3c.dom.Element parent)
                                  throws DFieldTemplatesException
Encode DSelector object into XML.

Parameters:
dSelector - Object to encode.
parent - Parent of object.
Returns:
Encoded element.
Throws:
DFieldTemplatesException - Unable to encode object.

decode

public static DSelector decode(org.w3c.dom.Element element)
                        throws DFieldTemplatesException
Decode XML element into DSelector.

Parameters:
element - Element to decode.
Returns:
Decoded element as DSelector.
Throws:
DFieldTemplatesException - Unable to decode XML element.

SMILA (incubation) API documentation