Class NoStartEndDocumentStreamWriter
java.lang.Object
org.springframework.batch.item.xml.stax.NoStartEndDocumentStreamWriter
- All Implemented Interfaces:
XMLEventConsumer
,XMLEventWriter
Delegating XMLEventWriter, which ignores start and end document events, but passes
through everything else.
- Author:
- peter.zozom, Robert Kasanicky
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
add
(XMLEventReader reader) void
close()
void
flush()
void
void
setNamespaceContext
(NamespaceContext context) void
-
Field Details
-
wrappedEventWriter
-
-
Constructor Details
-
NoStartEndDocumentStreamWriter
-
-
Method Details
-
add
- Specified by:
add
in interfaceXMLEventConsumer
- Specified by:
add
in interfaceXMLEventWriter
- Throws:
XMLStreamException
-
close
- Specified by:
close
in interfaceXMLEventWriter
- Throws:
XMLStreamException
-
add
- Specified by:
add
in interfaceXMLEventWriter
- Throws:
XMLStreamException
-
flush
- Specified by:
flush
in interfaceXMLEventWriter
- Throws:
XMLStreamException
-
getNamespaceContext
- Specified by:
getNamespaceContext
in interfaceXMLEventWriter
-
getPrefix
- Specified by:
getPrefix
in interfaceXMLEventWriter
- Throws:
XMLStreamException
-
setDefaultNamespace
- Specified by:
setDefaultNamespace
in interfaceXMLEventWriter
- Throws:
XMLStreamException
-
setNamespaceContext
- Specified by:
setNamespaceContext
in interfaceXMLEventWriter
- Throws:
XMLStreamException
-
setPrefix
- Specified by:
setPrefix
in interfaceXMLEventWriter
- Throws:
XMLStreamException
-