com.tecnick.jxhtmledit
Class JXHTMLConfig

java.lang.Object
  extended by com.tecnick.jxhtmledit.JXHTMLConfig

public class JXHTMLConfig
extends java.lang.Object

Loads configutation files for JXHTMLEDIT.
Copyright (c) 2002-2006 Tecnick.com S.r.l (www.tecnick.com) Via Ugo Foscolo n.19 - 09045 Quartu Sant'Elena (CA) - ITALY - www.tecnick.com - info@tecnick.com
Project homepage: http://jxhtmledit.sourceforge.net
License: http://www.gnu.org/copyleft/gpl.html GPL 2

Version:
1.1.005
Author:
Nicola Asuni [www.tecnick.com].

Field Summary
private static com.tecnick.xmlconfigreader.XMLConfigReader buttons
          Buttons definitions
private static com.tecnick.tmxjavabridge.TMXResourceBundle resources
          Localized text resources loaded from XML configuration file
private static com.tecnick.htmlutils.xhtmltranscoder.XHTMLTranscoder xhtml_transcoder
          XHTMLTranscoder object.
 
Constructor Summary
JXHTMLConfig()
          Void Constructor.
JXHTMLConfig(java.lang.String config_dir, java.lang.String lang)
          Constructor Must be called on applet init to load applet data from configuration files.
 
Method Summary
 com.tecnick.xmlconfigreader.XMLConfigReader getButtons()
          Returns an XMLConfigReader object containing buttons data.
 com.tecnick.tmxjavabridge.TMXResourceBundle getTMXresources()
          Returns localized text resources loaded from XML configuration file.
 com.tecnick.htmlutils.xhtmltranscoder.XHTMLTranscoder getTranscoder()
          Returns a XHTMLTranscoder object used to cleanup XHTML code.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

buttons

private static com.tecnick.xmlconfigreader.XMLConfigReader buttons
Buttons definitions


resources

private static com.tecnick.tmxjavabridge.TMXResourceBundle resources
Localized text resources loaded from XML configuration file


xhtml_transcoder

private static com.tecnick.htmlutils.xhtmltranscoder.XHTMLTranscoder xhtml_transcoder
XHTMLTranscoder object.

Constructor Detail

JXHTMLConfig

public JXHTMLConfig(java.lang.String config_dir,
                    java.lang.String lang)
Constructor Must be called on applet init to load applet data from configuration files.

Parameters:
config_dir - String configuration files directory
lang - String ISO 639 language identifier (a two- or three-letter code)

JXHTMLConfig

public JXHTMLConfig()
Void Constructor.

Method Detail

getButtons

public com.tecnick.xmlconfigreader.XMLConfigReader getButtons()
Returns an XMLConfigReader object containing buttons data.

Returns:
buttons data.

getTMXresources

public com.tecnick.tmxjavabridge.TMXResourceBundle getTMXresources()
Returns localized text resources loaded from XML configuration file.

Returns:
text resources for the specified language.

getTranscoder

public com.tecnick.htmlutils.xhtmltranscoder.XHTMLTranscoder getTranscoder()
Returns a XHTMLTranscoder object used to cleanup XHTML code.

Returns:
XHTMLTranscoder object.