org.alicebot.server.core.util
Class XMLResourceSpec

java.lang.Object
  extended by org.alicebot.server.core.util.XMLResourceSpec
All Implemented Interfaces:
java.lang.Cloneable

public class XMLResourceSpec
extends java.lang.Object
implements java.lang.Cloneable

This is a simple data type for describing some characteristics of an XML resource that will be written using XMLWriter.

Author:
Noel Bush

Field Summary
 java.lang.String backlink
          A "back-link" for the XML resource: that is, a URI for another resource that should be presented as a "previous" link.
 java.lang.String description
          The description of the resource.
 java.lang.String dtd
          The DTD for the XML resource.
 java.lang.String encoding
          The encoding for the XML resource.
static java.lang.String HTML_ENTITIES_DTD
          A DTD for HTML entities.
 java.lang.String path
          The path for the XML resource.
 boolean rolloverAtMax
          Whether the resource should be rolled over when it hits a given maximum.
 boolean rolloverAtRestart
          Whether the resource should always be rolled over at restart.
 java.lang.String root
          The name of the root element for the XML resource.
 java.lang.String starttime
          The starting date time for an XML resource.
 java.lang.String stylesheet
          The path to the stylesheet for the XML resource.
 
Constructor Summary
XMLResourceSpec()
           
 
Method Summary
 java.lang.Object clone()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

public java.lang.String description
The description of the resource.


path

public java.lang.String path
The path for the XML resource.


root

public java.lang.String root
The name of the root element for the XML resource.


stylesheet

public java.lang.String stylesheet
The path to the stylesheet for the XML resource.


encoding

public java.lang.String encoding
The encoding for the XML resource.


dtd

public java.lang.String dtd
The DTD for the XML resource.


backlink

public java.lang.String backlink
A "back-link" for the XML resource: that is, a URI for another resource that should be presented as a "previous" link.


starttime

public java.lang.String starttime
The starting date time for an XML resource.


rolloverAtMax

public boolean rolloverAtMax
Whether the resource should be rolled over when it hits a given maximum.


rolloverAtRestart

public boolean rolloverAtRestart
Whether the resource should always be rolled over at restart.


HTML_ENTITIES_DTD

public static final java.lang.String HTML_ENTITIES_DTD
A DTD for HTML entities.

Constructor Detail

XMLResourceSpec

public XMLResourceSpec()
Method Detail

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object