biweekly.property.marshaller
Class ICalPropertyMarshaller.Result<T>

java.lang.Object
  extended by biweekly.property.marshaller.ICalPropertyMarshaller.Result<T>
Type Parameters:
T - the marshalled/unmarshalled value (e.g. "String" if a property was marshalled)
Enclosing class:
ICalPropertyMarshaller<T extends ICalProperty>

public static class ICalPropertyMarshaller.Result<T>
extends Object

Represents the result of a marshal or unmarshal operation.

Author:
Michael Angstadt

Constructor Summary
ICalPropertyMarshaller.Result(T value, List<String> warnings)
          Creates a new result.
 
Method Summary
 T getValue()
          Gets the value.
 List<String> getWarnings()
          Gets the warnings.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ICalPropertyMarshaller.Result

public ICalPropertyMarshaller.Result(T value,
                                     List<String> warnings)
Creates a new result.

Parameters:
value - the value
warnings - the warnings
Method Detail

getWarnings

public List<String> getWarnings()
Gets the warnings.

Returns:
the warnings

getValue

public T getValue()
Gets the value.

Returns:
the value


Copyright © 2013 Michael Angstadt. All Rights Reserved.