jInfer

cz.cuni.mff.ksi.jinfer.xsdimporter.utils
Class XSDImportSettings

java.lang.Object
  extended by cz.cuni.mff.ksi.jinfer.xsdimporter.utils.XSDImportSettings

public final class XSDImportSettings
extends Object

Helper class for accessing settings from module's properties panel.


Method Summary
static org.apache.log4j.Level getLogLevel()
          Get current log level for module XSD Importer.
static XSDParser getParser()
          Get the selected parser from XSD Import project properties.
static boolean isStopOnError()
          Check if import process should halt on any error.
static boolean isVerbose()
          Check if more verbose information should be logged.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getParser

public static XSDParser getParser()
Get the selected parser from XSD Import project properties. Parser is selected from all available parsers using lookup for XSDParser interface.

Returns:
Selected parser.

isVerbose

public static boolean isVerbose()
Check if more verbose information should be logged.

Returns:
True if verbose setting enabled, else false. False on error.

getLogLevel

public static org.apache.log4j.Level getLogLevel()
Get current log level for module XSD Importer. On error, or by default this method returns root log level.

Returns:
Current log level for XSD Importer.

isStopOnError

public static boolean isStopOnError()
Check if import process should halt on any error. If disabled, the file is just skipped and error is logged. By default this setting is enabled.

Returns:
True if "Stop on error" checkbox is checked, else false. True if exception occurs.

jInfer

Generated on Fri Dec 9 00:01:25 CET 2011