com.sun.xml.ws.spi.db
Class WrapperComposite

java.lang.Object
  extended by com.sun.xml.ws.spi.db.WrapperComposite

public class WrapperComposite
extends java.lang.Object

A JAXB Bean that works like a DOM.

This bean is bound to XML as a sequence of elements, where each element[i] is from bridges[i] (which defines the tag name and the expected type) and values[i] (which defines the actual value.)

This object allows you to treat multiple unrelated JAXB beans as a single tree. This in turn allows you to marshal this tree in one marshal method invocation, which is faster than multiple invocations of the marshal method.

The binding of this class is always known to BindingContext, so it can be used without passing anything to BindingContext.newWrapperInstace(Class). This object can be only used for marshalling, not for unmarshalling.


Field Summary
 XMLBridge[] bridges
           
 java.lang.Object[] values
           
 
Constructor Summary
WrapperComposite()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bridges

public XMLBridge[] bridges

values

public java.lang.Object[] values
Constructor Detail

WrapperComposite

public WrapperComposite()


Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.