vSphere Client SDK API Documentation : version 5.5.0.1300321

com.vmware.vise.search
Class PassthroughPropertyUnmarshaller

java.lang.Object
  extended by com.vmware.vise.search.PassthroughPropertyUnmarshaller
All Implemented Interfaces:
PropertyUnmarshaller

public final class PassthroughPropertyUnmarshaller
extends Object
implements PropertyUnmarshaller

Returns raw element xml as the property value.

See Also:
JaxbPropertyUnmarshaller

Constructor Summary
PassthroughPropertyUnmarshaller()
           
 
Method Summary
 ValueEx<Object> getValue(PropertyInfo propertyInfo, XMLStreamReader reader)
          Unmarshal and return the value of the property described by propertyInfo from the reader.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PassthroughPropertyUnmarshaller

public PassthroughPropertyUnmarshaller()
Method Detail

getValue

public ValueEx<Object> getValue(PropertyInfo propertyInfo,
                                XMLStreamReader reader)
                         throws XMLStreamException
Description copied from interface: PropertyUnmarshaller
Unmarshal and return the value of the property described by propertyInfo from the reader.

Specified by:
getValue in interface PropertyUnmarshaller
Parameters:
propertyInfo - Metadata on the property to be unmarshalled from the reader.
reader - An xml stream reader.
Returns:
A ValueEx instance containing the value of the property as well as any non-fatal exceptions (that may have occurred while getting the value) which the unmarshaller chose not to propagate but to swallow for whatever reason. By using the ValueEx instance, the unmarshaller can still report the exception(s) that occurred, thus indicating to the caller that something went wrong but not fatally. The caller is free to decide what to do with the information, e.g. it may log it. This value should never be null.
Throws:
XMLStreamException - if any XML stream specific issues are encountered while deserializing.

vSphere Client SDK API Documentation : version 5.5.0.1300321

Copyright @ 2012 VMware, Inc. All rights reserved.