java.lang.Object | |
↳ | org.apache.log4j.xml.examples.XMLSample |
This example code shows how to read an XML based configuration file using a DOM parser.
Sample XML files sample1.xml and sample2.xml are provided.
Note that the log4j.dtd is not in the local directory. It is found by the class loader.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|