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

java.lang.Object
  extended by biweekly.property.marshaller.ICalPropertyMarshaller.Result<T>
Type Parameters:
T - the unmarshalled property class
Enclosing class:
ICalPropertyMarshaller<T extends ICalProperty>

public static class ICalPropertyMarshaller.Result<T extends ICalProperty>
extends Object

Represents the result of an unmarshal operation.

Author:
Michael Angstadt

Constructor Summary
ICalPropertyMarshaller.Result(T property, List<String> warnings)
          Creates a new result.
 
Method Summary
 T getProperty()
          Gets the property object.
 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 property,
                                     List<String> warnings)
Creates a new result.

Parameters:
property - the property object
warnings - the warnings
Method Detail

getWarnings

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

Returns:
the warnings

getProperty

public T getProperty()
Gets the property object.

Returns:
the property object


Copyright © 2013 Michael Angstadt. All Rights Reserved.