Spring Web Services Framework

org.springframework.ws.server.endpoint
Class AbstractStaxPayloadEndpoint

java.lang.Object
  extended by org.springframework.xml.transform.TransformerObjectSupport
      extended by org.springframework.ws.server.endpoint.AbstractStaxPayloadEndpoint
Direct Known Subclasses:
AbstractStaxEventPayloadEndpoint, AbstractStaxStreamPayloadEndpoint

Deprecated. as of Spring Web Services 2.0, in favor of annotated endpoints

@Deprecated
public abstract class AbstractStaxPayloadEndpoint
extends TransformerObjectSupport

Abstract base class for endpoints use StAX. Provides an XMLInputFactory and an XMLOutputFactory.

Since:
1.0.0
Author:
Arjen Poutsma
See Also:
XMLInputFactory, XMLOutputFactory

Field Summary
 
Fields inherited from class org.springframework.xml.transform.TransformerObjectSupport
logger
 
Constructor Summary
AbstractStaxPayloadEndpoint()
          Deprecated.  
 
Method Summary
protected  XMLInputFactory createXmlInputFactory()
          Deprecated. Create a XMLInputFactory that this endpoint will use to create XMLStreamReaders or XMLEventReader.
protected  XMLOutputFactory createXmlOutputFactory()
          Deprecated. Create a XMLOutputFactory that this endpoint will use to create XMLStreamWriterss or XMLEventWriters.
protected  XMLInputFactory getInputFactory()
          Deprecated. Returns an XMLInputFactory to read XML from.
protected  XMLOutputFactory getOutputFactory()
          Deprecated. Returns an XMLOutputFactory to write XML to.
 
Methods inherited from class org.springframework.xml.transform.TransformerObjectSupport
createTransformer, getTransformerFactory, newTransformerFactory, setTransformerFactoryClass, transform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractStaxPayloadEndpoint

public AbstractStaxPayloadEndpoint()
Deprecated. 
Method Detail

getInputFactory

protected final XMLInputFactory getInputFactory()
Deprecated. 
Returns an XMLInputFactory to read XML from.


getOutputFactory

protected final XMLOutputFactory getOutputFactory()
Deprecated. 
Returns an XMLOutputFactory to write XML to.


createXmlInputFactory

protected XMLInputFactory createXmlInputFactory()
Deprecated. 
Create a XMLInputFactory that this endpoint will use to create XMLStreamReaders or XMLEventReader. Can be overridden in subclasses, adding further initialization of the factory. The resulting XMLInputFactory is cached, so this method will only be called once.

Returns:
the created XMLInputFactory

createXmlOutputFactory

protected XMLOutputFactory createXmlOutputFactory()
Deprecated. 
Create a XMLOutputFactory that this endpoint will use to create XMLStreamWriterss or XMLEventWriters. Can be overridden in subclasses, adding further initialization of the factory. The resulting XMLOutputFactory is cached, so this method will only be called once.

Returns:
the created XMLOutputFactory

Spring Web Services Framework

Copyright © 2005-2013 The Spring Web Services Framework. All Rights Reserved.