|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.util.xmlconfig.source.InputStreamConfigurationSource
public class InputStreamConfigurationSource
This IConfigurationSource wraps an InputStream.
| Constructor Summary | |
|---|---|
InputStreamConfigurationSource(java.lang.String name,
java.io.InputStream stream)
Constructs a new IConfigurationSource based on InputStream. |
|
| Method Summary | |
|---|---|
org.w3c.dom.Document |
getDocument(boolean validating)
Parse the configuration source's content. |
java.lang.String |
getName()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InputStreamConfigurationSource(java.lang.String name,
java.io.InputStream stream)
IConfigurationSource based on InputStream.
name - stream's namestream - the stream to be parsed| Method Detail |
|---|
public org.w3c.dom.Document getDocument(boolean validating)
throws org.ow2.util.xml.DocumentParserException
getDocument in interface IConfigurationSourcevalidating - is the parser validating ?
org.ow2.util.xml.DocumentParserException - if the document cannot be parsed or is not valid.public java.lang.String getName()
getName in interface IConfigurationSource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||