Class AbstractStaxPayloadEndpoint

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

@Deprecated public abstract class AbstractStaxPayloadEndpoint extends org.springframework.xml.transform.TransformerObjectSupport
Deprecated.
as of Spring Web Services 2.0, in favor of annotated endpoints
Abstract base class for endpoints use StAX. Provides an XMLInputFactory and an XMLOutputFactory.
Since:
1.0.0
Author:
Arjen Poutsma
See Also:
  • Field Summary

    Fields inherited from class org.springframework.xml.transform.TransformerObjectSupport

    logger
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected XMLInputFactory
    Deprecated.
    Create a XMLInputFactory that this endpoint will use to create XMLStreamReaders or XMLEventReader.
    Deprecated.
    Create a XMLOutputFactory that this endpoint will use to create XMLStreamWriterss or XMLEventWriters.
    protected final XMLInputFactory
    Deprecated.
    Returns an XMLInputFactory to read XML from.
    protected final XMLOutputFactory
    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 Details

    • AbstractStaxPayloadEndpoint

      public AbstractStaxPayloadEndpoint()
      Deprecated.
  • Method Details

    • 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