public void write(Object obj, MessagePartInfo part, XMLStreamWriter output) { if (obj == null) { return; } super.write(obj, part, output); }
public Object read(MessagePartInfo part, Node input) { return read(input); }
public void write(Object obj, MessagePartInfo part, Node output) { write(obj, output); }
@SuppressWarnings("unchecked") public <T> DataReader<T> createReader(Class<T> cls) { if (cls == XMLStreamReader.class) { return (DataReader<T>) new XMLStreamDataReader(preferred); } else if (cls == Node.class) { return (DataReader<T>) new NodeDataReader(); } else { throw new UnsupportedOperationException("The type " + cls.getName() + " is not supported."); } }
@SuppressWarnings("unchecked") public <T> DataWriter<T> createWriter(Class<T> cls) { if (cls == XMLStreamWriter.class) { return (DataWriter<T>) new XMLStreamDataWriter(); } else if (cls == Node.class) { return (DataWriter<T>) new NodeDataWriter(); } throw new UnsupportedOperationException("The type " + cls.getName() + " is not supported."); }
protected final void initConfiguration(JaxWsImplementorInfo ii) { if (ii.isWebServiceProvider()) { jaxWsConfiguration = new WebServiceProviderConfiguration(); jaxWsConfiguration.setServiceFactory(this); getServiceConfigurations().add(0, jaxWsConfiguration); setWrapped(false); setDataBinding(new SourceDataBinding()); setMethodDispatcher(new JAXWSProviderMethodDispatcher(implInfo)); } else { jaxWsConfiguration = new JaxWsServiceConfiguration(); jaxWsConfiguration.setServiceFactory(this); getServiceConfigurations().add(0, jaxWsConfiguration); Class<?> seiClass = ii.getEndpointClass(); if (seiClass != null && seiClass.getPackage() != null) { XmlSchema schema = seiClass.getPackage().getAnnotation(XmlSchema.class); if (schema != null && XmlNsForm.QUALIFIED.equals(schema.elementFormDefault())) { setQualifyWrapperSchema(true); } } setMethodDispatcher(new JAXWSMethodDispatcher(implInfo)); } loadWSFeatureAnnotation(ii.getSEIClass(), ii.getImplementorClass()); }
@SuppressWarnings("unchecked") @Override public <T> DataReader<T> createReader(Class<T> cls) { if (cls == XMLStreamReader.class) { return (DataReader<T>) new XMLStreamDataReader(); } else if (cls == Node.class) { return (DataReader<T>) new NodeDataReader(); } else { throw new UnsupportedOperationException("The type " + cls.getName() + " is not supported."); } }
@SuppressWarnings("unchecked") public <T> DataWriter<T> createWriter(Class<T> cls) { if (cls == XMLStreamWriter.class) { return (DataWriter<T>) new XMLStreamDataWriter(); } else if (cls == Node.class) { return (DataWriter<T>) new NodeDataWriter(); } else { throw new UnsupportedOperationException("The type " + cls.getName() + " is not supported."); } }
public void write(Object obj, MessagePartInfo part, XMLStreamWriter output) { write(obj, output); }
public Object read(MessagePartInfo part, Node input) { return read(input); }
public void write(Object obj, MessagePartInfo part, Node output) { write(obj, output); }
db = new JAXBDataBinding(context); } else { db = new SourceDataBinding(type);
@SuppressWarnings("unchecked") public <T> DataReader<T> createReader(Class<T> cls) { if (cls == XMLStreamReader.class) { return (DataReader<T>) new XMLStreamDataReader(preferred); } else if (cls == Node.class) { return (DataReader<T>) new NodeDataReader(); } else { throw new UnsupportedOperationException("The type " + cls.getName() + " is not supported."); } }
public void write(Object obj, MessagePartInfo part, XMLStreamWriter output) { write(obj, output); }
public Object read(MessagePartInfo part, Node input) { return read(input); }
public void write(Object obj, MessagePartInfo part, Node output) { write(obj, output); }
public void write(Object obj, MessagePartInfo part, XMLStreamWriter output) { write(obj, output); }
public Object read(MessagePartInfo part, Node input) { return read(input); }
public void write(Object obj, MessagePartInfo part, Node output) { write(obj, output); }
public void write(Object obj, MessagePartInfo part, XMLStreamWriter output) { write(obj, output); }