cookxml.core.converter
Class DocumentElementConverter

java.lang.Object
  extended by cookxml.core.converter.DocumentElementConverter
All Implemented Interfaces:
Converter

public class DocumentElementConverter
extends Object
implements Converter

Convert a string into DocumentELement as if it is an include path.

Since:
CookXml 1.0
Version:
$Id: DocumentElementConverter.java 244 2007-06-07 04:29:13Z coconut $
See Also:
IncludeUtils.getElement(String, cookxml.core.DecodeEngine)

Method Summary
 Object convert(String value, cookxml.core.DecodeEngine decodeEngine)
          Convert a string value into an object type.
static Converter getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static Converter getInstance()

convert

public Object convert(String value,
                      cookxml.core.DecodeEngine decodeEngine)
               throws ConverterException
Description copied from interface: Converter
Convert a string value into an object type.

Specified by:
convert in interface Converter
Parameters:
value - the string value to be converted.
decodeEngine - the DecodeEngine to be used.
Returns:
the converted object.
Throws:
ConverterException