Searched refs:JAXBContext (Results 1 - 25 of 56) sorted by relevance

123

/openjdk7/jaxws/src/share/jaxws_classes/javax/xml/ws/
H A DLogicalMessage.java29 import javax.xml.bind.JAXBContext;
70 * @param context The JAXBContext that should be used to unmarshall
75 * JAXBContext to unmarshall the payload. The cause of
78 public Object getPayload(JAXBContext context);
83 * @param context The JAXBContext that should be used to marshall
88 * JAXBContext to marshall the payload. The cause of
91 public void setPayload(Object payload, JAXBContext context);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/api/
H A DJAXBModel.java30 import javax.xml.bind.JAXBContext;
42 * be used at the runtime to create a new {@link JAXBContext}.
47 * to call {@link JAXBContext#newInstance(Class[])} method. If
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/
H A Dpackage-info.java31 * This module provides code that implements {@link JAXBContext}.
128 * Model construction happens inside {@link JAXBContext#newInstance(Class[])}.
142 * The following picture illustrates how the {@link JAXBContext#newInstance(Class[])} method
154 message(U,A,"JAXBContext.newInstance()");
184 import javax.xml.bind.JAXBContext;
/openjdk7/jaxws/src/share/jaxws_classes/javax/xml/ws/handler/soap/
H A DSOAPMessageContext.java29 import javax.xml.bind.JAXBContext;
70 * @param context The JAXBContext that should be used to unmarshall the
80 * <code>JAXBContext</code> to unmarshall. The cause of
83 public Object[] getHeaders(QName header, JAXBContext context,
/openjdk7/jaxws/src/share/jaxws_classes/javax/xml/bind/
H A DJAXBContext.java38 * The <tt>JAXBContext</tt> class provides the client's entry point to the
48 * <li>{@link #newInstance(String,ClassLoader) JAXBContext.newInstance( "com.acme.foo:com.acme.bar" )} <br/>
49 * The JAXBContext instance is initialized from a list of colon
55 * <li>{@link #newInstance(Class...) JAXBContext.newInstance( com.acme.foo.Foo.class )} <br/>
56 * The JAXBContext instance is intialized with class(es)
67 * public static JAXBContext createContext( String contextPath, ClassLoader classLoader, Map&lt;String,Object> properties ) throws JAXBException
68 * public static JAXBContext createContext( Class[] classes, Map&lt;String,Object> properties ) throws JAXBException
82 * <tt>javax.xml.bind.JAXBContext</tt>, it simply has to provide a class that
103 * The <tt>JAXBContext</tt> object
112 * JAXBContext j
262 public abstract class JAXBContext { class
272 protected JAXBContext() { method in class:JAXBContext
[all...]
H A DContextFinder.java46 import static javax.xml.bind.JAXBContext.JAXB_CONTEXT_FACTORY;
56 * @see JAXBContext
102 * Determine if two types (JAXBContext in this case) will generate a ClassCastException.
116 // we don't care where the impl class is, we want to know where JAXBContext lives in the impl
118 originalType.getClassLoader().getResource("javax/xml/bind/JAXBContext.class"),
125 static JAXBContext newInstance( String contextPath,
152 static JAXBContext newInstance( String contextPath,
162 * returns a javax.xml.JAXBContext.
185 if(!(context instanceof JAXBContext)) {
187 throw handleClassCastException(context.getClass(), JAXBContext
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/runtime/
H A DJAXBContextFactory.java33 import javax.xml.bind.JAXBContext;
37 * This class implements the actual logic of {@link JAXBContext#newInstance}.
81 public static JAXBContext createContext( Class[] classes, Map properties ) throws JAXBException {
117 // package and pass them to JAXBContext.newInstance().
127 return JAXBContext.newInstance(r,properties);
134 public static JAXBContext createContext( String contextPath,
154 return JAXBContext.newInstance(classes.toArray(new Class[classes.size()]),properties);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/util/
H A DPool.java31 import javax.xml.bind.JAXBContext;
111 private final JAXBContext context;
113 public Marshaller(JAXBContext context) {
131 private final JAXBContext context;
133 public Unmarshaller(JAXBContext context) {
/openjdk7/jaxws/src/share/jaxws_classes/javax/xml/bind/util/
H A DJAXBResult.java28 import javax.xml.bind.JAXBContext;
49 * JAXBContext.newInstance("org.acme.foo") );
79 * JAXBContext to unmarshal.
81 * @param context The JAXBContext that will be used to create the
86 public JAXBResult( JAXBContext context ) throws JAXBException {
103 * it's easier and safer to pass a JAXBContext.
/openjdk7/jaxws/src/share/jaxws_classes/javax/xml/bind/annotation/
H A DXmlSeeAlso.java28 import javax.xml.bind.JAXBContext;
41 * to {@link JAXBContext}.
53 * The user would be required to create {@link JAXBContext} as
54 * <tt>JAXBContext.newInstance(Dog.class,Cat.class)</tt>
68 * This would allow you to do <tt>JAXBContext.newInstance(Animal.class)</tt>.
H A DXmlAnyElement.java30 import javax.xml.bind.JAXBContext;
254 * known to the current {@link JAXBContext}.
264 * is known to {@link JAXBContext} (for example, there's a class with
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/
H A DWsaTubeHelperImpl.java28 import javax.xml.bind.JAXBContext;
43 static final JAXBContext jc;
47 jc = JAXBContext.newInstance(ProblemAction.class,
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/v200408/
H A DWsaTubeHelperImpl.java28 import javax.xml.bind.JAXBContext;
44 static final JAXBContext jc;
48 jc = JAXBContext.newInstance(ProblemAction.class,
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/handler/
H A DLogicalMessageContextImpl.java40 import javax.xml.bind.JAXBContext;
55 private JAXBContext defaultJaxbContext;
56 public LogicalMessageContextImpl(WSBinding binding, JAXBContext defaultJAXBContext, Packet packet) {
H A DLogicalMessageImpl.java40 import javax.xml.bind.JAXBContext;
71 protected JAXBContext defaultJaxbContext;
75 public LogicalMessageImpl(JAXBContext defaultJaxbContext, Packet
109 public Object getPayload(JAXBContext context) {
114 throw new WebServiceException("JAXBContext parameter cannot be null");
130 public void setPayload(Object payload, JAXBContext context) {
166 public abstract Object getPayload(JAXBContext context);
204 public Object getPayload(JAXBContext context) {
214 private JAXBContext ctxt;
217 public JAXBLogicalMessageImpl(JAXBContext ctx
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/api/
H A DClassResolver.java28 import javax.xml.bind.JAXBContext;
44 * {@link JAXBContext#newInstance(Class...)} requires that application informs JAXB
68 * When a {@link Class} is returned, a new {@link JAXBContext} is created with
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/marshaller/
H A DNamespacePrefixMapper.java30 import javax.xml.bind.JAXBContext;
78 * If the prefix returned is "" yet the current {@link JAXBContext}
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/
H A DUsesJAXBContext.java29 import javax.xml.bind.JAXBContext;
64 * Designates the {@link JAXBContextFactory} to be used to create the {@link JAXBContext} object,
H A DMemberSubmissionEndpointReference.java33 import javax.xml.bind.JAXBContext;
67 private final static JAXBContext msjc = MemberSubmissionEndpointReference.getMSJaxbContext();
134 private static JAXBContext getMSJaxbContext() {
136 return JAXBContext.newInstance(MemberSubmissionEndpointReference.class);
138 throw new WebServiceException("Error creating JAXBContext for MemberSubmissionEndpointReference. ", e);
/openjdk7/jaxws/src/share/jaxws_classes/javax/xml/ws/spi/
H A DServiceDelegate.java34 import javax.xml.bind.JAXBContext;
434 * @see javax.xml.bind.JAXBContext
437 JAXBContext context, Service.Mode mode);
462 * @see javax.xml.bind.JAXBContext
468 JAXBContext context, Service.Mode mode, WebServiceFeature... features);
532 * @see javax.xml.bind.JAXBContext
538 JAXBContext context, Service.Mode mode,
/openjdk7/jaxws/src/share/jaxws_classes/javax/xml/ws/wsaddressing/
H A DW3CEndpointReference.java31 import javax.xml.bind.JAXBContext;
72 private final static JAXBContext w3cjc = getW3CJaxbContext();
117 private static JAXBContext getW3CJaxbContext() {
119 return JAXBContext.newInstance(W3CEndpointReference.class);
121 throw new WebServiceException("Error creating JAXBContext for W3CEndpointReference. ", e);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/
H A DClassLoaderBuilder.java35 import javax.xml.bind.JAXBContext;
60 if(JAXBContext.class.getClassLoader()==null) {
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/generator/bean/
H A DPrivateObjectFactoryGenerator.java28 import javax.xml.bind.JAXBContext;
60 JAXBContext.JAXB_CONTEXT_FACTORY,
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/client/dispatch/
H A DJAXBDispatch.java41 import javax.xml.bind.JAXBContext;
62 private final JAXBContext jaxbcontext;
65 public JAXBDispatch(QName port, JAXBContext jc, Service.Mode mode, WSServiceDelegate service, Tube pipe, BindingImpl binding, WSEndpointReference epr) {
70 public JAXBDispatch(WSPortInfo portInfo, JAXBContext jc, Service.Mode mode, BindingImpl binding, WSEndpointReference epr) {
115 // TODO: handle any JAXBContext.
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/fault/
H A DExceptionBean.java33 import javax.xml.bind.JAXBContext;
169 private static final JAXBContext JAXB_CONTEXT;
180 JAXB_CONTEXT = JAXBContext.newInstance(ExceptionBean.class);

Completed in 144 milliseconds

123