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 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:
  • 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