public class Stax2StringSource extends Stax2BlockSource
Stax2BlockSource that encapsulates
 a simple String.mEncoding, mPublicId, mSystemId| Constructor and Description | 
|---|
Stax2StringSource(String text)  | 
| Modifier and Type | Method and Description | 
|---|---|
InputStream | 
constructInputStream()
This method creates an  
InputStream via which underlying input
 source can be accessed. | 
Reader | 
constructReader()
This method creates a  
Reader via which underlying input
 source can be accessed. | 
String | 
getText()  | 
getReferencegetEncoding, getPublicId, getSystemId, setEncoding, setPublicId, setSystemIdpublic Stax2StringSource(String text)
public Reader constructReader() throws IOException
Stax2SourceReader via which underlying input
 source can be accessed. Note that caller is responsible for
 closing that Reader when it is done reading it.constructReader in class Stax2BlockSourceIOExceptionpublic InputStream constructInputStream() throws IOException
Stax2SourceInputStream via which underlying input
 source can be accessed. Note that caller is responsible for
 closing that InputSource when it is done reading itconstructInputStream in class Stax2BlockSourceIOExceptionpublic String getText()
Copyright © 2015 fasterxml.com. All Rights Reserved.