public class AddRootSource extends StreamSourceDelegate
JsonStreamSource.Value
FALSE, NULL, TRUE
Constructor and Description |
---|
AddRootSource(JsonStreamSource delegate,
javax.xml.namespace.QName root,
char namespaceSeparator) |
Modifier and Type | Method and Description |
---|---|
void |
endObject()
Consume
JsonStreamToken.END_OBJECT token. |
java.lang.String |
name()
Consume
JsonStreamToken.NAME token. |
JsonStreamToken |
peek()
Peek next token.
|
void |
startObject()
Consume
JsonStreamToken.START_OBJECT token. |
JsonStreamSource.Value |
value()
Consume
JsonStreamToken.VALUE token. |
close, copy, endArray, getCharacterOffset, getColumnNumber, getLineNumber, getPublicId, getSystemId, startArray
public AddRootSource(JsonStreamSource delegate, javax.xml.namespace.QName root, char namespaceSeparator)
public java.lang.String name() throws java.io.IOException
JsonStreamSource
JsonStreamToken.NAME
token.name
in interface JsonStreamSource
name
in class StreamSourceDelegate
java.io.IOException
public JsonStreamSource.Value value() throws java.io.IOException
JsonStreamSource
JsonStreamToken.VALUE
token.value
in interface JsonStreamSource
value
in class StreamSourceDelegate
java.io.IOException
public void startObject() throws java.io.IOException
JsonStreamSource
JsonStreamToken.START_OBJECT
token.startObject
in interface JsonStreamSource
startObject
in class StreamSourceDelegate
java.io.IOException
public void endObject() throws java.io.IOException
JsonStreamSource
JsonStreamToken.END_OBJECT
token.endObject
in interface JsonStreamSource
endObject
in class StreamSourceDelegate
java.io.IOException
public JsonStreamToken peek() throws java.io.IOException
JsonStreamSource
peek
in interface JsonStreamSource
peek
in class StreamSourceDelegate
java.io.IOException
Copyright © 2005-2022 Apache Software Foundation. All Rights Reserved.