Currently XmlMapper has convenience overrides for readValue() and writeValue() methods that take Stax reader/writer (XmlStreamReader, XmlStreamWriter), but no factory methods for creating generators or parsers -- these do exist in XmlFactory so it would be easy to delegate (plus they are actually needed for readValue()/writeValue() overrides).
Currently
XmlMapper
has convenience overrides forreadValue()
andwriteValue()
methods that take Stax reader/writer (XmlStreamReader
,XmlStreamWriter
), but no factory methods for creating generators or parsers -- these do exist inXmlFactory
so it would be easy to delegate (plus they are actually needed forreadValue()
/writeValue()
overrides).So let's add overloads.