Lines Matching defs:bridge
72 private final XMLBridge bridge;
87 // this.bridge = new MarshallerBridge(context);
88 this.bridge = context.createFragmentBridge();
97 public JAXBHeader(XMLBridge bridge, Object jaxbObject) {
99 this.bridge = bridge;
101 QName tagName = bridge.getTypeInfo().tagName;
112 bridge.marshal(jaxbObject,sniffer,null);
157 // bridge marshals a fragment, so we need to add start/endDocument by ourselves
159 bridge.marshal(jaxbObject,r);
167 public <T> T readAsJAXB(Bridge<T> bridge) throws JAXBException {
168 return bridge.unmarshal(new JAXBBridgeSource(this.bridge,jaxbObject));
172 return bond.unmarshal(new JAXBBridgeSource(this.bridge,jaxbObject),null);
181 OutputStream os = bridge.supportOutputStream() ? XMLStreamWriterUtil.getOutputStream(sw) : null;
183 bridge.marshal(jaxbObject, os, sw.getNamespaceContext(), null);
185 bridge.marshal(jaxbObject,sw, null);
197 bridge.marshal(jaxbObject,header);
205 bridge.marshal(jaxbObject,contentHandler,null);