.JSONXML.1.1.source-code.logger.test.properties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of JSONXML Show documentation
Show all versions of JSONXML Show documentation
JSONXML project is library used to parse/format tree-like object structures in most popular text formats: XML and JSON.
For parsing it accepts "java.io.Reader" and return java object.
For formatting it accepts java object and "java.io.Writer".
Object is generally structure that contains Map and/or List elements.
Map is ordered set of named items. List is set of unnamed items.
Reflection may be used to convert objects into set of maps/lists and vice versa.
JSON parser is implemented explicitly.
XML parser is based on SAX parser and applies only certain rules for result.
Library is designed to allow various entry points for variable decisions depending on end use needs.
1. Formats - formats are used to enable locale-specific parsing/formatting of numbers and dates.
2. ReflectiveBuilder - enables reflection. Default implementation uses getters/setters only.
3. ObjectsRegistry - used to keep track of parsed or formatted objects and allow
resolvable references in formatted (text) form.
# Specify the handlers to create in the root logger
# (all loggers are children of the root logger)
# The following creates two handlers
handlers = java.util.logging.ConsoleHandler, java.util.logging.FileHandler
# Set the default logging level for the root logger
.level = ALL
# Set the default logging level for new ConsoleHandler instances
java.util.logging.ConsoleHandler.level = INFO
# Set the default logging level for new FileHandler instances
java.util.logging.FileHandler.level = ALL
java.util.logging.FileHandler.pattern = tests.log.xml
# Set the default formatter for new ConsoleHandler instances
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
# Set the default logging level for the logger named com.mycompany
com.mycompany.level = ALL"