SMILA (incubation) API documentation

org.eclipse.smila.search.datadictionary.messages.ddconfig
Class DFieldConfigCodec

java.lang.Object
  extended by org.eclipse.smila.search.datadictionary.messages.ddconfig.DFieldConfigCodec

public final class DFieldConfigCodec
extends java.lang.Object

Author:
brox IT-Solutions GmbH

Field Summary
static java.lang.String NS
          Namespace.
 
Method Summary
protected static DFieldConfig decode(org.w3c.dom.Element element)
          Decode field config.
static void decodeStandardValues(DFieldConfig dField, org.w3c.dom.Element element)
          Decode standard values of a field config.
protected static org.w3c.dom.Element encode(DFieldConfig dField, org.w3c.dom.Element element)
          Encode field config.
static void encodeStandardValues(DFieldConfig dField, org.w3c.dom.Element element)
          Decode standard values of a field config.
 
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

decode

protected static DFieldConfig decode(org.w3c.dom.Element element)
                              throws ConfigurationException
Decode field config.

Parameters:
element - Element.
Returns:
Decoded field config.
Throws:
ConfigurationException - Unable to decode field config.

decodeStandardValues

public static void decodeStandardValues(DFieldConfig dField,
                                        org.w3c.dom.Element element)
                                 throws ConfigurationException
Decode standard values of a field config.

Parameters:
dField - Field config.
element - Element.
Throws:
ConfigurationException - Unable to decode field config.

encode

protected static org.w3c.dom.Element encode(DFieldConfig dField,
                                            org.w3c.dom.Element element)
                                     throws ConfigurationException
Encode field config.

Parameters:
dField - Field config.
element - Parent.
Returns:
Element.
Throws:
ConfigurationException - Unable to encode field config.

encodeStandardValues

public static void encodeStandardValues(DFieldConfig dField,
                                        org.w3c.dom.Element element)
                                 throws ConfigurationException
Decode standard values of a field config.

Parameters:
dField - Field config.
element - Element.
Throws:
ConfigurationException - Unable to decode standard values.

SMILA (incubation) API documentation