org.apache.ecs
Class ECSDefaults

java.lang.Object
  |
  +--org.apache.ecs.ECSDefaults

public class ECSDefaults
extends java.lang.Object

This class is responsible for loading the ecs.properties file and getting the default settings for ECS. This allows you to edit a simple text file instead of having to edit the .java files and recompile.

Version:
$Id: ECSDefaults.java,v 1.2 1999/06/22 22:46:20 jonbolt Exp $

Field Summary
private static char attribute_equality_sign
           
private static boolean attribute_quote
           
private static char attribute_quote_char
           
private static char begin_end_modifier
           
private static char begin_start_modifier
           
private static int case_type
           
private static java.lang.String codeset
           
private static boolean end_element
           
private static char end_end_modifier
           
private static char end_start_modifier
           
private static char end_tag
           
private static boolean filter_attribute_state
           
private static boolean filter_state
           
private static int position
           
private static boolean pretty_print
           
protected static java.util.ResourceBundle resource
           
private static char start_tag
           
 
Constructor Summary
ECSDefaults()
           
 
Method Summary
(package private) static void ()
           
static char getDefaultAttributeEqualitySign()
          What is the equality character for an attribute.
static boolean getDefaultAttributeQuote()
           
static char getDefaultAttributeQuoteChar()
           
static char getDefaultBeginEndModifier()
          What the end modifier should be
static char getDefaultBeginStartModifier()
          What the start modifier should be
static int getDefaultCaseType()
          Default value to set case type
static java.lang.String getDefaultCodeset()
          What codeset are we going to use the default is 8859_1
static boolean getDefaultEndElement()
          Does this element need a closing tag?
static char getDefaultEndEndModifier()
          What the end modifier should be
static char getDefaultEndStartModifier()
          What the start modifier should be
static char getDefaultEndTag()
           
static boolean getDefaultFilterAttributeState()
          Should we filter the value of the element attributes
static boolean getDefaultFilterState()
          Should we filter the value of <>VALUE</>
static int getDefaultPosition()
          position of tag relative to start and end.
static boolean getDefaultPrettyPrint()
          Should we print html in a more readable format?
static char getDefaultStartTag()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

resource

protected static java.util.ResourceBundle resource

filter_state

private static boolean filter_state

filter_attribute_state

private static boolean filter_attribute_state

attribute_equality_sign

private static char attribute_equality_sign

begin_start_modifier

private static char begin_start_modifier

end_start_modifier

private static char end_start_modifier

begin_end_modifier

private static char begin_end_modifier

end_end_modifier

private static char end_end_modifier

attribute_quote_char

private static char attribute_quote_char

attribute_quote

private static boolean attribute_quote

end_element

private static boolean end_element

codeset

private static java.lang.String codeset

position

private static int position

case_type

private static int case_type

start_tag

private static char start_tag

end_tag

private static char end_tag

pretty_print

private static boolean pretty_print
Constructor Detail

ECSDefaults

public ECSDefaults()
Method Detail

static void ()

getDefaultFilterState

public static boolean getDefaultFilterState()
Should we filter the value of <>VALUE</>

getDefaultFilterAttributeState

public static boolean getDefaultFilterAttributeState()
Should we filter the value of the element attributes

getDefaultAttributeEqualitySign

public static char getDefaultAttributeEqualitySign()
What is the equality character for an attribute.

getDefaultBeginStartModifier

public static char getDefaultBeginStartModifier()
What the start modifier should be

getDefaultEndStartModifier

public static char getDefaultEndStartModifier()
What the start modifier should be

getDefaultBeginEndModifier

public static char getDefaultBeginEndModifier()
What the end modifier should be

getDefaultEndEndModifier

public static char getDefaultEndEndModifier()
What the end modifier should be

getDefaultAttributeQuoteChar

public static char getDefaultAttributeQuoteChar()

getDefaultAttributeQuote

public static boolean getDefaultAttributeQuote()

getDefaultEndElement

public static boolean getDefaultEndElement()
Does this element need a closing tag?

getDefaultCodeset

public static java.lang.String getDefaultCodeset()
What codeset are we going to use the default is 8859_1

getDefaultPosition

public static int getDefaultPosition()
position of tag relative to start and end.

getDefaultCaseType

public static int getDefaultCaseType()
Default value to set case type

getDefaultStartTag

public static char getDefaultStartTag()

getDefaultEndTag

public static char getDefaultEndTag()

getDefaultPrettyPrint

public static boolean getDefaultPrettyPrint()
Should we print html in a more readable format?


Copyright © 1999-2000 Apache Software Foundation. All Rights Reserved.