org.springframework.ws.server.endpoint
Class AbstractStaxPayloadEndpoint
java.lang.Object
org.springframework.xml.transform.TransformerObjectSupport
org.springframework.ws.server.endpoint.AbstractStaxPayloadEndpoint
- Direct Known Subclasses:
- AbstractStaxEventPayloadEndpoint, AbstractStaxStreamPayloadEndpoint
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractStaxPayloadEndpoint
public AbstractStaxPayloadEndpoint()
getInputFactory
protected final XMLInputFactory getInputFactory()
- Returns an
XMLInputFactory to read XML from.
getOutputFactory
protected final XMLOutputFactory getOutputFactory()
- Returns an
XMLOutputFactory to write XML to.
createXmlInputFactory
protected XMLInputFactory createXmlInputFactory()
- 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()
- 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
Copyright © 2005-2010 The Spring Web Services Framework. All Rights Reserved.