ezvcard.io.scribe
Class VCardPropertyScribe.Result<T extends VCardProperty>

java.lang.Object
  extended by ezvcard.io.scribe.VCardPropertyScribe.Result<T>
Type Parameters:
T - the unmarshalled property class
Enclosing class:
VCardPropertyScribe<T extends VCardProperty>

public static class VCardPropertyScribe.Result<T extends VCardProperty>
extends Object

Represents the result of an unmarshal operation.

Author:
Michael Angstadt

Constructor Summary
VCardPropertyScribe.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

VCardPropertyScribe.Result

public VCardPropertyScribe.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 © 2012-2014 Michael Angstadt. All Rights Reserved.