Class AbstractStaxPayloadEndpoint
java.lang.Object
org.springframework.xml.transform.TransformerObjectSupport
org.springframework.ws.server.endpoint.AbstractStaxPayloadEndpoint
- Direct Known Subclasses:
AbstractStaxEventPayloadEndpoint
,AbstractStaxStreamPayloadEndpoint
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
-
Method Summary
Modifier and TypeMethodDescriptionprotected XMLInputFactory
Deprecated.Create aXMLInputFactory
that this endpoint will use to createXMLStreamReader
s orXMLEventReader
.protected XMLOutputFactory
Deprecated.Create aXMLOutputFactory
that this endpoint will use to createXMLStreamWriters
s orXMLEventWriters
.protected final XMLInputFactory
Deprecated.Returns anXMLInputFactory
to read XML from.protected final XMLOutputFactory
Deprecated.Returns anXMLOutputFactory
to write XML to.Methods inherited from class org.springframework.xml.transform.TransformerObjectSupport
createTransformer, getTransformerFactory, newTransformerFactory, setTransformerFactoryClass, transform
-
Constructor Details
-
AbstractStaxPayloadEndpoint
public AbstractStaxPayloadEndpoint()Deprecated.
-
-
Method Details
-
getInputFactory
Deprecated.Returns anXMLInputFactory
to read XML from. -
getOutputFactory
Deprecated.Returns anXMLOutputFactory
to write XML to. -
createXmlInputFactory
Deprecated.Create aXMLInputFactory
that this endpoint will use to createXMLStreamReader
s orXMLEventReader
. Can be overridden in subclasses, adding further initialization of the factory. The resultingXMLInputFactory
is cached, so this method will only be called once.- Returns:
- the created
XMLInputFactory
-
createXmlOutputFactory
Deprecated.Create aXMLOutputFactory
that this endpoint will use to createXMLStreamWriters
s orXMLEventWriters
. Can be overridden in subclasses, adding further initialization of the factory. The resultingXMLOutputFactory
is cached, so this method will only be called once.- Returns:
- the created
XMLOutputFactory
-