Class RemoveRootTarget
- java.lang.Object
-
- org.apache.synapse.commons.staxon.core.json.stream.util.StreamTargetDelegate
-
- org.apache.synapse.commons.staxon.core.json.stream.util.RemoveRootTarget
-
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
,JsonStreamTarget
public class RemoveRootTarget extends StreamTargetDelegate
-
-
Constructor Summary
Constructors Constructor Description RemoveRootTarget(JsonStreamTarget delegate, QName root, char namespaceSeparator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
endObject()
End object.void
name(String name)
Write name.void
startObject()
Start object-
Methods inherited from class org.apache.synapse.commons.staxon.core.json.stream.util.StreamTargetDelegate
close, endArray, flush, startArray, value
-
-
-
-
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 interfaceJsonStreamTarget
- Overrides:
name
in classStreamTargetDelegate
- Throws:
IOException
-
startObject
public void startObject() throws IOException
Description copied from interface:JsonStreamTarget
Start object- Specified by:
startObject
in interfaceJsonStreamTarget
- Overrides:
startObject
in classStreamTargetDelegate
- Throws:
IOException
-
endObject
public void endObject() throws IOException
Description copied from interface:JsonStreamTarget
End object.- Specified by:
endObject
in interfaceJsonStreamTarget
- Overrides:
endObject
in classStreamTargetDelegate
- Throws:
IOException
-
-