Instances of this class is stateless and multi-thread safe. They are reentrant.
All the marshal operation generates fragments.
Subject to change without notice. @since JAXB 2.0 EA1 @author Kohsuke Kawaguchi
119120121122123124125126127
/** * @return the <code>Bridge</code> for the <code>type</code> */ public final Bridge getBridge(TypeReference type) { Bridge b = bridgeMap.get(type); assert b!=null; // we should have created Bridge for all TypeReferences known to this model return b; }
177178179180181182183184185
return types; } private void createBridgeMap(List<TypeReference> types) { for (TypeReference type : types) { Bridge bridge = jaxbContext.createBridge(type); bridgeMap.put(type, bridge); } }
273274275276277278279280
} abstract protected Throwable getProtocolException(); private Object getJAXBObject(Node jaxbBean, CheckedException ce) throws JAXBException { Bridge bridge = ce.getBridge(); return bridge.unmarshal(jaxbBean); }
122123124125126127128129130
180181182183184185186187188
282283284285286287288289