public class AddRootSource extends StreamSourceDelegate
JsonStreamSource.Value
FALSE, NULL, TRUE
Constructor and Description |
---|
AddRootSource(JsonStreamSource delegate,
QName root,
char namespaceSeparator) |
Modifier and Type | Method and Description |
---|---|
void |
endObject()
Consume
JsonStreamToken.END_OBJECT token. |
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, QName root, char namespaceSeparator)
public String name() throws IOException
JsonStreamSource
JsonStreamToken.NAME
token.name
in interface JsonStreamSource
name
in class StreamSourceDelegate
IOException
public JsonStreamSource.Value value() throws IOException
JsonStreamSource
JsonStreamToken.VALUE
token.value
in interface JsonStreamSource
value
in class StreamSourceDelegate
IOException
public void startObject() throws IOException
JsonStreamSource
JsonStreamToken.START_OBJECT
token.startObject
in interface JsonStreamSource
startObject
in class StreamSourceDelegate
IOException
public void endObject() throws IOException
JsonStreamSource
JsonStreamToken.END_OBJECT
token.endObject
in interface JsonStreamSource
endObject
in class StreamSourceDelegate
IOException
public JsonStreamToken peek() throws IOException
JsonStreamSource
peek
in interface JsonStreamSource
peek
in class StreamSourceDelegate
IOException
Copyright © 2005–2023 Apache Software Foundation. All rights reserved.