net.dpml.lang
Class ValueDecoder

java.lang.Object
  extended bynet.dpml.lang.ValueDecoder

public final class ValueDecoder
extends Object

Utility used to decode values from DOM elements.

Version:
1.0.0
Author:
The Digital Product Meta Library

Constructor Summary
ValueDecoder()
           
 
Method Summary
 Value decodeValue(Element element)
          Build a single value instance from a supplied element.
 Value[] decodeValues(Element[] elements)
          Build an array of values for the supplied element array.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueDecoder

public ValueDecoder()
Method Detail

decodeValues

public Value[] decodeValues(Element[] elements)
Build an array of values for the supplied element array.

Parameters:
elements - the elements
Returns:
the resolved values

decodeValue

public Value decodeValue(Element element)
Build a single value instance from a supplied element.

Parameters:
element - the element
Returns:
the resolved value