|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.oxml.OXMLReader<T>
T - Expected type of the root objectpublic class OXMLReader<T>
OXML reader.
| Constructor Summary | |
|---|---|
OXMLReader(OXMLConfig cfg)
Initialization of the reader. |
|
OXMLReader(OXMLConfig cfg,
Map<String,Object> contextMap)
Initialization of the reader. |
|
| Method Summary | |
|---|---|
T |
read(OXMLSource source)
Reads an XML source and returns the root object. |
T |
read(OXMLSource source,
OXMLReaderOutput output,
OXMLContextConfig contextConfig)
Reads an XML source and returns the root object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OXMLReader(OXMLConfig cfg)
cfg - Configuration to use
public OXMLReader(OXMLConfig cfg,
Map<String,Object> contextMap)
cfg - Configuration to usecontextMap - Map of objects for the context| Method Detail |
|---|
public T read(OXMLSource source)
throws IOException
source - XML source
IOException - If the source cannot be read.
public T read(OXMLSource source,
OXMLReaderOutput output,
OXMLContextConfig contextConfig)
throws IOException
source - XML sourceoutput - Output of meta information after the reading is completecontextConfig - Context configuration (can be null if default
configuration is to be used).
IOException - If the source cannot be read.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||