|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.util.xmlconfig.source.XMLConfigurationSource
public class XMLConfigurationSource
This IConfigurationSource wraps an URL.
| Constructor Summary | |
|---|---|
XMLConfigurationSource(java.net.URL xmlConfigurationSource)
Constructs a new IConfigurationSource based on URL. |
|
| 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 XMLConfigurationSource(java.net.URL xmlConfigurationSource)
IConfigurationSource based on URL.
xmlConfigurationSource - URL pointing to an XML configuration file.| 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 | |||||||||