public T getObject() throws JiBXException, IOException {
if ((this.object == null) && (this.xmlRepresentation != null)) {
// Try to unmarshal the wrapped XML representation
IBindingFactory jibxBFact = JibxRepresentation.getBindingFactory(
this.bindingName, this.bindingClass);
IUnmarshallingContext uctx = jibxBFact.createUnmarshallingContext();
return (T) uctx.unmarshalDocument(
this.xmlRepresentation.getStream(), null);
}
return this.object;