public abstract class JsonStreamElement
extends java.lang.Object
| Modifier and Type | Method and Description | 
|---|---|
| abstract boolean | hasText()Determines whether the element has text. | 
| JsonStreamElementType | jsonStreamElementType()Gets the type of this element. | 
| abstract java.io.Reader | reader()Gets a Reader to stream the text associated with the element. | 
| java.lang.String | toString() | 
| abstract void | visit(JsonListener jsonListener)Converts this element into a callback to a JsonListener. | 
public final JsonStreamElementType jsonStreamElementType()
public abstract boolean hasText()
public abstract java.io.Reader reader()
java.lang.IllegalStateException - if the element doesn't have any text associated with it.public abstract void visit(JsonListener jsonListener)
jsonListener - the JsonListener to call back with the details of this elementpublic final java.lang.String toString()
toString in class java.lang.Object