public class AddRootSource extends StreamSourceDelegate
JsonStreamSource.ValueFALSE, 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, startArraypublic AddRootSource(JsonStreamSource delegate, QName root, char namespaceSeparator)
public String name() throws IOException
JsonStreamSourceJsonStreamToken.NAME token.name in interface JsonStreamSourcename in class StreamSourceDelegateIOExceptionpublic JsonStreamSource.Value value() throws IOException
JsonStreamSourceJsonStreamToken.VALUE token.value in interface JsonStreamSourcevalue in class StreamSourceDelegateIOExceptionpublic void startObject()
throws IOException
JsonStreamSourceJsonStreamToken.START_OBJECT token.startObject in interface JsonStreamSourcestartObject in class StreamSourceDelegateIOExceptionpublic void endObject()
throws IOException
JsonStreamSourceJsonStreamToken.END_OBJECT token.endObject in interface JsonStreamSourceendObject in class StreamSourceDelegateIOExceptionpublic JsonStreamToken peek() throws IOException
JsonStreamSourcepeek in interface JsonStreamSourcepeek in class StreamSourceDelegateIOExceptionCopyright © 2005–2019 Apache Software Foundation. All rights reserved.