Java Code Examples for com.sun.xml.internal.ws.model.ParameterImpl#getName()
The following examples show how to use
com.sun.xml.internal.ws.model.ParameterImpl#getName() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: BodyBuilder.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
/** * Creates a {@link BodyBuilder} from a {@link WrapperParameter}. */ DocLit(WrapperParameter wp, SOAPVersion soapVersion, ValueGetterFactory getter) { super(wp, soapVersion, getter); bindingContext = wp.getOwner().getBindingContext(); wrapper = (Class)wp.getXMLBridge().getTypeInfo().type; dynamicWrapper = WrapperComposite.class.equals(wrapper); parameterBridges = new XMLBridge[children.size()]; accessors = new PropertyAccessor[children.size()]; for( int i=0; i<accessors.length; i++ ) { ParameterImpl p = children.get(i); QName name = p.getName(); if (dynamicWrapper) { parameterBridges[i] = children.get(i).getInlinedRepeatedElementBridge(); if (parameterBridges[i] == null) parameterBridges[i] = children.get(i).getXMLBridge(); } else { try { accessors[i] = p.getOwner().getBindingContext().getElementPropertyAccessor( wrapper, name.getNamespaceURI(), name.getLocalPart() ); } catch (JAXBException e) { throw new WebServiceException( // TODO: i18n wrapper+" do not have a property of the name "+name,e); } } } }
Example 2
Source File: BodyBuilder.java From openjdk-8-source with GNU General Public License v2.0 | 6 votes |
/** * Creates a {@link BodyBuilder} from a {@link WrapperParameter}. */ DocLit(WrapperParameter wp, SOAPVersion soapVersion, ValueGetterFactory getter) { super(wp, soapVersion, getter); bindingContext = wp.getOwner().getBindingContext(); wrapper = (Class)wp.getXMLBridge().getTypeInfo().type; dynamicWrapper = WrapperComposite.class.equals(wrapper); parameterBridges = new XMLBridge[children.size()]; accessors = new PropertyAccessor[children.size()]; for( int i=0; i<accessors.length; i++ ) { ParameterImpl p = children.get(i); QName name = p.getName(); if (dynamicWrapper) { parameterBridges[i] = children.get(i).getInlinedRepeatedElementBridge(); if (parameterBridges[i] == null) parameterBridges[i] = children.get(i).getXMLBridge(); } else { try { accessors[i] = p.getOwner().getBindingContext().getElementPropertyAccessor( wrapper, name.getNamespaceURI(), name.getLocalPart() ); } catch (JAXBException e) { throw new WebServiceException( // TODO: i18n wrapper+" do not have a property of the name "+name,e); } } } }
Example 3
Source File: BodyBuilder.java From hottub with GNU General Public License v2.0 | 6 votes |
/** * Creates a {@link BodyBuilder} from a {@link WrapperParameter}. */ DocLit(WrapperParameter wp, SOAPVersion soapVersion, ValueGetterFactory getter) { super(wp, soapVersion, getter); bindingContext = wp.getOwner().getBindingContext(); wrapper = (Class)wp.getXMLBridge().getTypeInfo().type; dynamicWrapper = WrapperComposite.class.equals(wrapper); parameterBridges = new XMLBridge[children.size()]; accessors = new PropertyAccessor[children.size()]; for( int i=0; i<accessors.length; i++ ) { ParameterImpl p = children.get(i); QName name = p.getName(); if (dynamicWrapper) { parameterBridges[i] = children.get(i).getInlinedRepeatedElementBridge(); if (parameterBridges[i] == null) parameterBridges[i] = children.get(i).getXMLBridge(); } else { try { accessors[i] = p.getOwner().getBindingContext().getElementPropertyAccessor( wrapper, name.getNamespaceURI(), name.getLocalPart() ); } catch (JAXBException e) { throw new WebServiceException( // TODO: i18n wrapper+" do not have a property of the name "+name,e); } } } }
Example 4
Source File: BodyBuilder.java From openjdk-jdk9 with GNU General Public License v2.0 | 6 votes |
/** * Creates a {@link BodyBuilder} from a {@link WrapperParameter}. */ DocLit(WrapperParameter wp, SOAPVersion soapVersion, ValueGetterFactory getter) { super(wp, soapVersion, getter); bindingContext = wp.getOwner().getBindingContext(); wrapper = (Class)wp.getXMLBridge().getTypeInfo().type; dynamicWrapper = WrapperComposite.class.equals(wrapper); parameterBridges = new XMLBridge[children.size()]; accessors = new PropertyAccessor[children.size()]; for( int i=0; i<accessors.length; i++ ) { ParameterImpl p = children.get(i); QName name = p.getName(); if (dynamicWrapper) { parameterBridges[i] = children.get(i).getInlinedRepeatedElementBridge(); if (parameterBridges[i] == null) parameterBridges[i] = children.get(i).getXMLBridge(); } else { try { accessors[i] = p.getOwner().getBindingContext().getElementPropertyAccessor( wrapper, name.getNamespaceURI(), name.getLocalPart() ); } catch (JAXBException e) { throw new WebServiceException( // TODO: i18n wrapper+" do not have a property of the name "+name,e); } } } }
Example 5
Source File: BodyBuilder.java From openjdk-8 with GNU General Public License v2.0 | 6 votes |
/** * Creates a {@link BodyBuilder} from a {@link WrapperParameter}. */ DocLit(WrapperParameter wp, SOAPVersion soapVersion, ValueGetterFactory getter) { super(wp, soapVersion, getter); bindingContext = wp.getOwner().getBindingContext(); wrapper = (Class)wp.getXMLBridge().getTypeInfo().type; dynamicWrapper = WrapperComposite.class.equals(wrapper); parameterBridges = new XMLBridge[children.size()]; accessors = new PropertyAccessor[children.size()]; for( int i=0; i<accessors.length; i++ ) { ParameterImpl p = children.get(i); QName name = p.getName(); if (dynamicWrapper) { parameterBridges[i] = children.get(i).getInlinedRepeatedElementBridge(); if (parameterBridges[i] == null) parameterBridges[i] = children.get(i).getXMLBridge(); } else { try { accessors[i] = p.getOwner().getBindingContext().getElementPropertyAccessor( wrapper, name.getNamespaceURI(), name.getLocalPart() ); } catch (JAXBException e) { throw new WebServiceException( // TODO: i18n wrapper+" do not have a property of the name "+name,e); } } } }
Example 6
Source File: BodyBuilder.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
/** * Creates a {@link BodyBuilder} from a {@link WrapperParameter}. */ DocLit(WrapperParameter wp, SOAPVersion soapVersion, ValueGetterFactory getter) { super(wp, soapVersion, getter); bindingContext = wp.getOwner().getBindingContext(); wrapper = (Class)wp.getXMLBridge().getTypeInfo().type; dynamicWrapper = WrapperComposite.class.equals(wrapper); parameterBridges = new XMLBridge[children.size()]; accessors = new PropertyAccessor[children.size()]; for( int i=0; i<accessors.length; i++ ) { ParameterImpl p = children.get(i); QName name = p.getName(); if (dynamicWrapper) { parameterBridges[i] = children.get(i).getInlinedRepeatedElementBridge(); if (parameterBridges[i] == null) parameterBridges[i] = children.get(i).getXMLBridge(); } else { try { accessors[i] = p.getOwner().getBindingContext().getElementPropertyAccessor( wrapper, name.getNamespaceURI(), name.getLocalPart() ); } catch (JAXBException e) { throw new WebServiceException( // TODO: i18n wrapper+" do not have a property of the name "+name,e); } } } }
Example 7
Source File: ValueSetter.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
AsyncBeanValueSetter(ParameterImpl p, Class wrapper) { QName name = p.getName(); try { accessor = p.getOwner().getBindingContext().getElementPropertyAccessor( wrapper, name.getNamespaceURI(), name.getLocalPart() ); } catch (JAXBException e) { throw new WebServiceException( // TODO: i18n wrapper+" do not have a property of the name "+name,e); } }
Example 8
Source File: ValueSetter.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
AsyncBeanValueSetter(ParameterImpl p, Class wrapper) { QName name = p.getName(); try { accessor = p.getOwner().getBindingContext().getElementPropertyAccessor( wrapper, name.getNamespaceURI(), name.getLocalPart() ); } catch (JAXBException e) { throw new WebServiceException( // TODO: i18n wrapper+" do not have a property of the name "+name,e); } }
Example 9
Source File: EndpointResponseMessageBuilder.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
/** * Creates a {@link EndpointResponseMessageBuilder} from a {@link WrapperParameter}. */ public DocLit(WrapperParameter wp, SOAPVersion soapVersion) { super(wp, soapVersion); bindingContext = wp.getOwner().getBindingContext(); wrapper = (Class)wp.getXMLBridge().getTypeInfo().type; dynamicWrapper = WrapperComposite.class.equals(wrapper); children = wp.getWrapperChildren(); parameterBridges = new XMLBridge[children.size()]; accessors = new PropertyAccessor[children.size()]; for( int i=0; i<accessors.length; i++ ) { ParameterImpl p = children.get(i); QName name = p.getName(); if (dynamicWrapper) { parameterBridges[i] = children.get(i).getInlinedRepeatedElementBridge(); if (parameterBridges[i] == null) parameterBridges[i] = children.get(i).getXMLBridge(); } else { try { accessors[i] = (dynamicWrapper) ? null : p.getOwner().getBindingContext().getElementPropertyAccessor( wrapper, name.getNamespaceURI(), name.getLocalPart() ); } catch (JAXBException e) { throw new WebServiceException( // TODO: i18n wrapper+" do not have a property of the name "+name,e); } } } }
Example 10
Source File: ValueSetter.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
AsyncBeanValueSetter(ParameterImpl p, Class wrapper) { QName name = p.getName(); try { accessor = p.getOwner().getBindingContext().getElementPropertyAccessor( wrapper, name.getNamespaceURI(), name.getLocalPart() ); } catch (JAXBException e) { throw new WebServiceException( // TODO: i18n wrapper+" do not have a property of the name "+name,e); } }
Example 11
Source File: ValueSetter.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
AsyncBeanValueSetter(ParameterImpl p, Class wrapper) { QName name = p.getName(); try { accessor = p.getOwner().getBindingContext().getElementPropertyAccessor( wrapper, name.getNamespaceURI(), name.getLocalPart() ); } catch (JAXBException e) { throw new WebServiceException( // TODO: i18n wrapper+" do not have a property of the name "+name,e); } }
Example 12
Source File: EndpointResponseMessageBuilder.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** * Creates a {@link EndpointResponseMessageBuilder} from a {@link WrapperParameter}. */ public DocLit(WrapperParameter wp, SOAPVersion soapVersion) { super(wp, soapVersion); bindingContext = wp.getOwner().getBindingContext(); wrapper = (Class)wp.getXMLBridge().getTypeInfo().type; dynamicWrapper = WrapperComposite.class.equals(wrapper); children = wp.getWrapperChildren(); parameterBridges = new XMLBridge[children.size()]; accessors = new PropertyAccessor[children.size()]; for( int i=0; i<accessors.length; i++ ) { ParameterImpl p = children.get(i); QName name = p.getName(); if (dynamicWrapper) { parameterBridges[i] = children.get(i).getInlinedRepeatedElementBridge(); if (parameterBridges[i] == null) parameterBridges[i] = children.get(i).getXMLBridge(); } else { try { accessors[i] = (dynamicWrapper) ? null : p.getOwner().getBindingContext().getElementPropertyAccessor( wrapper, name.getNamespaceURI(), name.getLocalPart() ); } catch (JAXBException e) { throw new WebServiceException( // TODO: i18n wrapper+" do not have a property of the name "+name,e); } } } }
Example 13
Source File: ValueSetter.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
AsyncBeanValueSetter(ParameterImpl p, Class wrapper) { QName name = p.getName(); try { accessor = p.getOwner().getBindingContext().getElementPropertyAccessor( wrapper, name.getNamespaceURI(), name.getLocalPart() ); } catch (JAXBException e) { throw new WebServiceException( // TODO: i18n wrapper+" do not have a property of the name "+name,e); } }
Example 14
Source File: ValueSetter.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
AsyncBeanValueSetter(ParameterImpl p, Class wrapper) { QName name = p.getName(); try { accessor = p.getOwner().getBindingContext().getElementPropertyAccessor( wrapper, name.getNamespaceURI(), name.getLocalPart() ); } catch (JAXBException e) { throw new WebServiceException( // TODO: i18n wrapper+" do not have a property of the name "+name,e); } }
Example 15
Source File: EndpointResponseMessageBuilder.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
/** * Creates a {@link EndpointResponseMessageBuilder} from a {@link WrapperParameter}. */ public DocLit(WrapperParameter wp, SOAPVersion soapVersion) { super(wp, soapVersion); bindingContext = wp.getOwner().getBindingContext(); wrapper = (Class)wp.getXMLBridge().getTypeInfo().type; dynamicWrapper = WrapperComposite.class.equals(wrapper); children = wp.getWrapperChildren(); parameterBridges = new XMLBridge[children.size()]; accessors = new PropertyAccessor[children.size()]; for( int i=0; i<accessors.length; i++ ) { ParameterImpl p = children.get(i); QName name = p.getName(); if (dynamicWrapper) { parameterBridges[i] = children.get(i).getInlinedRepeatedElementBridge(); if (parameterBridges[i] == null) parameterBridges[i] = children.get(i).getXMLBridge(); } else { try { accessors[i] = (dynamicWrapper) ? null : p.getOwner().getBindingContext().getElementPropertyAccessor( wrapper, name.getNamespaceURI(), name.getLocalPart() ); } catch (JAXBException e) { throw new WebServiceException( // TODO: i18n wrapper+" do not have a property of the name "+name,e); } } } }
Example 16
Source File: ValueSetter.java From hottub with GNU General Public License v2.0 | 5 votes |
AsyncBeanValueSetter(ParameterImpl p, Class wrapper) { QName name = p.getName(); try { accessor = p.getOwner().getBindingContext().getElementPropertyAccessor( wrapper, name.getNamespaceURI(), name.getLocalPart() ); } catch (JAXBException e) { throw new WebServiceException( // TODO: i18n wrapper+" do not have a property of the name "+name,e); } }
Example 17
Source File: EndpointResponseMessageBuilder.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
/** * Creates a {@link EndpointResponseMessageBuilder} from a {@link WrapperParameter}. */ public DocLit(WrapperParameter wp, SOAPVersion soapVersion) { super(wp, soapVersion); bindingContext = wp.getOwner().getBindingContext(); wrapper = (Class)wp.getXMLBridge().getTypeInfo().type; dynamicWrapper = WrapperComposite.class.equals(wrapper); children = wp.getWrapperChildren(); parameterBridges = new XMLBridge[children.size()]; accessors = new PropertyAccessor[children.size()]; for( int i=0; i<accessors.length; i++ ) { ParameterImpl p = children.get(i); QName name = p.getName(); if (dynamicWrapper) { parameterBridges[i] = children.get(i).getInlinedRepeatedElementBridge(); if (parameterBridges[i] == null) parameterBridges[i] = children.get(i).getXMLBridge(); } else { try { accessors[i] = (dynamicWrapper) ? null : p.getOwner().getBindingContext().getElementPropertyAccessor( wrapper, name.getNamespaceURI(), name.getLocalPart() ); } catch (JAXBException e) { throw new WebServiceException( // TODO: i18n wrapper+" do not have a property of the name "+name,e); } } } }
Example 18
Source File: EndpointResponseMessageBuilder.java From hottub with GNU General Public License v2.0 | 5 votes |
/** * Creates a {@link EndpointResponseMessageBuilder} from a {@link WrapperParameter}. */ public DocLit(WrapperParameter wp, SOAPVersion soapVersion) { super(wp, soapVersion); bindingContext = wp.getOwner().getBindingContext(); wrapper = (Class)wp.getXMLBridge().getTypeInfo().type; dynamicWrapper = WrapperComposite.class.equals(wrapper); children = wp.getWrapperChildren(); parameterBridges = new XMLBridge[children.size()]; accessors = new PropertyAccessor[children.size()]; for( int i=0; i<accessors.length; i++ ) { ParameterImpl p = children.get(i); QName name = p.getName(); if (dynamicWrapper) { parameterBridges[i] = children.get(i).getInlinedRepeatedElementBridge(); if (parameterBridges[i] == null) parameterBridges[i] = children.get(i).getXMLBridge(); } else { try { accessors[i] = (dynamicWrapper) ? null : p.getOwner().getBindingContext().getElementPropertyAccessor( wrapper, name.getNamespaceURI(), name.getLocalPart() ); } catch (JAXBException e) { throw new WebServiceException( // TODO: i18n wrapper+" do not have a property of the name "+name,e); } } } }
Example 19
Source File: ValueSetter.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
AsyncBeanValueSetter(ParameterImpl p, Class wrapper) { QName name = p.getName(); try { accessor = p.getOwner().getBindingContext().getElementPropertyAccessor( wrapper, name.getNamespaceURI(), name.getLocalPart() ); } catch (JAXBException e) { throw new WebServiceException( // TODO: i18n wrapper+" do not have a property of the name "+name,e); } }
Example 20
Source File: EndpointResponseMessageBuilder.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** * Creates a {@link EndpointResponseMessageBuilder} from a {@link WrapperParameter}. */ public DocLit(WrapperParameter wp, SOAPVersion soapVersion) { super(wp, soapVersion); bindingContext = wp.getOwner().getBindingContext(); wrapper = (Class)wp.getXMLBridge().getTypeInfo().type; dynamicWrapper = WrapperComposite.class.equals(wrapper); children = wp.getWrapperChildren(); parameterBridges = new XMLBridge[children.size()]; accessors = new PropertyAccessor[children.size()]; for( int i=0; i<accessors.length; i++ ) { ParameterImpl p = children.get(i); QName name = p.getName(); if (dynamicWrapper) { parameterBridges[i] = children.get(i).getInlinedRepeatedElementBridge(); if (parameterBridges[i] == null) parameterBridges[i] = children.get(i).getXMLBridge(); } else { try { accessors[i] = (dynamicWrapper) ? null : p.getOwner().getBindingContext().getElementPropertyAccessor( wrapper, name.getNamespaceURI(), name.getLocalPart() ); } catch (JAXBException e) { throw new WebServiceException( // TODO: i18n wrapper+" do not have a property of the name "+name,e); } } } }