de.odysseus.staxon.json.stream.util
Class RemoveRootTarget

java.lang.Object
  extended by de.odysseus.staxon.json.stream.util.StreamTargetDelegate
      extended by de.odysseus.staxon.json.stream.util.RemoveRootTarget
All Implemented Interfaces:
JsonStreamTarget, Closeable, Flushable

public class RemoveRootTarget
extends StreamTargetDelegate


Constructor Summary
RemoveRootTarget(JsonStreamTarget delegate, QName root, char namespaceSeparator)
           
 
Method Summary
 void endObject()
          End object.
 void name(String name)
          Write name.
 void startObject()
          Start object
 
Methods inherited from class de.odysseus.staxon.json.stream.util.StreamTargetDelegate
close, endArray, flush, startArray, value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoveRootTarget

public RemoveRootTarget(JsonStreamTarget delegate,
                        QName root,
                        char namespaceSeparator)
Method Detail

name

public void name(String name)
          throws IOException
Description copied from interface: JsonStreamTarget
Write name.

Specified by:
name in interface JsonStreamTarget
Overrides:
name in class StreamTargetDelegate
Throws:
IOException

startObject

public void startObject()
                 throws IOException
Description copied from interface: JsonStreamTarget
Start object

Specified by:
startObject in interface JsonStreamTarget
Overrides:
startObject in class StreamTargetDelegate
Throws:
IOException

endObject

public void endObject()
               throws IOException
Description copied from interface: JsonStreamTarget
End object.

Specified by:
endObject in interface JsonStreamTarget
Overrides:
endObject in class StreamTargetDelegate
Throws:
IOException


Copyright © 2011-2012. All Rights Reserved.