XBRLAPI

A Java API for XBRL


Package org.xbrlapi.data.exist

Implements the data store using eXist (http://exist.soureforge.net/).

See:
          Description

Interface Summary
DBConnection Data store connection interface.
 

Class Summary
StoreImpl Implementation of the XBRL data store using eXist as the underlying database.
 

Package org.xbrlapi.data.exist Description

Implements the data store using eXist (http://exist.soureforge.net/).

This package implements the DBConnection and Store interfaces using eXist as the underlying data representation.

Package Specification

Getting things to work with eXist can be tricky. This document sets out some of the tricks that are worth keeping in mind.

Clashes in jars used by eXist and XBRLAPI

The XML content from resources in the data store can be corrupted if the xmlrpc and xmldb jar files are not identical in eXist and the XBRLAPI. This can be sorted out by copying the jar files in eXist across to the XBRLAPI java/lib directory.

eXist resources return content as a DOM by returning the document node rather than the root element. This means that the document should be recovered simply by recasting the Node returned by a resource to a Document object.

log4j setup

Some of the eXist classes use log4j loggers. These need to be configured properly if you are to avoid irritating messages being sent to the console. Configuration is most easily done by copying the log4j configuration file from the eXist source and modifying the location of the log files that the loggers are set to write log messages to.

xbrlapi.org Java library providing XBRL functionality

Copyright (C) 2005, Geoffrey Shuetrim (geoff@galexy.net)

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License (http://www.gnu.org/licenses/lgpl.html), or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA


Get Java XBRL API implementation at SourceForge.net.