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, readUrl
readFileContext, readFileContext, readResourceContext, readStringContext, readUrlContext
getLanguageContext, getProperty, setProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getProperty, setProperty
public DefaultX4OReader(X4OLanguageContext elementLanguage)
public X4OLanguageContext readContext(InputStream input, String systemId, URL basePath) throws X4OConnectionException, SAXException, IOException
X4OReaderContext
input
- 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)
X4OReader
name
- 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
X4OPhaseException
Copyright © 2004-2013 X4O. All Rights Reserved.