net.dpml.lang
Class ValueDecoder
java.lang.Object
net.dpml.lang.ValueDecoder
public final class ValueDecoder
- extends Object
Utility used to decode values from DOM elements.
- Version:
- 1.0.3
- Author:
- Digital Product Meta Library
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValueDecoder
public ValueDecoder()
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