001/*
002 * Copyright 2001-2004 The Apache Software Foundation.
003 *
004 * Licensed under the Apache License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 *      http://www.apache.org/licenses/LICENSE-2.0
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016
017package org.apache.log4j.xml;
018
019import org.apache.log4j.spi.Configurator;
020import org.apache.log4j.spi.LoggerRepository;
021
022import javax.xml.parsers.FactoryConfigurationError;
023import java.io.InputStream;
024import java.io.Reader;
025import java.net.URL;
026import java.util.Properties;
027
028import org.w3c.dom.Element;
029
030public class DOMConfigurator implements Configurator {
031
032    public static void configure(Element element) {
033    }
034
035    public static void configure(String filename) throws FactoryConfigurationError {
036    }
037
038    static public void configure(URL url) throws FactoryConfigurationError {
039    }
040
041    static public void configureAndWatch(String configFilename) {
042    }
043
044    public static void configureAndWatch(String configFilename, long delay) {
045    }
046
047    public void doConfigure(Element element, LoggerRepository repository) {
048    }
049
050    public void doConfigure(InputStream inputStream, LoggerRepository repository) throws FactoryConfigurationError {
051    }
052
053    public void doConfigure(Reader reader, LoggerRepository repository) throws FactoryConfigurationError {
054    }
055
056    public void doConfigure(String filename, LoggerRepository repository) {
057    }
058
059    public void doConfigure(URL url, LoggerRepository repository) {
060    }
061
062    public static String subst(String value, Properties props) {
063        return value;
064    }
065
066}