public class DefaultX4OReader<T> extends AbstractX4OReader<T>
| Constructor and Description |
|---|
DefaultX4OReader(X4OLanguageContext elementLanguage) |
| Modifier and Type | Method and Description |
|---|---|
void |
addELBeanInstance(String name,
Object bean)
Adds an bean instance to the el context.
|
protected void |
read()
Parses the input stream as a X4O document.
|
X4OLanguageContext |
readContext(InputStream input,
String systemId,
URL basePath)
Method to parse the xml data.
|
void |
releaseContext(X4OLanguageContext context) |
getPropertyKeySet, read, readFile, readFile, readResource, readString, readUrlreadFileContext, readFileContext, readResourceContext, readStringContext, readUrlContextgetLanguageContext, getProperty, setPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetProperty, setPropertypublic DefaultX4OReader(X4OLanguageContext elementLanguage)
public X4OLanguageContext readContext(InputStream input, String systemId, URL basePath) throws X4OConnectionException, SAXException, IOException
X4OReaderContextinput - The inputStream to parse.X4OConnectionException - Is thrown after x4o exception.SAXException - Is thrown after sax xml exception.IOException - Is thrown after io exception.public void addELBeanInstance(String name, Object bean)
X4OReadername - The el name for the bean.bean - The bean to add to the el context.protected void read()
throws X4OConnectionException,
SAXException,
IOException
public void releaseContext(X4OLanguageContext context) throws X4OPhaseException
X4OPhaseExceptionCopyright © 2004-2013 X4O. All Rights Reserved.