com.sun.xml.bind.v2.runtime
Class StAXPostInitAction
java.lang.Object
com.sun.xml.bind.v2.runtime.StAXPostInitAction
- All Implemented Interfaces:
- Runnable
final class StAXPostInitAction
- extends Object
- implements Runnable
Post-init action for MarshallerImpl
that incorporate the in-scope namespace bindings
from a StAX writer.
It's always used either with XMLStreamWriter
, XMLEventWriter
, or bare
NamespaceContext
,
but to reduce the # of classes in the runtime I wrote only one class that handles both.
Method Summary |
void |
run()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StAXPostInitAction
StAXPostInitAction(javax.xml.stream.XMLStreamWriter xsw,
XMLSerializer serializer)
StAXPostInitAction
StAXPostInitAction(javax.xml.stream.XMLEventWriter xew,
XMLSerializer serializer)
StAXPostInitAction
StAXPostInitAction(NamespaceContext nsc,
XMLSerializer serializer)
run
public void run()
- Specified by:
run
in interface Runnable