Searched refs:JAXBElement (Results 1 - 25 of 34) sorted by relevance

12

/openjdk7/jaxws/src/share/jaxws_classes/javax/xml/bind/
H A DJAXBIntrospector.java52 * <li>It is an instance of <code>javax.xml.bind.JAXBElement</code>.</li>
76 * a javax.xml.bind.JAXBElement instance or an instance of
84 if (jaxbElement instanceof JAXBElement) {
85 return ((JAXBElement)jaxbElement).getValue();
H A DJAXBElement.java64 public class JAXBElement<T> implements Serializable { class in inherits:Serializable
106 public JAXBElement(QName name, method in class:JAXBElement
122 * This is just a convenience method for <tt>new JAXBElement(name,declaredType,GlobalScope.class,value)</tt>
124 public JAXBElement(QName name, Class<T> declaredType, T value ) { method in class:JAXBElement
H A DUnmarshaller.java216 * using that JAXB mapped class as the value of a {@link JAXBElement}.
241 * These methods always return a <tt>JAXBElement&lt;declaredType></tt>
242 * instance. The table below shows how the properties of the returned JAXBElement
251 * Unmarshal By Declared Type returned JAXBElement
254 * <th>JAXBElement Property</th>
312 * JAXBElement&lt;FooType> foo = u.unmarshal( fooSubtree, FooType.class);
576 public <T> JAXBElement<T> unmarshal( org.w3c.dom.Node node, Class<T> declaredType ) throws JAXBException;
665 public <T> JAXBElement<T> unmarshal( javax.xml.transform.Source source, Class<T> declaredType )
736 public <T> JAXBElement<T> unmarshal( javax.xml.stream.XMLStreamReader reader, Class<T> declaredType ) throws JAXBException;
807 public <T> JAXBElement<
[all...]
H A DJAXB.java153 JAXBElement<T> item = getContext(type).createUnmarshaller().unmarshal(new StreamSource(xml), type);
168 JAXBElement<T> item = getContext(type).createUnmarshaller().unmarshal(toSource(xml), type);
186 JAXBElement<T> item = getContext(type).createUnmarshaller().unmarshal(toSource(xml), type);
205 JAXBElement<T> item = getContext(type).createUnmarshaller().unmarshal(toSource(xml), type);
223 JAXBElement<T> item = getContext(type).createUnmarshaller().unmarshal(toSource(xml), type);
242 JAXBElement<T> item = getContext(type).createUnmarshaller().unmarshal(toSource(xml), type);
259 JAXBElement<T> item = getContext(type).createUnmarshaller().unmarshal(toSource(xml), type);
316 * a {@link JAXBElement}, it will provide the root tag name and
340 * a {@link JAXBElement}, it will provide the root tag name and
367 * a {@link JAXBElement}, i
[all...]
H A DBinder.java144 * <a href="JAXBElement.html">JAXB Element</a> representation
158 public abstract <T> JAXBElement<T>
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/runtime/
H A DRuntimeElementInfo.java30 import javax.xml.bind.JAXBElement;
43 * Returns the custom {@link JAXBElement} class tailored this element.
45 Class<? extends JAXBElement> getType();
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/
H A DElementBeanInfoImpl.java32 import javax.xml.bind.JAXBElement;
61 public final class ElementBeanInfoImpl extends JaxBeanInfo<JAXBElement> {
67 // used to create new instances of JAXBElement.
76 private final Constructor<? extends JAXBElement> constructor;
79 super(grammar,rei,(Class<JAXBElement>)rei.getType(),true,false,true);
85 scope = rei.getScope()==null ? JAXBElement.GlobalScope.class : rei.getScope().getClazz();
88 if(type==JAXBElement.class)
103 * handling user-created {@link JAXBElement}.
110 super(grammar,null,JAXBElement.class,true,false,true);
116 this.property = new Property<JAXBElement>() {
[all...]
H A DBridgeImpl.java32 import javax.xml.bind.JAXBElement;
109 return ((JAXBElement<T>)u.unmarshal0(in,bi)).getValue();
114 return ((JAXBElement<T>)u.unmarshal0(in,bi)).getValue();
119 return ((JAXBElement<T>)u.unmarshal0(in,bi)).getValue();
124 return ((JAXBElement<T>)u.unmarshal0(n,bi)).getValue();
H A DBinderImpl.java29 import javax.xml.bind.JAXBElement;
120 public <T> JAXBElement<T> unmarshal(XmlNode xmlNode, Class<T> expectedType) throws JAXBException {
122 return (JAXBElement)associativeUnmarshal(xmlNode,true,expectedType);
190 jaxbObject = new JAXBElement(new QName(e.getNamespaceURI(),e.getLocalName()),bi.jaxbType,jaxbObject);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/unmarshaller/
H A DValuePropertyLoader.java28 import javax.xml.bind.JAXBElement;
57 if(state.prev.target instanceof JAXBElement) {
60 // (I suppose JAXBElement indicates this
H A DXsiNilLoader.java30 import javax.xml.bind.JAXBElement;
64 // see issues 6759703 and 565 - need to preserve attributes even if the element is nil; only when the type is stored in JAXBElement
65 if (!(hasOtherAttributes && (state.prev.target instanceof JAXBElement))) {
H A DUnmarshallerImpl.java32 import javax.xml.bind.JAXBElement;
178 protected <T> JAXBElement<T> unmarshal( XMLReader reader, InputSource source, Class<T> expectedType ) throws JAXBException {
181 return (JAXBElement)unmarshal0(reader,source,getBeanInfo(expectedType));
224 public <T> JAXBElement<T> unmarshal( Source source, Class<T> expectedType ) throws JAXBException {
285 public <T> JAXBElement<T> unmarshal(Node node, Class<T> expectedType) throws JAXBException {
288 return (JAXBElement)unmarshal0(node,getBeanInfo(expectedType));
331 public <T> JAXBElement<T> unmarshal(XMLStreamReader reader, Class<T> expectedType) throws JAXBException {
334 return (JAXBElement)unmarshal0(reader,getBeanInfo(expectedType));
366 public <T> JAXBElement<T> unmarshal(XMLEventReader reader, Class<T> expectedType) throws JAXBException {
369 return (JAXBElement)unmarshal
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/javax/xml/bind/annotation/
H A DXmlMixed.java36 import javax.xml.bind.JAXBElement;
52 * {@link JAXBElement} or instances with a class that is annotated with
77 * JAXBElement&lt;LetterBody> createLetterBody(LetterBody value);
78 * JAXBElement&lt;String> createLetterBodyName(String value);
79 * JAXBElement&lt;BigInteger> createLetterBodyQuantity(BigInteger value);
80 * JAXBElement&lt;String> createLetterBodyProductName(String value);
92 * &#64;XmlElementRef(name="productName", type=JAXBElement.class),
93 * &#64;XmlElementRef(name="quantity", type=JAXBElement.class),
94 * &#64;XmlElementRef(name="name", type=JAXBElement.class)})
109 * JAXBElement
[all...]
H A DXmlAnyElement.java31 import javax.xml.bind.JAXBElement;
189 * &#64;{@link XmlElementRef}(name="a", type="JAXBElement.class")
190 * &#64;{@link XmlElementRef}(name="b", type="JAXBElement.class")
199 * {@link JAXBElement}&lt;Integer> createFooA( Integer i ) { ... }
202 * {@link JAXBElement}&lt;Integer> createFooB( Integer i ) { ... }
209 * &lt;a>1</a> // this will unmarshal to a {@link JAXBElement} instance whose value is 1.
211 * &lt;b>3</b> // this will unmarshal to a {@link JAXBElement} instance whose value is 1.
270 * the element to a {@link JAXBElement}, with the unknown element name and
271 * the JAXBElement value is set to an instance of the JAXB mapping of the
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/core/
H A DElementInfo.java30 import javax.xml.bind.JAXBElement;
33 * A particular use (specialization) of {@link JAXBElement}.
54 * Normally, this is the T of {@code JAXBElement<T>}.
65 * T of {@code JAXBElement<T>}.
75 * Returns the representation for {@link JAXBElement}&lt;<i>contentInMemoryType</i>&gt;.
/openjdk7/jaxws/src/share/jaxws_classes/javax/xml/bind/helpers/
H A DAbstractUnmarshallerImpl.java38 import javax.xml.bind.JAXBElement;
382 public <T> JAXBElement<T> unmarshal(Node node, Class<T> expectedType) throws JAXBException {
386 public <T> JAXBElement<T> unmarshal(Source source, Class<T> expectedType) throws JAXBException {
390 public <T> JAXBElement<T> unmarshal(XMLStreamReader reader, Class<T> expectedType) throws JAXBException {
394 public <T> JAXBElement<T> unmarshal(XMLEventReader reader, Class<T> expectedType) throws JAXBException {
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/api/impl/s2j/
H A DElementAdapter.java28 import javax.xml.bind.JAXBElement;
51 * {@link JAXBElement}.
54 * That means if a value is requested, we unwrap JAXBElement
56 * JAXBElement, etc.
60 * (or else it won't be {@link JAXBElement),
118 * Wraps a type value into a {@link JAXBElement}.
123 return JExpr._new(cm.ref(JAXBElement.class))
H A DElementSingleAdapter.java28 import javax.xml.bind.JAXBElement;
45 * {@link ElementAdapter} that works with a single {@link JAXBElement}.
83 // [core.fromRawValue](new JAXBElement(tagName, TYPE, $var));
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/message/jaxb/
H A DJAXBHeader.java44 import javax.xml.bind.JAXBElement;
86 if (jaxbObject instanceof JAXBElement) {
87 JAXBElement e = (JAXBElement) jaxbObject;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/generator/bean/
H A DElementOutlineImpl.java29 import javax.xml.bind.JAXBElement;
67 cm.ref(JAXBElement.class).narrow(
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/
H A DRuntimeElementInfoImpl.java35 import javax.xml.bind.JAXBElement;
124 public Class<? extends JAXBElement> getType() {
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/
H A DHeaders.java42 import javax.xml.bind.JAXBElement;
100 return create(soapVersion,m,new JAXBElement(tagName,o.getClass(),o));
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/property/
H A DProperty.java31 import javax.xml.bind.JAXBElement;
69 * this is only used for {@link JaxBeanInfo} for {@link JAXBElement}s.
H A DSingleElementNodeProperty.java54 import javax.xml.bind.JAXBElement;
132 boolean addNilDecl = (o instanceof JAXBElement) && ((JAXBElement)o).isNil();
H A DSingleReferenceNodeProperty.java31 import javax.xml.bind.JAXBElement;
127 // a JAXBElement. We need to handle JAXBElement for JAX-WS
131 if(r instanceof JAXBElement) {
132 return ((JAXBElement)r).getValue();

Completed in 294 milliseconds

12