/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.log4j.xml; import java.io.InputStream; import java.io.Reader; import java.net.URL; import java.util.Properties; import javax.xml.parsers.FactoryConfigurationError; import org.apache.log4j.Appender; import org.apache.log4j.Layout; import org.apache.log4j.Logger; import org.apache.log4j.config.PropertySetter; import org.apache.log4j.spi.Configurator; import org.apache.log4j.spi.LoggerRepository; import org.apache.log4j.spi.ThrowableRenderer; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.xml.sax.InputSource; /** * */ public class DOMConfigurator implements Configurator { public static void configure(Element element) {} public static void configure(String filename) {} public static void configure(URL url) {} public static void configureAndWatch(String configFilename) {} public static void configureAndWatch(String configFilename, long delay) {} public void doConfigure(Element element, LoggerRepository repository) {} protected void doConfigure(InputSource inputSource, LoggerRepository repository) {} public void doConfigure(InputStream inputStream, LoggerRepository repository) {} public void doConfigure(Reader reader, LoggerRepository repository) {} public void doConfigure(String filename, LoggerRepository repository) {} public void doConfigure(URL url, LoggerRepository repository) {} protected Appender findAppenderByName(Document doc, String appenderName) { return null; } protected Appender findAppenderByReference(Element appenderRef) { return null; } protected void parse(Element element) {} protected Appender parseAppender(Element appenderElement) { return null; } protected void parseCategory(Element loggerElement) {} protected void parseCategoryFactory(Element factoryElement) {} protected void parseChildrenOfLoggerElement(Element catElement, Logger cat, boolean isRoot) {} public static Object parseElement(Element element, Properties props, Class expectedClass) { return null; } protected void parseErrorHandler(Element element, Appender appender) {} protected void parseFilters(Element element, Appender appender) {} protected Layout parseLayout(Element layout_element) { return null; } protected void parseLevel(Element element, Logger logger, boolean isRoot) {} protected void parseRenderer(Element element) {} protected void parseRoot(Element rootElement) {} protected ThrowableRenderer parseThrowableRenderer(Element element) { return null; } protected void setParameter(Element elem, PropertySetter propSetter) {} public static void setParameter(Element elem, PropertySetter propSetter, Properties props) {} protected String subst(String value) { return null; } public static String subst(String value, Properties props) { return null; } }