org.springframework.util.xml
Class StaxUtils.Jaxp14StaxHandler

java.lang.Object
  extended by org.springframework.util.xml.StaxUtils.Jaxp14StaxHandler
Enclosing class:
StaxUtils

private static class StaxUtils.Jaxp14StaxHandler
extends java.lang.Object

Inner class to avoid a static JAXP 1.4 dependency.


Constructor Summary
private StaxUtils.Jaxp14StaxHandler()
           
 
Method Summary
private static javax.xml.transform.Result createStaxResult(javax.xml.stream.XMLEventWriter eventWriter)
           
private static javax.xml.transform.Result createStaxResult(javax.xml.stream.XMLStreamWriter streamWriter)
           
private static javax.xml.transform.Source createStaxSource(javax.xml.stream.XMLEventReader eventReader)
           
private static javax.xml.transform.Source createStaxSource(javax.xml.stream.XMLStreamReader streamReader)
           
private static javax.xml.stream.XMLEventReader getXMLEventReader(javax.xml.transform.Source source)
           
private static javax.xml.stream.XMLEventWriter getXMLEventWriter(javax.xml.transform.Result result)
           
private static javax.xml.stream.XMLStreamReader getXMLStreamReader(javax.xml.transform.Source source)
           
private static javax.xml.stream.XMLStreamWriter getXMLStreamWriter(javax.xml.transform.Result result)
           
private static boolean isStaxResult(javax.xml.transform.Result result)
           
private static boolean isStaxSource(javax.xml.transform.Source source)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaxUtils.Jaxp14StaxHandler

private StaxUtils.Jaxp14StaxHandler()
Method Detail

createStaxSource

private static javax.xml.transform.Source createStaxSource(javax.xml.stream.XMLStreamReader streamReader)

createStaxSource

private static javax.xml.transform.Source createStaxSource(javax.xml.stream.XMLEventReader eventReader)
                                                    throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

createStaxResult

private static javax.xml.transform.Result createStaxResult(javax.xml.stream.XMLStreamWriter streamWriter)

createStaxResult

private static javax.xml.transform.Result createStaxResult(javax.xml.stream.XMLEventWriter eventWriter)

isStaxSource

private static boolean isStaxSource(javax.xml.transform.Source source)

isStaxResult

private static boolean isStaxResult(javax.xml.transform.Result result)

getXMLStreamReader

private static javax.xml.stream.XMLStreamReader getXMLStreamReader(javax.xml.transform.Source source)

getXMLEventReader

private static javax.xml.stream.XMLEventReader getXMLEventReader(javax.xml.transform.Source source)

getXMLStreamWriter

private static javax.xml.stream.XMLStreamWriter getXMLStreamWriter(javax.xml.transform.Result result)

getXMLEventWriter

private static javax.xml.stream.XMLEventWriter getXMLEventWriter(javax.xml.transform.Result result)