Added: logging/site/trunk/docs/log4j/companions/zeroconf/xref-test/org/apache/log4j/net/ZeroConfSocketHubAppenderTestBed.html URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/zeroconf/xref-test/org/apache/log4j/net/ZeroConfSocketHubAppenderTestBed.html?view=auto&rev=558364 ============================================================================== --- logging/site/trunk/docs/log4j/companions/zeroconf/xref-test/org/apache/log4j/net/ZeroConfSocketHubAppenderTestBed.html (added) +++ logging/site/trunk/docs/log4j/companions/zeroconf/xref-test/org/apache/log4j/net/ZeroConfSocketHubAppenderTestBed.html Sat Jul 21 10:58:13 2007 @@ -0,0 +1,43 @@ + + + +ZeroConfSocketHubAppenderTestBed xref + + + +
View Javadoc
+
+1   package org.apache.log4j.net;
+2   
+3   import org.apache.log4j.LogManager;
+4   import org.apache.log4j.Logger;
+5   
+6   /***
+7    * 
+8    * A test bed class to configure and launch a ZeroConfSocketHubAppender and stream
+9    * some LoggingEvents to it so that one can test Chainsaw
+10   * 
+11   * @author psmith
+12   *
+13   */
+14  public class ZeroConfSocketHubAppenderTestBed {
+15  
+16      public static void main(String[] args) throws Exception {
+17          ZeroConfSocketHubAppender appender = new ZeroConfSocketHubAppender();
+18          appender.setName("foo");
+19          appender.activateOptions();
+20          Logger LOG = LogManager.getRootLogger();
+21          LOG.addAppender(appender);
+22          
+23          while(true) {
+24              LOG.info("TestBedEvent: " + System.currentTimeMillis());
+25              Thread.sleep(250);
+26          }
+27          
+28          
+29      }
+30  }
+
+
+ + Propchange: logging/site/trunk/docs/log4j/companions/zeroconf/xref-test/org/apache/log4j/net/ZeroConfSocketHubAppenderTestBed.html ------------------------------------------------------------------------------ svn:mime-type = text/html Added: logging/site/trunk/docs/log4j/companions/zeroconf/xref-test/org/apache/log4j/net/package-frame.html URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/zeroconf/xref-test/org/apache/log4j/net/package-frame.html?view=auto&rev=558364 ============================================================================== --- logging/site/trunk/docs/log4j/companions/zeroconf/xref-test/org/apache/log4j/net/package-frame.html (added) +++ logging/site/trunk/docs/log4j/companions/zeroconf/xref-test/org/apache/log4j/net/package-frame.html Sat Jul 21 10:58:13 2007 @@ -0,0 +1,30 @@ + + + + + + Apache Zeroconf Companion for log4j 1.2. 1.1-SNAPSHOT Reference Package org.apache.log4j.net + + + + +

+ org.apache.log4j.net +

+ +

Classes

+ + + + + \ No newline at end of file Propchange: logging/site/trunk/docs/log4j/companions/zeroconf/xref-test/org/apache/log4j/net/package-frame.html ------------------------------------------------------------------------------ svn:mime-type = text/html Added: logging/site/trunk/docs/log4j/companions/zeroconf/xref-test/org/apache/log4j/net/package-summary.html URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/zeroconf/xref-test/org/apache/log4j/net/package-summary.html?view=auto&rev=558364 ============================================================================== --- logging/site/trunk/docs/log4j/companions/zeroconf/xref-test/org/apache/log4j/net/package-summary.html (added) +++ logging/site/trunk/docs/log4j/companions/zeroconf/xref-test/org/apache/log4j/net/package-summary.html Sat Jul 21 10:58:13 2007 @@ -0,0 +1,77 @@ + + + + + + Apache Zeroconf Companion for log4j 1.2. 1.1-SNAPSHOT Reference Package $name + + + +
+ +
+
+ +
+ +

Package org.apache.log4j.net

+ + + + + + + + + + + + + + + + + + +
Class Summary
+ ModifiableBoolean +
+ ZeroConfSocketHubAppenderTest +
+ ZeroConfSocketHubAppenderTestBed +
+ +
+ +
+
+ +
+
+ Copyright © null Apache Software Foundation. All Rights Reserved. + + \ No newline at end of file Propchange: logging/site/trunk/docs/log4j/companions/zeroconf/xref-test/org/apache/log4j/net/package-summary.html ------------------------------------------------------------------------------ svn:mime-type = text/html Added: logging/site/trunk/docs/log4j/companions/zeroconf/xref-test/overview-frame.html URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/zeroconf/xref-test/overview-frame.html?view=auto&rev=558364 ============================================================================== --- logging/site/trunk/docs/log4j/companions/zeroconf/xref-test/overview-frame.html (added) +++ logging/site/trunk/docs/log4j/companions/zeroconf/xref-test/overview-frame.html Sat Jul 21 10:58:13 2007 @@ -0,0 +1,25 @@ + + + + + + Apache Zeroconf Companion for log4j 1.2. 1.1-SNAPSHOT Reference + + + + +

+ All Classes +

+ +

Packages

+ + + + + + Propchange: logging/site/trunk/docs/log4j/companions/zeroconf/xref-test/overview-frame.html ------------------------------------------------------------------------------ svn:mime-type = text/html Added: logging/site/trunk/docs/log4j/companions/zeroconf/xref-test/overview-summary.html URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/zeroconf/xref-test/overview-summary.html?view=auto&rev=558364 ============================================================================== --- logging/site/trunk/docs/log4j/companions/zeroconf/xref-test/overview-summary.html (added) +++ logging/site/trunk/docs/log4j/companions/zeroconf/xref-test/overview-summary.html Sat Jul 21 10:58:13 2007 @@ -0,0 +1,64 @@ + + + + + + Apache Zeroconf Companion for log4j 1.2. 1.1-SNAPSHOT Reference + + + +
+ +
+
+ +
+ +

Apache Zeroconf Companion for log4j 1.2. 1.1-SNAPSHOT Reference

+ + + + + + + + + + + + +
Packages
+ org.apache.log4j.net +
+ +
+ +
+
+ +
+ +
+ Copyright © null Apache Software Foundation. All Rights Reserved. + + \ No newline at end of file Propchange: logging/site/trunk/docs/log4j/companions/zeroconf/xref-test/overview-summary.html ------------------------------------------------------------------------------ svn:mime-type = text/html Added: logging/site/trunk/docs/log4j/companions/zeroconf/xref-test/stylesheet.css URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/zeroconf/xref-test/stylesheet.css?view=auto&rev=558364 ============================================================================== --- logging/site/trunk/docs/log4j/companions/zeroconf/xref-test/stylesheet.css (added) +++ logging/site/trunk/docs/log4j/companions/zeroconf/xref-test/stylesheet.css Sat Jul 21 10:58:13 2007 @@ -0,0 +1,96 @@ +/* Javadoc style sheet */ +/* Define colors, fonts and other style attributes here to override the defaults */ +body { + background-color: #fff; + font-family: Arial, Helvetica, sans-serif; +} + +a:link { + color: #00f; +} +a:visited { + color: #00a; +} + +a:active, a:hover { + color: #f30 !important; +} + +ul, li { + list-style-type:none ; + margin:0; + padding:0; +} + +table td{ + padding: 3px; + border: 1px solid #000; +} +table{ + width:100%; + border: 1px solid #000; + border-collapse: collapse; +} + +div.overview { + background-color:#ddd; + padding: 4px 4px 4px 0; +} +div.overview li, div.framenoframe li { + display: inline; +} +div.framenoframe { + text-align: center; + font-size: x-small; +} +div.framenoframe li { + margin: 0 3px 0 3px; +} +div.overview li { + margin:3px 3px 0 3px; + padding: 4px; +} +li.selected { + background-color:#888; + color: #fff; + font-weight: bold; +} + +table.summary { + margin-bottom: 20px; +} +table.summary td, table.summary th { + font-weight: bold; + text-align: left; + padding: 3px; +} +table.summary th{ + background-color:#036; + color: #fff; +} +table.summary td{ + background-color:#eee; + border: 1px solid black; +} + +em { + color: #A00; +} +em.comment { + color: #390; +} +.string { + color: #009; +} +div#footer { + text-align:center; +} +#overview { + padding:2px; +} + + +hr { + height: 1px; + color: #000; +} \ No newline at end of file Propchange: logging/site/trunk/docs/log4j/companions/zeroconf/xref-test/stylesheet.css ------------------------------------------------------------------------------ svn:mime-type = text/css Added: logging/site/trunk/docs/log4j/companions/zeroconf/xref/allclasses-frame.html URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/zeroconf/xref/allclasses-frame.html?view=auto&rev=558364 ============================================================================== --- logging/site/trunk/docs/log4j/companions/zeroconf/xref/allclasses-frame.html (added) +++ logging/site/trunk/docs/log4j/companions/zeroconf/xref/allclasses-frame.html Sat Jul 21 10:58:13 2007 @@ -0,0 +1,23 @@ + + + + + + All Classes + + + + +

All Classes

+ + + + + Propchange: logging/site/trunk/docs/log4j/companions/zeroconf/xref/allclasses-frame.html ------------------------------------------------------------------------------ svn:mime-type = text/html Added: logging/site/trunk/docs/log4j/companions/zeroconf/xref/index.html URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/zeroconf/xref/index.html?view=auto&rev=558364 ============================================================================== --- logging/site/trunk/docs/log4j/companions/zeroconf/xref/index.html (added) +++ logging/site/trunk/docs/log4j/companions/zeroconf/xref/index.html Sat Jul 21 10:58:13 2007 @@ -0,0 +1,22 @@ + + + + + + Apache Zeroconf Companion for log4j 1.2. 1.1-SNAPSHOT Reference + + + + + + + + + + <h1>Frame Alert</h1> + <p> + You don't have frames. Go <a href="overview-summary.html">here</a> + </p> + + + Propchange: logging/site/trunk/docs/log4j/companions/zeroconf/xref/index.html ------------------------------------------------------------------------------ svn:mime-type = text/html Added: logging/site/trunk/docs/log4j/companions/zeroconf/xref/org/apache/log4j/net/ZeroConfSocketHubAppender.html URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/zeroconf/xref/org/apache/log4j/net/ZeroConfSocketHubAppender.html?view=auto&rev=558364 ============================================================================== --- logging/site/trunk/docs/log4j/companions/zeroconf/xref/org/apache/log4j/net/ZeroConfSocketHubAppender.html (added) +++ logging/site/trunk/docs/log4j/companions/zeroconf/xref/org/apache/log4j/net/ZeroConfSocketHubAppender.html Sat Jul 21 10:58:13 2007 @@ -0,0 +1,140 @@ + + + +ZeroConfSocketHubAppender xref + + + +
View Javadoc
+
+1   /*
+2    * Licensed to the Apache Software Foundation (ASF) under one or more
+3    * contributor license agreements.  See the NOTICE file distributed with
+4    * this work for additional information regarding copyright ownership.
+5    * The ASF licenses this file to You under the Apache License, Version 2.0
+6    * (the "License"); you may not use this file except in compliance with
+7    * the License.  You may obtain a copy of the License at
+8    * 
+9    *      http://www.apache.org/licenses/LICENSE-2.0
+10   * 
+11   * Unless required by applicable law or agreed to in writing, software
+12   * distributed under the License is distributed on an "AS IS" BASIS,
+13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+14   * See the License for the specific language governing permissions and
+15   * limitations under the License.
+16   */
+17  package org.apache.log4j.net;
+18  
+19  import java.io.IOException;
+20  import java.lang.reflect.Method;
+21  
+22  import javax.jmdns.JmDNS;
+23  import javax.jmdns.ServiceInfo;
+24  
+25  import org.apache.log4j.Level;
+26  
+27  
+28  /***
+29   * A sub-class of SocketHubAppender that broadcasts its configuration via Zeroconf.
+30   * 
+31   * This allows Zeroconf aware applications such as Chainsaw to be able to detect them, and automatically configure
+32   * themselves to be able to connect to them.
+33   * 
+34   * @author psmith
+35   *
+36   */
+37  public class ZeroConfSocketHubAppender extends SocketHubAppender {
+38  
+39      public static final String DEFAULT_ZEROCONF_ZONE="_log4j._tcp.local.";
+40      private String zeroConfZone = DEFAULT_ZEROCONF_ZONE;
+41      
+42      private Object logger;
+43      private Method logInfoMethod;
+44      private Method logErrorMethod;
+45      
+46      public ZeroConfSocketHubAppender() {
+47          setName("SocketHubAppender");
+48          try {
+49              Method getLoggerMethod = this.getClass().getMethod("getLogger", new Class[0]);
+50              logger = getLoggerMethod.invoke(this, new Object[0]);
+51              logInfoMethod = logger.getClass().getMethod("info", new Class[] {Object.class});
+52              logErrorMethod = logger.getClass().getMethod("error", new Class[] {Object.class});
+53          }catch(Exception e) {
+54              // we're not in log4j1.3 land
+55          }
+56      }
+57      public void activateOptions() {
+58          super.activateOptions();
+59          
+60          try {
+61              JmDNS jmDNS = Zeroconf4log4j.getInstance();
+62              ServiceInfo info = buildServiceInfo();
+63              logWithlog4j12Compatibility(Level.INFO,"Registering this SocketHubAppender as :" + info);
+64              jmDNS.registerService(info);
+65          } catch (IOException e) {
+66              logWithlog4j12Compatibility(Level.ERROR,"Failed to instantiate JmDNS to broadcast via ZeroConf, will now operate in simple SocketHubAppender mode");
+67          }
+68      }
+69      private ServiceInfo buildServiceInfo() {
+70          return new ServiceInfo(zeroConfZone, getName(), getPort(), "SocketHubAppender on port " + getPort() );
+71      }
+72      
+73      private void logWithlog4j12Compatibility(Level level, String message) {
+74          if(logger!=null && logInfoMethod!=null & logErrorMethod!=null) {
+75              try {
+76                  switch (level.toInt()) {
+77                  case Level.INFO_INT:
+78                      logInfoMethod.invoke(logger, new Object[] { message });
+79                      break;
+80                  case Level.ERROR_INT:
+81                      logInfoMethod.invoke(logger, new Object[] { message });
+82                      break;
+83                  }
+84              } catch (Exception e) {
+85                  e.printStackTrace();
+86              }
+87          }
+88      }
+89  
+90      /***
+91       * Returns the ZeroConf domain that will be used to register this 'device'.
+92       * 
+93       * @return String ZeroConf zone
+94       */
+95      public String getZeroConfZone() {
+96          return zeroConfZone;
+97      }
+98  
+99  
+100     /***
+101      * Sets the ZeroConf zone to register this device under, BE CAREFUL with this value
+102      * as ZeroConf has some weird naming conventions, it should start with an "_" and end in a ".",
+103      * if you're not sure about this value might I suggest that you leave it at the default value
+104      * which is specified in {@link #DEFAULT_ZEROCONF_ZONE }.
+105      * 
+106      * This method does NO(0, zero, pun not intended) checks on this value.
+107      * 
+108      * @param zeroConfZone
+109      */
+110     public void setZeroConfZone(String zeroConfZone) {
+111 //        TODO work out a sane checking mechanism that verifies the value is a correct ZeroConf zone
+112         this.zeroConfZone = zeroConfZone;
+113     }
+114     public synchronized void close() {
+115         super.close();
+116         try {
+117             JmDNS jmDNS = Zeroconf4log4j.getInstance();
+118             ServiceInfo info = buildServiceInfo();
+119             logWithlog4j12Compatibility(Level.INFO,"Deregistering this SocketHubAppender (" + info + ")");
+120             jmDNS.unregisterService(info);
+121         } catch (Exception e) {
+122             logWithlog4j12Compatibility(Level.ERROR,"Failed to instantiate JmDNS to broadcast via ZeroConf, will now operate in simple SocketHubAppender mode");
+123         }
+124     }
+125     
+126     
+127 }
+
+
+ + Propchange: logging/site/trunk/docs/log4j/companions/zeroconf/xref/org/apache/log4j/net/ZeroConfSocketHubAppender.html ------------------------------------------------------------------------------ svn:mime-type = text/html Added: logging/site/trunk/docs/log4j/companions/zeroconf/xref/org/apache/log4j/net/Zeroconf4log4j.html URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/zeroconf/xref/org/apache/log4j/net/Zeroconf4log4j.html?view=auto&rev=558364 ============================================================================== --- logging/site/trunk/docs/log4j/companions/zeroconf/xref/org/apache/log4j/net/Zeroconf4log4j.html (added) +++ logging/site/trunk/docs/log4j/companions/zeroconf/xref/org/apache/log4j/net/Zeroconf4log4j.html Sat Jul 21 10:58:13 2007 @@ -0,0 +1,87 @@ + + + +Zeroconf4log4j xref + + + +
View Javadoc
+
+1   /*
+2    * Licensed to the Apache Software Foundation (ASF) under one or more
+3    * contributor license agreements.  See the NOTICE file distributed with
+4    * this work for additional information regarding copyright ownership.
+5    * The ASF licenses this file to You under the Apache License, Version 2.0
+6    * (the "License"); you may not use this file except in compliance with
+7    * the License.  You may obtain a copy of the License at
+8    * 
+9    *      http://www.apache.org/licenses/LICENSE-2.0
+10   * 
+11   * Unless required by applicable law or agreed to in writing, software
+12   * distributed under the License is distributed on an "AS IS" BASIS,
+13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+14   * See the License for the specific language governing permissions and
+15   * limitations under the License.
+16   */
+17  package org.apache.log4j.net;
+18  
+19  import javax.jmdns.JmDNS;
+20  
+21  /***
+22   * This singleton holds the single instance of the JmDNS instance that is used to broadcast
+23   * Appender related information via ZeroConf.  Once referenced, a single JmDNS instance is created
+24   * and held.  To ensure your JVM exits cleanly you should ensure that you call the {@link #shutdown() } method
+25   * to broadcast the disappearance of your devices, and cleanup sockets.  (alternatively you can call the close() 
+26   * method on the JmDNS instead, totally up to you...)
+27   * 
+28   * See http://jmdns.sf.net for more information about JmDNS and ZeroConf.
+29   * 
+30   * @author psmith
+31   *
+32   */
+33  public class Zeroconf4log4j {
+34  
+35      private static final JmDNS instance;
+36  
+37      static {
+38          try {
+39              instance = new JmDNS();
+40          } catch (Exception e) {
+41              e.printStackTrace();
+42              throw new RuntimeException("Failed to initialize JmDNS");
+43          }
+44      }
+45  
+46      /***
+47       * Returns the current instance of the JmDNS being used by log4j.
+48       * 
+49       * @throws IllegalStateException if JmDNS was not correctly initialized.
+50       * 
+51       * @return
+52       */
+53      public static JmDNS getInstance() {
+54          checkState();
+55          return instance;
+56      }
+57  
+58      private static void checkState() {
+59          if (instance == null) {
+60              throw new IllegalStateException(
+61                      "JmDNS did not initialize correctly");
+62          }
+63      }
+64      
+65      /***
+66       * Ensures JmDNS cleanly broadcasts 'goodbye' and closes any sockets, and (more imporantly)
+67       * ensures some Threads exit so your JVM can exit.
+68       *
+69       */
+70      public static void shutdown() {
+71          checkState();
+72          instance.close();
+73      }
+74  }
+
+
+ + Propchange: logging/site/trunk/docs/log4j/companions/zeroconf/xref/org/apache/log4j/net/Zeroconf4log4j.html ------------------------------------------------------------------------------ svn:mime-type = text/html Added: logging/site/trunk/docs/log4j/companions/zeroconf/xref/org/apache/log4j/net/package-frame.html URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/zeroconf/xref/org/apache/log4j/net/package-frame.html?view=auto&rev=558364 ============================================================================== --- logging/site/trunk/docs/log4j/companions/zeroconf/xref/org/apache/log4j/net/package-frame.html (added) +++ logging/site/trunk/docs/log4j/companions/zeroconf/xref/org/apache/log4j/net/package-frame.html Sat Jul 21 10:58:13 2007 @@ -0,0 +1,27 @@ + + + + + + Apache Zeroconf Companion for log4j 1.2. 1.1-SNAPSHOT Reference Package org.apache.log4j.net + + + + +

+ org.apache.log4j.net +

+ +

Classes

+ + + + + \ No newline at end of file Propchange: logging/site/trunk/docs/log4j/companions/zeroconf/xref/org/apache/log4j/net/package-frame.html ------------------------------------------------------------------------------ svn:mime-type = text/html Added: logging/site/trunk/docs/log4j/companions/zeroconf/xref/org/apache/log4j/net/package-summary.html URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/zeroconf/xref/org/apache/log4j/net/package-summary.html?view=auto&rev=558364 ============================================================================== --- logging/site/trunk/docs/log4j/companions/zeroconf/xref/org/apache/log4j/net/package-summary.html (added) +++ logging/site/trunk/docs/log4j/companions/zeroconf/xref/org/apache/log4j/net/package-summary.html Sat Jul 21 10:58:13 2007 @@ -0,0 +1,72 @@ + + + + + + Apache Zeroconf Companion for log4j 1.2. 1.1-SNAPSHOT Reference Package $name + + + +
+ +
+
+ +
+ +

Package org.apache.log4j.net

+ + + + + + + + + + + + + + + +
Class Summary
+ ZeroConfSocketHubAppender +
+ Zeroconf4log4j +
+ +
+ +
+
+ +
+
+ Copyright © null Apache Software Foundation. All Rights Reserved. + + \ No newline at end of file Propchange: logging/site/trunk/docs/log4j/companions/zeroconf/xref/org/apache/log4j/net/package-summary.html ------------------------------------------------------------------------------ svn:mime-type = text/html Added: logging/site/trunk/docs/log4j/companions/zeroconf/xref/overview-frame.html URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/zeroconf/xref/overview-frame.html?view=auto&rev=558364 ============================================================================== --- logging/site/trunk/docs/log4j/companions/zeroconf/xref/overview-frame.html (added) +++ logging/site/trunk/docs/log4j/companions/zeroconf/xref/overview-frame.html Sat Jul 21 10:58:13 2007 @@ -0,0 +1,25 @@ + + + + + + Apache Zeroconf Companion for log4j 1.2. 1.1-SNAPSHOT Reference + + + + +

+ All Classes +

+ +

Packages

+ + + + + + Propchange: logging/site/trunk/docs/log4j/companions/zeroconf/xref/overview-frame.html ------------------------------------------------------------------------------ svn:mime-type = text/html Added: logging/site/trunk/docs/log4j/companions/zeroconf/xref/overview-summary.html URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/zeroconf/xref/overview-summary.html?view=auto&rev=558364 ============================================================================== --- logging/site/trunk/docs/log4j/companions/zeroconf/xref/overview-summary.html (added) +++ logging/site/trunk/docs/log4j/companions/zeroconf/xref/overview-summary.html Sat Jul 21 10:58:13 2007 @@ -0,0 +1,64 @@ + + + + + + Apache Zeroconf Companion for log4j 1.2. 1.1-SNAPSHOT Reference + + + +
+ +
+
+ +
+ +

Apache Zeroconf Companion for log4j 1.2. 1.1-SNAPSHOT Reference

+ + + + + + + + + + + + +
Packages
+ org.apache.log4j.net +
+ +
+ +
+
+ +
+ +
+ Copyright © null Apache Software Foundation. All Rights Reserved. + + \ No newline at end of file Propchange: logging/site/trunk/docs/log4j/companions/zeroconf/xref/overview-summary.html ------------------------------------------------------------------------------ svn:mime-type = text/html Added: logging/site/trunk/docs/log4j/companions/zeroconf/xref/stylesheet.css URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/zeroconf/xref/stylesheet.css?view=auto&rev=558364 ============================================================================== --- logging/site/trunk/docs/log4j/companions/zeroconf/xref/stylesheet.css (added) +++ logging/site/trunk/docs/log4j/companions/zeroconf/xref/stylesheet.css Sat Jul 21 10:58:13 2007 @@ -0,0 +1,96 @@ +/* Javadoc style sheet */ +/* Define colors, fonts and other style attributes here to override the defaults */ +body { + background-color: #fff; + font-family: Arial, Helvetica, sans-serif; +} + +a:link { + color: #00f; +} +a:visited { + color: #00a; +} + +a:active, a:hover { + color: #f30 !important; +} + +ul, li { + list-style-type:none ; + margin:0; + padding:0; +} + +table td{ + padding: 3px; + border: 1px solid #000; +} +table{ + width:100%; + border: 1px solid #000; + border-collapse: collapse; +} + +div.overview { + background-color:#ddd; + padding: 4px 4px 4px 0; +} +div.overview li, div.framenoframe li { + display: inline; +} +div.framenoframe { + text-align: center; + font-size: x-small; +} +div.framenoframe li { + margin: 0 3px 0 3px; +} +div.overview li { + margin:3px 3px 0 3px; + padding: 4px; +} +li.selected { + background-color:#888; + color: #fff; + font-weight: bold; +} + +table.summary { + margin-bottom: 20px; +} +table.summary td, table.summary th { + font-weight: bold; + text-align: left; + padding: 3px; +} +table.summary th{ + background-color:#036; + color: #fff; +} +table.summary td{ + background-color:#eee; + border: 1px solid black; +} + +em { + color: #A00; +} +em.comment { + color: #390; +} +.string { + color: #009; +} +div#footer { + text-align:center; +} +#overview { + padding:2px; +} + + +hr { + height: 1px; + color: #000; +} \ No newline at end of file Propchange: logging/site/trunk/docs/log4j/companions/zeroconf/xref/stylesheet.css ------------------------------------------------------------------------------ svn:mime-type = text/css