Updated buid info and made package list consistant.
This commit is contained in:
parent
f290b73132
commit
d4f80f338a
17 changed files with 122 additions and 26 deletions
|
|
@ -48,9 +48,9 @@ public abstract class X4ODriver<T> {
|
|||
public final static String DEFAULT_LANGUAGE_VERSION = "1.0";
|
||||
|
||||
/**
|
||||
* Public constructor.
|
||||
* marker constructor.
|
||||
*/
|
||||
public X4ODriver() {
|
||||
public X4ODriver(/*X4ODriverManager.ConstructorMarker marker*/) {
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -207,6 +207,8 @@ public final class X4ODriverManager {
|
|||
}
|
||||
try {
|
||||
Class<?> driverClass = X4OLanguageClassLoader.loadClass(driverClassName);
|
||||
//Constructor<?> markedConstructor = driverClass.getDeclaredConstructor(new Class[]{ConstructorMarker.class});
|
||||
//X4ODriver<?> driver = (X4ODriver<?>)markedConstructor.newInstance(new Object[]{new ConstructorMarker()});
|
||||
X4ODriver<?> driver = (X4ODriver<?>)driverClass.newInstance();
|
||||
registerX4ODriver(driver);
|
||||
return driver;
|
||||
|
|
@ -215,6 +217,14 @@ public final class X4ODriverManager {
|
|||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Class to make sure all driver instances are created by this manager instance.
|
||||
|
||||
final public class ConstructorMarker {
|
||||
private ConstructorMarker() {
|
||||
}
|
||||
}*/
|
||||
|
||||
/**
|
||||
* Loads all defined language drivers in classpath.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
/**
|
||||
* Provides interfaces for two way object converters.
|
||||
* The interfaces for two way object converters.
|
||||
*
|
||||
*
|
||||
* @since 1.0
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
/**
|
||||
* Provides implementations of object to text converters.
|
||||
* The default implementations to convert text to objects.
|
||||
*
|
||||
*
|
||||
* @since 1.0
|
||||
|
|
|
|||
|
|
@ -0,0 +1,29 @@
|
|||
/*
|
||||
* Copyright (c) 2004-2013, Willem Cazander
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
|
||||
* that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above copyright notice, this list of conditions and the
|
||||
* following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
|
||||
* the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||
* THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
||||
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
/**
|
||||
* The SAX Extended classes and interfaces.
|
||||
*
|
||||
* @since 1.0
|
||||
*/
|
||||
|
||||
package org.x4o.xml.io.sax.ext;
|
||||
|
|
@ -21,7 +21,7 @@
|
|||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
/**
|
||||
* The Sax based classes and interfaces.
|
||||
* The SAX based classes and interfaces.
|
||||
*
|
||||
* @since 1.0
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue