edu.uiuc.ndiipp.hubandspoke.profile
Class HaSMETSAppender
java.lang.Object
org.apache.log4j.AppenderSkeleton
edu.uiuc.ndiipp.hubandspoke.profile.HaSMETSAppender
- All Implemented Interfaces:
- org.apache.log4j.Appender, org.apache.log4j.spi.OptionHandler
public class HaSMETSAppender
- extends org.apache.log4j.AppenderSkeleton
This class will collect log4j events for possible later use
in PREMIS events or other sections of the METS file. The events
use the XMLLayout
- Author:
- thabing
| Methods inherited from class org.apache.log4j.AppenderSkeleton |
activateOptions, addFilter, clearFilters, doAppend, finalize, getErrorHandler, getFilter, getFirstFilter, getLayout, getName, getThreshold, isAsSevereAsThreshold, setErrorHandler, setLayout, setName, setThreshold |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HaSMETSAppender
public HaSMETSAppender()
HaSMETSAppender
public HaSMETSAppender(java.lang.String name)
close
public void close()
- Specified by:
close in interface org.apache.log4j.Appender- Specified by:
close in class org.apache.log4j.AppenderSkeleton
requiresLayout
public boolean requiresLayout()
- Specified by:
requiresLayout in interface org.apache.log4j.Appender- Specified by:
requiresLayout in class org.apache.log4j.AppenderSkeleton
getEvents
public java.util.ArrayList<org.apache.log4j.spi.LoggingEvent> getEvents()
clearEvents
public void clearEvents()
getAllEventsAsXmlText
public java.lang.String getAllEventsAsXmlText()
hasEvents
public boolean hasEvents()
hasErrors
public boolean hasErrors()
Copyright © 2006, University of Illinois.