TWE 2.3-2 API

org.enhydra.jawe
Class JaWEXMLUtil

java.lang.Object
  extended byorg.enhydra.jawe.JaWEXMLUtil

public class JaWEXMLUtil
extends java.lang.Object

Class which purpose is to provide static methods which are used by classes that represents program apstraction of XML elements. These methods offers support for reading or writting an XML document and for generating the tooltips for for the classes that needs it.


Nested Class Summary
private static class JaWEXMLUtil.XMLFilter
          Used to filter XML files during opening or saving.
 
Field Summary
private static JaWEXMLUtil.XMLFilter allFilter
           
private static javax.swing.JFileChooser chooser
           
static int ERROR_MESSAGE
           
static int INFORMATION_MESSAGE
           
private static JaWEXMLUtil.XMLFilter jpgFilter
           
private static javax.swing.filechooser.FileFilter[] lastChoosenFilter
           
private static JaWEXMLUtil.XMLFilter svgFilter
           
private static JaWEXMLUtil.XMLFilter txtFilter
           
private static JaWEXMLUtil.XMLFilter xmlFilter
           
private static JaWEXMLUtil.XMLFilter xpdlFilter
           
 
Constructor Summary
JaWEXMLUtil()
           
 
Method Summary
static java.lang.String dialog(java.awt.Component parent, java.lang.String message, int mode, int filteringMode, java.lang.String initialName)
           
static void message(java.lang.String message, int type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

allFilter

private static JaWEXMLUtil.XMLFilter allFilter

xmlFilter

private static JaWEXMLUtil.XMLFilter xmlFilter

xpdlFilter

private static JaWEXMLUtil.XMLFilter xpdlFilter

jpgFilter

private static JaWEXMLUtil.XMLFilter jpgFilter

svgFilter

private static JaWEXMLUtil.XMLFilter svgFilter

txtFilter

private static JaWEXMLUtil.XMLFilter txtFilter

lastChoosenFilter

private static javax.swing.filechooser.FileFilter[] lastChoosenFilter

chooser

private static javax.swing.JFileChooser chooser

INFORMATION_MESSAGE

public static final int INFORMATION_MESSAGE
See Also:
Constant Field Values

ERROR_MESSAGE

public static final int ERROR_MESSAGE
See Also:
Constant Field Values
Constructor Detail

JaWEXMLUtil

public JaWEXMLUtil()
Method Detail

message

public static void message(java.lang.String message,
                           int type)

dialog

public static java.lang.String dialog(java.awt.Component parent,
                                      java.lang.String message,
                                      int mode,
                                      int filteringMode,
                                      java.lang.String initialName)

TWE 2.3-2 API