Syslog: White Paper FAQ Examples JavaDoc
Protomatter Classes v1.1.6

com.protomatter.syslog.xml
Class HTMLSyslogTextFormatter_Helper

java.lang.Object
  |
  +--com.protomatter.syslog.xml.SimpleSyslogTextFormatter_Helper
        |
        +--com.protomatter.syslog.xml.HTMLSyslogTextFormatter_Helper
All Implemented Interfaces:
XMLConfigHelper

public class HTMLSyslogTextFormatter_Helper
extends SimpleSyslogTextFormatter_Helper

XML configuration helper for HTMLSyslogTextFormatter.


Constructor Summary
HTMLSyslogTextFormatter_Helper()
           
 
Method Summary
 void configure(java.lang.Object o, org.jdom.Element e)
          Configure this text formatter given the XML element.
 org.jdom.Element getConfiguration(java.lang.Object o, org.jdom.Element element)
          Encode the given object's configuration into the given XML element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLSyslogTextFormatter_Helper

public HTMLSyslogTextFormatter_Helper()
Method Detail

configure

public void configure(java.lang.Object o,
                      org.jdom.Element e)
               throws SyslogInitException
Configure this text formatter given the XML element. The <Format> element should look like this:



  <Format class="com.protomatter.syslog.HTMLSyslogTextFormatter" >

    <!--
     Config params from SimpleSyslogTextFormatter_Helper
     can get inserted here.
    -->

    <stylesheet>StyleSheetName</stylesheet>

  </Format>
  

Element
name value required
stylesheet The name of the stylesheet to use. no (default is "syslog-stylesheet.css")

Overrides:
configure in class SimpleSyslogTextFormatter_Helper

getConfiguration

public org.jdom.Element getConfiguration(java.lang.Object o,
                                         org.jdom.Element element)
Description copied from interface: XMLConfigHelper
Encode the given object's configuration into the given XML element.
Overrides:
getConfiguration in class SimpleSyslogTextFormatter_Helper

Protomatter Classes v1.1.6
Copyright 1998-2001 Nate Sammons

Protomatter Classes v1.1.6 http://protomatter.sourceforge.net/1.1.6