You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by je...@apache.org on 2002/11/05 05:46:15 UTC
cvs commit: xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/use/cocoon HierarchyGenerator.java
jefft 2002/11/04 20:46:15
Modified: src/scratchpad/src/java/org/apache/forrest/libre/sax
SAXConvenience.java
src/scratchpad/src/java/org/apache/forrest/libre/yer/hierarchy
AttributeReader.java Collection.java Entry.java
EntryFactory.java EntryList.java EntryVisitor.java
HierarchyConfig.java HierarchyConstants.java
HierarchyReader.java SimpleEntryList.java
SortingEntryList.java
src/scratchpad/src/java/org/apache/forrest/libre/yer/impl/fs
CollectionImpl.java FileEntryConstants.java
FileEntryFactory.java FileEntryImpl.java
ItemImpl.java
src/scratchpad/src/java/org/apache/forrest/libre/yer/libre
EntryFilter.java EntrySorter.java
LibreAttributeReader.java LibreConfig.java
LibreConfigBuilder.java LibreConfigHelper.java
LibreConstants.java PropertyAttributeReader.java
XPathAttributeReader.java
src/scratchpad/src/java/org/apache/forrest/libre/yer/use/cli
HierarchyDump.java
src/scratchpad/src/java/org/apache/forrest/libre/yer/use/cocoon
HierarchyGenerator.java
Log:
- Change libre package from org.outerj to org.apache.forrest.libre
- Change libre license to ASL (see
http://marc.theaimsgroup.com/?l=forrest-dev&m=103640742417622&w=2)
Revision Changes Path
1.2 +60 -7 xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/sax/SAXConvenience.java
Index: SAXConvenience.java
===================================================================
RCS file: /home/cvs/xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/sax/SAXConvenience.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- SAXConvenience.java 11 Jun 2002 13:19:20 -0000 1.1
+++ SAXConvenience.java 5 Nov 2002 04:46:14 -0000 1.2
@@ -1,7 +1,60 @@
-/* File Creation Info [User: mpo | Date: 30-apr-02 | Time: 8:52:32 ]
- * (c) 2002, Outerthought bvba. http://outerthought.org
+/*
+ * The Apache Software License, Version 1.1
+ *
+ *
+ * Copyright (c) 2001, 2002 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. 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.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ * if any, must include the following acknowledgment:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Apache Forrest" and "Apache Software Foundation" must
+ * not be used to endorse or promote products derived from this
+ * software without prior written permission. For written
+ * permission, please contact apache@apache.org.
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ * nor may "Apache" appear in their name, without prior written
+ * permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 APACHE SOFTWARE FOUNDATION OR
+ * ITS 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.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation and was
+ * originally based on software copyright (c) 1999, International
+ * Business Machines, Inc., http://www.apache.org. For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
*/
-package org.outerj.sax;
+package org.apache.forrest.libre.sax;
//std
import java.util.Properties;
@@ -67,4 +120,4 @@
}
return prefix + ":" + lname;
}
-}
\ No newline at end of file
+}
1.2 +60 -7 xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/hierarchy/AttributeReader.java
Index: AttributeReader.java
===================================================================
RCS file: /home/cvs/xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/hierarchy/AttributeReader.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- AttributeReader.java 11 Jun 2002 13:19:20 -0000 1.1
+++ AttributeReader.java 5 Nov 2002 04:46:14 -0000 1.2
@@ -1,13 +1,66 @@
-/* File Creation Info [User: mpo | Date: 30-apr-02 | Time: 14:46:13 ]
- * (c) 2002, Outerthought bvba. http://outerthought.org
+/*
+ * The Apache Software License, Version 1.1
+ *
+ *
+ * Copyright (c) 2001, 2002 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. 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.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ * if any, must include the following acknowledgment:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Apache Forrest" and "Apache Software Foundation" must
+ * not be used to endorse or promote products derived from this
+ * software without prior written permission. For written
+ * permission, please contact apache@apache.org.
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ * nor may "Apache" appear in their name, without prior written
+ * permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 APACHE SOFTWARE FOUNDATION OR
+ * ITS 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.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation and was
+ * originally based on software copyright (c) 1999, International
+ * Business Machines, Inc., http://www.apache.org. For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
*/
-package org.outerj.yer.hierarchy;
+package org.apache.forrest.libre.yer.hierarchy;
-/** Interface <code>org.outerj.yer.libre.AttributeReader</code> specifies
+/** Interface <code>org.apache.forrest.libre.yer.libre.AttributeReader</code> specifies
* the contract for specific implentations of Classes that can read out
* specific (as coded into the implementation) information from <code>
- * org.outerj.yer.hierarchy.Entry</code> objects.
+ * org.apache.forrest.libre.yer.hierarchy.Entry</code> objects.
*
* Typically these AttributeReaders will call the <code>getUserObject()</code>
* or the <code>getUserXMLStream()</code> on the passed Entry first and
1.2 +59 -6 xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/hierarchy/Collection.java
Index: Collection.java
===================================================================
RCS file: /home/cvs/xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/hierarchy/Collection.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Collection.java 11 Jun 2002 13:19:20 -0000 1.1
+++ Collection.java 5 Nov 2002 04:46:14 -0000 1.2
@@ -1,9 +1,62 @@
-/* File Creation Info [User: mpo | Date: 1-mei-02 | Time: 10:48:32 ]
- * (c) 2002, Outerthought bvba. http://outerthought.org
+/*
+ * The Apache Software License, Version 1.1
+ *
+ *
+ * Copyright (c) 2001, 2002 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. 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.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ * if any, must include the following acknowledgment:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Apache Forrest" and "Apache Software Foundation" must
+ * not be used to endorse or promote products derived from this
+ * software without prior written permission. For written
+ * permission, please contact apache@apache.org.
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ * nor may "Apache" appear in their name, without prior written
+ * permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 APACHE SOFTWARE FOUNDATION OR
+ * ITS 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.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation and was
+ * originally based on software copyright (c) 1999, International
+ * Business Machines, Inc., http://www.apache.org. For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
*/
-package org.outerj.yer.hierarchy;
+package org.apache.forrest.libre.yer.hierarchy;
-/** Interface <code>org.outerj.yer.hierarchy.Collection</code> defines the
+/** Interface <code>org.apache.forrest.libre.yer.hierarchy.Collection</code> defines the
* extra methods that should be offered by those Entry implementations that
* want to be the hierarchical parrent of a set of child Entries.
*
1.2 +61 -9 xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/hierarchy/Entry.java
Index: Entry.java
===================================================================
RCS file: /home/cvs/xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/hierarchy/Entry.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Entry.java 11 Jun 2002 13:19:20 -0000 1.1
+++ Entry.java 5 Nov 2002 04:46:14 -0000 1.2
@@ -1,13 +1,65 @@
-/* File Creation Info [User: mpo | Date: 29-apr-02 | Time: 16:37:05 ]
- * (c) 2002, Outerthought bvba. http://outerthought.org
+/*
+ * The Apache Software License, Version 1.1
+ *
+ *
+ * Copyright (c) 2001, 2002 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. 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.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ * if any, must include the following acknowledgment:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Apache Forrest" and "Apache Software Foundation" must
+ * not be used to endorse or promote products derived from this
+ * software without prior written permission. For written
+ * permission, please contact apache@apache.org.
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ * nor may "Apache" appear in their name, without prior written
+ * permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 APACHE SOFTWARE FOUNDATION OR
+ * ITS 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.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation and was
+ * originally based on software copyright (c) 1999, International
+ * Business Machines, Inc., http://www.apache.org. For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
*/
-
-package org.outerj.yer.hierarchy;
+package org.apache.forrest.libre.yer.hierarchy;
import java.io.InputStream;
import java.io.IOException;
-/** Interface <code>org.outerj.yer.hierarchy.Entry</code> defines what
+/** Interface <code>org.apache.forrest.libre.yer.hierarchy.Entry</code> defines what
* information <code>Entry</code>'s should be able to provide.
*
* @author $Author$
@@ -43,7 +95,7 @@
* implementation of this interface. However having this method public
* allows for implementations to delegate the actual setting/finding out
* of the attributeValue to a generic package (like the libre package)
- * @see org.outerj.outerj.hierarchy.*
+ * @see org.apache.forrest.libre.outerj.hierarchy.*
* @param attrName specifies the name of the attribute to set a new value for
* @param attrValue the value to set.
*/
@@ -88,4 +140,4 @@
* @return the object representing the unique key for the user-object.
*/
public Object getLocalUniqueKey();
-}
\ No newline at end of file
+}
1.2 +61 -8 xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/hierarchy/EntryFactory.java
Index: EntryFactory.java
===================================================================
RCS file: /home/cvs/xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/hierarchy/EntryFactory.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- EntryFactory.java 11 Jun 2002 13:19:20 -0000 1.1
+++ EntryFactory.java 5 Nov 2002 04:46:14 -0000 1.2
@@ -1,12 +1,65 @@
-/* File Creation Info [User: mpo | Date: 30-apr-02 | Time: 1:07:54 ]
- * (c) 2002, Outerthought bvba. http://outerthought.org
+/*
+ * The Apache Software License, Version 1.1
+ *
+ *
+ * Copyright (c) 2001, 2002 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. 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.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ * if any, must include the following acknowledgment:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Apache Forrest" and "Apache Software Foundation" must
+ * not be used to endorse or promote products derived from this
+ * software without prior written permission. For written
+ * permission, please contact apache@apache.org.
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ * nor may "Apache" appear in their name, without prior written
+ * permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 APACHE SOFTWARE FOUNDATION OR
+ * ITS 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.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation and was
+ * originally based on software copyright (c) 1999, International
+ * Business Machines, Inc., http://www.apache.org. For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
*/
-package org.outerj.yer.hierarchy;
+package org.apache.forrest.libre.yer.hierarchy;
import org.apache.avalon.framework.component.ComponentManager;
import org.apache.avalon.framework.component.Composable;
-/** Class <code>org.outerj.yer.hierarchy.EntryFactory</code> functions as
+/** Class <code>org.apache.forrest.libre.yer.hierarchy.EntryFactory</code> functions as
* an Abstract Factory for retrieving a concrete Entry Factory.
*
* @author $Author$
@@ -16,7 +69,7 @@
{
/** Constant for full qualified class name of the default EntryFactory */
public static final String DEFAULT_FACTORY =
- "org.outerj.yer.impl.fs.FileEntryFactory";
+ "org.apache.forrest.libre.yer.impl.fs.FileEntryFactory";
/** Creates a new Instance of the default EntryFactory
* @return the new instance. */
@@ -28,7 +81,7 @@
* @param fcqn full qualified class name of the EntryFactory to create.
* @return the new instance.
* Remarks: the specified class must be in the classpath. Also it must
- * be a subclass of <code>org.outerj.yer.hierarchy.EntryFactory</code>.
+ * be a subclass of <code>org.apache.forrest.libre.yer.hierarchy.EntryFactory</code>.
* Finally the class must have a public default constructor (no arguments).
*/
public static EntryFactory newInstance(String fqcn) {
1.2 +59 -6 xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/hierarchy/EntryList.java
Index: EntryList.java
===================================================================
RCS file: /home/cvs/xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/hierarchy/EntryList.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- EntryList.java 11 Jun 2002 13:19:20 -0000 1.1
+++ EntryList.java 5 Nov 2002 04:46:14 -0000 1.2
@@ -1,9 +1,62 @@
-/* File Creation Info [User: mpo | Date: 14-mei-02 | Time: 17:03:23 ]
- * (c) 2002, Outerthought bvba. http://outerthought.org
+/*
+ * The Apache Software License, Version 1.1
+ *
+ *
+ * Copyright (c) 2001, 2002 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. 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.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ * if any, must include the following acknowledgment:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Apache Forrest" and "Apache Software Foundation" must
+ * not be used to endorse or promote products derived from this
+ * software without prior written permission. For written
+ * permission, please contact apache@apache.org.
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ * nor may "Apache" appear in their name, without prior written
+ * permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 APACHE SOFTWARE FOUNDATION OR
+ * ITS 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.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation and was
+ * originally based on software copyright (c) 1999, International
+ * Business Machines, Inc., http://www.apache.org. For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
*/
-package org.outerj.yer.hierarchy;
+package org.apache.forrest.libre.yer.hierarchy;
-/** Interface <code>org.outerj.yer.hierarchy.EntryList</code> ...
+/** Interface <code>org.apache.forrest.libre.yer.hierarchy.EntryList</code> ...
*
* @author $Author$
* @version CVS $Id$
1.2 +60 -7 xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/hierarchy/EntryVisitor.java
Index: EntryVisitor.java
===================================================================
RCS file: /home/cvs/xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/hierarchy/EntryVisitor.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- EntryVisitor.java 11 Jun 2002 13:19:20 -0000 1.1
+++ EntryVisitor.java 5 Nov 2002 04:46:14 -0000 1.2
@@ -1,9 +1,62 @@
-/* File Creation Info [User: mpo | Date: 30-apr-02 | Time: 16:40:17 ]
- * (c) 2002, Outerthought bvba. http://outerthought.org
+/*
+ * The Apache Software License, Version 1.1
+ *
+ *
+ * Copyright (c) 2001, 2002 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. 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.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ * if any, must include the following acknowledgment:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Apache Forrest" and "Apache Software Foundation" must
+ * not be used to endorse or promote products derived from this
+ * software without prior written permission. For written
+ * permission, please contact apache@apache.org.
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ * nor may "Apache" appear in their name, without prior written
+ * permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 APACHE SOFTWARE FOUNDATION OR
+ * ITS 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.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation and was
+ * originally based on software copyright (c) 1999, International
+ * Business Machines, Inc., http://www.apache.org. For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
*/
-package org.outerj.yer.hierarchy;
+package org.apache.forrest.libre.yer.hierarchy;
-/** Interface <code>org.outerj.yer.hierarchy.EntryVisitor</code> specifies
+/** Interface <code>org.apache.forrest.libre.yer.hierarchy.EntryVisitor</code> specifies
* a very simple contract for a class that wants to perform an operation on
* an Entry. It's main use is in combination with the <code>EntryList</code>
* class to easily perform the same operation on all the members in a list
@@ -24,4 +77,4 @@
*/
public interface EntryVisitor{
public void visit(Entry theEntry);
-}
\ No newline at end of file
+}
1.2 +59 -6 xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/hierarchy/HierarchyConfig.java
Index: HierarchyConfig.java
===================================================================
RCS file: /home/cvs/xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/hierarchy/HierarchyConfig.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- HierarchyConfig.java 11 Jun 2002 13:19:20 -0000 1.1
+++ HierarchyConfig.java 5 Nov 2002 04:46:14 -0000 1.2
@@ -1,9 +1,62 @@
-/* File Creation Info [User: mpo | Date: 1-mei-02 | Time: 12:49:49 ]
- * (c) 2002, Outerthought bvba. http://outerthought.org
+/*
+ * The Apache Software License, Version 1.1
+ *
+ *
+ * Copyright (c) 2001, 2002 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. 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.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ * if any, must include the following acknowledgment:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Apache Forrest" and "Apache Software Foundation" must
+ * not be used to endorse or promote products derived from this
+ * software without prior written permission. For written
+ * permission, please contact apache@apache.org.
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ * nor may "Apache" appear in their name, without prior written
+ * permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 APACHE SOFTWARE FOUNDATION OR
+ * ITS 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.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation and was
+ * originally based on software copyright (c) 1999, International
+ * Business Machines, Inc., http://www.apache.org. For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
*/
-package org.outerj.yer.hierarchy;
+package org.apache.forrest.libre.yer.hierarchy;
-/** Interface <code>org.outerj.yer.hierarchy.HierarchyConfig</code> functions
+/** Interface <code>org.apache.forrest.libre.yer.hierarchy.HierarchyConfig</code> functions
* as a tagger interface (no methods defined). It allows to specify the passing
* of an implementation specific Configuration object even on the more abstract
* level of Hierarchies and entries.
1.2 +59 -6 xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/hierarchy/HierarchyConstants.java
Index: HierarchyConstants.java
===================================================================
RCS file: /home/cvs/xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/hierarchy/HierarchyConstants.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- HierarchyConstants.java 11 Jun 2002 13:19:20 -0000 1.1
+++ HierarchyConstants.java 5 Nov 2002 04:46:14 -0000 1.2
@@ -1,9 +1,62 @@
-/* File Creation Info [User: mpo | Date: 30-apr-02 | Time: 0:49:37 ]
- * (c) 2002, Outerthought bvba. http://outerthought.org
+/*
+ * The Apache Software License, Version 1.1
+ *
+ *
+ * Copyright (c) 2001, 2002 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. 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.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ * if any, must include the following acknowledgment:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Apache Forrest" and "Apache Software Foundation" must
+ * not be used to endorse or promote products derived from this
+ * software without prior written permission. For written
+ * permission, please contact apache@apache.org.
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ * nor may "Apache" appear in their name, without prior written
+ * permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 APACHE SOFTWARE FOUNDATION OR
+ * ITS 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.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation and was
+ * originally based on software copyright (c) 1999, International
+ * Business Machines, Inc., http://www.apache.org. For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
*/
-package org.outerj.yer.hierarchy;
+package org.apache.forrest.libre.yer.hierarchy;
-/** Interface <code>org.outerj.yer.hierarchy.HierarchyConstants</code> holds a
+/** Interface <code>org.apache.forrest.libre.yer.hierarchy.HierarchyConstants</code> holds a
* number of constants related to the XML representation of the Hierarchy.
*
* @author $Author$
1.2 +60 -7 xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/hierarchy/HierarchyReader.java
Index: HierarchyReader.java
===================================================================
RCS file: /home/cvs/xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/hierarchy/HierarchyReader.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- HierarchyReader.java 11 Jun 2002 13:19:20 -0000 1.1
+++ HierarchyReader.java 5 Nov 2002 04:46:14 -0000 1.2
@@ -1,16 +1,69 @@
-/* File Creation Info [User: mpo | Date: 29-apr-02 | Time: 17:39:18 ]
- * (c) 2002, Outerthought bvba. http://outerthought.org
+/*
+ * The Apache Software License, Version 1.1
+ *
+ *
+ * Copyright (c) 2001, 2002 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. 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.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ * if any, must include the following acknowledgment:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Apache Forrest" and "Apache Software Foundation" must
+ * not be used to endorse or promote products derived from this
+ * software without prior written permission. For written
+ * permission, please contact apache@apache.org.
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ * nor may "Apache" appear in their name, without prior written
+ * permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 APACHE SOFTWARE FOUNDATION OR
+ * ITS 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.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation and was
+ * originally based on software copyright (c) 1999, International
+ * Business Machines, Inc., http://www.apache.org. For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
*/
-package org.outerj.yer.hierarchy;
+package org.apache.forrest.libre.yer.hierarchy;
//sax
import org.xml.sax.ContentHandler;
import org.xml.sax.SAXException;
import org.xml.sax.Attributes;
import org.xml.sax.helpers.AttributesImpl;
-import org.outerj.sax.SAXConvenience;
+import org.apache.forrest.libre.sax.SAXConvenience;
-/** Class <code>org.outerj.yer.hierarchy.HierarchyReader</code> will
+/** Class <code>org.apache.forrest.libre.yer.hierarchy.HierarchyReader</code> will
* traverse the presented structure hanging under the rootEntry.
* Comparable to a <code>org.xml.sax.XMLReader</code> this class will
* generate SAXEvents to the registered contentHandler.
1.2 +59 -6 xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/hierarchy/SimpleEntryList.java
Index: SimpleEntryList.java
===================================================================
RCS file: /home/cvs/xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/hierarchy/SimpleEntryList.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- SimpleEntryList.java 11 Jun 2002 13:19:20 -0000 1.1
+++ SimpleEntryList.java 5 Nov 2002 04:46:14 -0000 1.2
@@ -1,7 +1,60 @@
-/* File Creation Info [User: mpo | Date: 30-apr-02 | Time: 1:43:24 ]
- * (c) 2002, Outerthought bvba. http://outerthought.org
+/*
+ * The Apache Software License, Version 1.1
+ *
+ *
+ * Copyright (c) 2001, 2002 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. 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.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ * if any, must include the following acknowledgment:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Apache Forrest" and "Apache Software Foundation" must
+ * not be used to endorse or promote products derived from this
+ * software without prior written permission. For written
+ * permission, please contact apache@apache.org.
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ * nor may "Apache" appear in their name, without prior written
+ * permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 APACHE SOFTWARE FOUNDATION OR
+ * ITS 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.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation and was
+ * originally based on software copyright (c) 1999, International
+ * Business Machines, Inc., http://www.apache.org. For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
*/
-package org.outerj.yer.hierarchy;
+package org.apache.forrest.libre.yer.hierarchy;
import java.util.List;
@@ -9,7 +62,7 @@
import java.util.Iterator;
import java.util.ArrayList;
-/** Class <code>org.outerj.yer.hierarchy.SimpleEntryList</code> implements a
+/** Class <code>org.apache.forrest.libre.yer.hierarchy.SimpleEntryList</code> implements a
* type-aware List of Entry objects. It just wraps a <code>java.util.List
* </code> and does the necessary typecasting for you. Also it offers a
* visitor mechanism so user of the list don't need to write their own
1.2 +59 -6 xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/hierarchy/SortingEntryList.java
Index: SortingEntryList.java
===================================================================
RCS file: /home/cvs/xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/hierarchy/SortingEntryList.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- SortingEntryList.java 11 Jun 2002 13:19:20 -0000 1.1
+++ SortingEntryList.java 5 Nov 2002 04:46:14 -0000 1.2
@@ -1,14 +1,67 @@
-/* File Creation Info [User: mpo | Date: 14-mei-02 | Time: 23:53:41 ]
- * (c) 2002, Outerthought bvba. http://outerthought.org
+/*
+ * The Apache Software License, Version 1.1
+ *
+ *
+ * Copyright (c) 2001, 2002 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. 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.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ * if any, must include the following acknowledgment:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Apache Forrest" and "Apache Software Foundation" must
+ * not be used to endorse or promote products derived from this
+ * software without prior written permission. For written
+ * permission, please contact apache@apache.org.
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ * nor may "Apache" appear in their name, without prior written
+ * permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 APACHE SOFTWARE FOUNDATION OR
+ * ITS 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.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation and was
+ * originally based on software copyright (c) 1999, International
+ * Business Machines, Inc., http://www.apache.org. For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
*/
-package org.outerj.yer.hierarchy;
+package org.apache.forrest.libre.yer.hierarchy;
import java.util.Collection;
import java.util.Comparator;
import java.util.TreeSet;
import java.util.Iterator;
-/** Class <code>org.outerj.yer.hierarchy.SortingEntryList</code> ...
+/** Class <code>org.apache.forrest.libre.yer.hierarchy.SortingEntryList</code> ...
*
* @author $Author$
* @version CVS $Id$
1.2 +75 -22 xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/impl/fs/CollectionImpl.java
Index: CollectionImpl.java
===================================================================
RCS file: /home/cvs/xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/impl/fs/CollectionImpl.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- CollectionImpl.java 11 Jun 2002 13:19:20 -0000 1.1
+++ CollectionImpl.java 5 Nov 2002 04:46:14 -0000 1.2
@@ -1,16 +1,69 @@
-/* File Creation Info [User: mpo | Date: 30-apr-02 | Time: 1:29:58 ]
- * (c) 2002, Outerthought bvba. http://outerthought.org
+/*
+ * The Apache Software License, Version 1.1
+ *
+ *
+ * Copyright (c) 2001, 2002 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. 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.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ * if any, must include the following acknowledgment:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Apache Forrest" and "Apache Software Foundation" must
+ * not be used to endorse or promote products derived from this
+ * software without prior written permission. For written
+ * permission, please contact apache@apache.org.
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ * nor may "Apache" appear in their name, without prior written
+ * permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 APACHE SOFTWARE FOUNDATION OR
+ * ITS 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.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation and was
+ * originally based on software copyright (c) 1999, International
+ * Business Machines, Inc., http://www.apache.org. For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
*/
-package org.outerj.yer.impl.fs;
+package org.apache.forrest.libre.yer.impl.fs;
-import org.outerj.yer.hierarchy.Entry;
-import org.outerj.yer.hierarchy.SimpleEntryList;
-import org.outerj.yer.libre.LibreConfig;
-import org.outerj.yer.libre.LibreConfigHelper;
-import org.outerj.yer.hierarchy.AttributeReader;
-import org.outerj.yer.hierarchy.Collection;
-import org.outerj.yer.hierarchy.HierarchyConfig;
-import org.outerj.yer.hierarchy.EntryList;
+import org.apache.forrest.libre.yer.hierarchy.Entry;
+import org.apache.forrest.libre.yer.hierarchy.SimpleEntryList;
+import org.apache.forrest.libre.yer.libre.LibreConfig;
+import org.apache.forrest.libre.yer.libre.LibreConfigHelper;
+import org.apache.forrest.libre.yer.hierarchy.AttributeReader;
+import org.apache.forrest.libre.yer.hierarchy.Collection;
+import org.apache.forrest.libre.yer.hierarchy.HierarchyConfig;
+import org.apache.forrest.libre.yer.hierarchy.EntryList;
import org.apache.avalon.framework.component.ComponentManager;
import java.io.File;
@@ -20,8 +73,8 @@
import java.io.FileNotFoundException;
import java.io.FileInputStream;
-/** Class <code>org.outerj.yer.impl.fs.CollectionImpl</code> makes an
- * implementation of the <code>org.outerj.yer.hierarchy.Collection</code>
+/** Class <code>org.apache.forrest.libre.yer.impl.fs.CollectionImpl</code> makes an
+ * implementation of the <code>org.apache.forrest.libre.yer.hierarchy.Collection</code>
* interface that helps represent the hierarchy of a filesystem directory
* structure. As such the wrapped UserObject of this Entry is a java.io.File
* of which isDirectory() is true.
@@ -41,7 +94,7 @@
private LibreConfigHelper helper = null;
/**
- * @see org.outerj.yer.hierarchy.Entry
+ * @see org.apache.forrest.libre.yer.hierarchy.Entry
* @return true to indicate that this Entry is in fact a collection that
* 'can' hold child Entries. Note that it can be the case that there are
* no actual children in this Collection. */
@@ -51,7 +104,7 @@
}
/**
- * @see org.outerj.yer.hierarchy.Collection
+ * @see org.apache.forrest.libre.yer.hierarchy.Collection
* Creates and returns either an ItemImpl or CollectionImpl object that
* wraps the Child File object that reflects the Child File specified by
* the location of the wrapped directory of this CollectionImpl.
@@ -68,7 +121,7 @@
/**
- * @see org.outerj.yer.hierarchy.Collection
+ * @see org.apache.forrest.libre.yer.hierarchy.Collection
* Creates and returns either an ItemImpl or CollectionImpl object that
* wraps the Child File object that reflects the Child File specified
* which should be a child of the wrapped directory of this CollectionImpl.
@@ -91,7 +144,7 @@
}
/**
- * @see org.outerj.yer.hierarchy.Collection
+ * @see org.apache.forrest.libre.yer.hierarchy.Collection
* Creates and returns the List of ItemImpl and CollectionImpl objects
* that wrap the childFiles of the wrapped Directory of this CollectionImpl.
* @param cfg is the configuration object to fallback to for configuration
@@ -119,7 +172,7 @@
}
/**
- * @see org.outerj.yer.hierarchy.Entry
+ * @see org.apache.forrest.libre.yer.hierarchy.Entry
*/
public EntryList getChildEntries()
{
@@ -127,7 +180,7 @@
}
/**
- * @see org.outerj.yer.hierarchy.Entry
+ * @see org.apache.forrest.libre.yer.hierarchy.Entry
*/
public InputStream getUserXMLStream() throws IOException
{
@@ -137,7 +190,7 @@
}
/**
- * @see org.outerj.yer.hierarchy.Entry
+ * @see org.apache.forrest.libre.yer.hierarchy.Entry
*/
public String[] getAvaliableAttributeNames()
{
1.2 +60 -7 xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/impl/fs/FileEntryConstants.java
Index: FileEntryConstants.java
===================================================================
RCS file: /home/cvs/xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/impl/fs/FileEntryConstants.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- FileEntryConstants.java 11 Jun 2002 13:19:20 -0000 1.1
+++ FileEntryConstants.java 5 Nov 2002 04:46:14 -0000 1.2
@@ -1,11 +1,64 @@
-/* File Creation Info [User: mpo | Date: 1-mei-02 | Time: 11:02:17 ]
- * (c) 2002, Outerthought bvba. http://outerthought.org
+/*
+ * The Apache Software License, Version 1.1
+ *
+ *
+ * Copyright (c) 2001, 2002 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. 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.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ * if any, must include the following acknowledgment:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Apache Forrest" and "Apache Software Foundation" must
+ * not be used to endorse or promote products derived from this
+ * software without prior written permission. For written
+ * permission, please contact apache@apache.org.
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ * nor may "Apache" appear in their name, without prior written
+ * permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 APACHE SOFTWARE FOUNDATION OR
+ * ITS 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.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation and was
+ * originally based on software copyright (c) 1999, International
+ * Business Machines, Inc., http://www.apache.org. For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
*/
-package org.outerj.yer.impl.fs;
+package org.apache.forrest.libre.yer.impl.fs;
-/** Interface <code>org.outerj.yer.impl.fs.FileEntryConstants</code> holds
+/** Interface <code>org.apache.forrest.libre.yer.impl.fs.FileEntryConstants</code> holds
* a number of Constants used inside the FileSystem oriented implmentation
- * of the org.outerj.yer.hierarchy package.
+ * of the org.apache.forrest.libre.yer.hierarchy package.
*
* @author $Author$
* @version CVS $Id$
1.2 +63 -10 xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/impl/fs/FileEntryFactory.java
Index: FileEntryFactory.java
===================================================================
RCS file: /home/cvs/xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/impl/fs/FileEntryFactory.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- FileEntryFactory.java 11 Jun 2002 13:19:20 -0000 1.1
+++ FileEntryFactory.java 5 Nov 2002 04:46:14 -0000 1.2
@@ -1,11 +1,64 @@
-/* File Creation Info [User: mpo | Date: 30-apr-02 | Time: 1:27:43 ]
- * (c) 2002, Outerthought bvba. http://outerthought.org
+/*
+ * The Apache Software License, Version 1.1
+ *
+ *
+ * Copyright (c) 2001, 2002 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. 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.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ * if any, must include the following acknowledgment:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Apache Forrest" and "Apache Software Foundation" must
+ * not be used to endorse or promote products derived from this
+ * software without prior written permission. For written
+ * permission, please contact apache@apache.org.
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ * nor may "Apache" appear in their name, without prior written
+ * permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 APACHE SOFTWARE FOUNDATION OR
+ * ITS 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.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation and was
+ * originally based on software copyright (c) 1999, International
+ * Business Machines, Inc., http://www.apache.org. For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
*/
-package org.outerj.yer.impl.fs;
+package org.apache.forrest.libre.yer.impl.fs;
-import org.outerj.yer.hierarchy.EntryFactory;
-import org.outerj.yer.hierarchy.Entry;
-import org.outerj.yer.libre.LibreConfigHelper;
+import org.apache.forrest.libre.yer.hierarchy.EntryFactory;
+import org.apache.forrest.libre.yer.hierarchy.Entry;
+import org.apache.forrest.libre.yer.libre.LibreConfigHelper;
import org.apache.avalon.framework.component.ComponentException;
import org.apache.avalon.framework.component.ComponentManager;
@@ -14,7 +67,7 @@
import java.io.File;
-/** Class <code>org.outerj.yer.impl.fs.FileEntryFactory</code> makes a simple
+/** Class <code>org.apache.forrest.libre.yer.impl.fs.FileEntryFactory</code> makes a simple
* implementation of the AbstractFactory for yer hierarchy factories.
*
* @author $Author$
@@ -23,7 +76,7 @@
public class FileEntryFactory extends EntryFactory
{
/**
- * @see org.outerj.yer.hierarchy.EntryFactory#getRootEntry
+ * @see org.apache.forrest.libre.yer.hierarchy.EntryFactory#getRootEntry
*/
public Entry getRootEntry(final String pathIdentifier)
{
1.2 +68 -15 xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/impl/fs/FileEntryImpl.java
Index: FileEntryImpl.java
===================================================================
RCS file: /home/cvs/xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/impl/fs/FileEntryImpl.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- FileEntryImpl.java 11 Jun 2002 13:19:20 -0000 1.1
+++ FileEntryImpl.java 5 Nov 2002 04:46:14 -0000 1.2
@@ -1,22 +1,75 @@
-/* File Creation Info [User: mpo | Date: 30-apr-02 | Time: 1:29:58 ]
- * (c) 2002, Outerthought bvba. http://outerthought.org
+/*
+ * The Apache Software License, Version 1.1
+ *
+ *
+ * Copyright (c) 2001, 2002 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. 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.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ * if any, must include the following acknowledgment:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Apache Forrest" and "Apache Software Foundation" must
+ * not be used to endorse or promote products derived from this
+ * software without prior written permission. For written
+ * permission, please contact apache@apache.org.
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ * nor may "Apache" appear in their name, without prior written
+ * permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 APACHE SOFTWARE FOUNDATION OR
+ * ITS 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.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation and was
+ * originally based on software copyright (c) 1999, International
+ * Business Machines, Inc., http://www.apache.org. For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
*/
-package org.outerj.yer.impl.fs;
+package org.apache.forrest.libre.yer.impl.fs;
-import org.outerj.yer.hierarchy.Entry;
-import org.outerj.yer.hierarchy.SimpleEntryList;
-import org.outerj.yer.libre.LibreConfig;
-import org.outerj.yer.hierarchy.AttributeReader;
+import org.apache.forrest.libre.yer.hierarchy.Entry;
+import org.apache.forrest.libre.yer.hierarchy.SimpleEntryList;
+import org.apache.forrest.libre.yer.libre.LibreConfig;
+import org.apache.forrest.libre.yer.hierarchy.AttributeReader;
import java.io.*;
import java.util.HashMap;
import java.util.Properties;
-/** Class <code>org.outerj.yer.impl.fs.FileEntryImpl</code> is a base class
+/** Class <code>org.apache.forrest.libre.yer.impl.fs.FileEntryImpl</code> is a base class
* for the ItemImpl and CollectionImpl classes that implement the
- * org.outerj.yer.hierarchy.* contracts for describing an underlaying
+ * org.apache.forrest.libre.yer.hierarchy.* contracts for describing an underlaying
* file-system structure.
- * This implementation chooses to use the org.outerj.yer.libre configuration
+ * This implementation chooses to use the org.apache.forrest.libre.yer.libre configuration
* mechanism to add some artificial yet semi-automatic sequence information
* to the file system.
*
@@ -77,7 +130,7 @@
return this.wrappedFile.getName();
}
/** For this implementation the userObject is the wrapped File Object.
- * @see org.outerj.yer.hierarchy.Entry
+ * @see org.apache.forrest.libre.yer.hierarchy.Entry
*/
public Object getUserObject()
{
@@ -88,14 +141,14 @@
this.wrappedFile = f;
}
/**
- * @see org.outerj.yer.hierarchy.Entry#getParent()
+ * @see org.apache.forrest.libre.yer.hierarchy.Entry#getParent()
*/
public Entry getParent()
{
return this.parent;
}
/**
- * @see org.outerj.yer.hierarchy.Entry
+ * @see org.apache.forrest.libre.yer.hierarchy.Entry
*/
public void setParent(Entry parent)
{
1.2 +66 -13 xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/impl/fs/ItemImpl.java
Index: ItemImpl.java
===================================================================
RCS file: /home/cvs/xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/impl/fs/ItemImpl.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ItemImpl.java 11 Jun 2002 13:19:20 -0000 1.1
+++ ItemImpl.java 5 Nov 2002 04:46:14 -0000 1.2
@@ -1,18 +1,71 @@
-/* File Creation Info [User: mpo | Date: 30-apr-02 | Time: 10:14:45 ]
- * (c) 2002, Outerthought bvba. http://outerthought.org
+/*
+ * The Apache Software License, Version 1.1
+ *
+ *
+ * Copyright (c) 2001, 2002 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. 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.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ * if any, must include the following acknowledgment:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Apache Forrest" and "Apache Software Foundation" must
+ * not be used to endorse or promote products derived from this
+ * software without prior written permission. For written
+ * permission, please contact apache@apache.org.
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ * nor may "Apache" appear in their name, without prior written
+ * permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 APACHE SOFTWARE FOUNDATION OR
+ * ITS 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.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation and was
+ * originally based on software copyright (c) 1999, International
+ * Business Machines, Inc., http://www.apache.org. For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
*/
-package org.outerj.yer.impl.fs;
+package org.apache.forrest.libre.yer.impl.fs;
-import org.outerj.yer.hierarchy.Entry;
-import org.outerj.yer.hierarchy.SimpleEntryList;
-import org.outerj.yer.hierarchy.EntryList;
+import org.apache.forrest.libre.yer.hierarchy.Entry;
+import org.apache.forrest.libre.yer.hierarchy.SimpleEntryList;
+import org.apache.forrest.libre.yer.hierarchy.EntryList;
import java.io.File;
import java.io.InputStream;
import java.io.IOException;
import java.io.FileInputStream;
-/** Class <code>org.outerj.yer.impl.fs.ItemImpl</code> represents a simple
+/** Class <code>org.apache.forrest.libre.yer.impl.fs.ItemImpl</code> represents a simple
* FileEntryImpl that wraps a single file from a file system.
*
* @author $Author$
@@ -34,7 +87,7 @@
}
/**
- * @see org.outerj.yer.hierarchy.Entry#hasChildEntries
+ * @see org.apache.forrest.libre.yer.hierarchy.Entry#hasChildEntries
* @return false to indicate that this is not a Collection of child Entries
*/
public boolean hasChildEntries()
@@ -43,7 +96,7 @@
}
/**
- * @see org.outerj.yer.hierarchy.Entry#getAvaliableAttributeNames
+ * @see org.apache.forrest.libre.yer.hierarchy.Entry#getAvaliableAttributeNames
* @return the list of AtributeNames that are available for read on this
* EntryImpl
*/
@@ -53,7 +106,7 @@
}
/**
- * @see org.outerj.yer.hierarchy.Entry#getChildEntries
+ * @see org.apache.forrest.libre.yer.hierarchy.Entry#getChildEntries
* @return null since this Impl doesn't have any children
*/
public EntryList getChildEntries()
@@ -62,7 +115,7 @@
}
/**
- * @see org.outerj.yer.hierarchy.Entry#getUserXMLStream
+ * @see org.apache.forrest.libre.yer.hierarchy.Entry#getUserXMLStream
* @return the FileInputStream on the wrapped File userObject.
*/
public InputStream getUserXMLStream() throws IOException
1.2 +61 -8 xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/libre/EntryFilter.java
Index: EntryFilter.java
===================================================================
RCS file: /home/cvs/xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/libre/EntryFilter.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- EntryFilter.java 11 Jun 2002 13:19:20 -0000 1.1
+++ EntryFilter.java 5 Nov 2002 04:46:14 -0000 1.2
@@ -1,12 +1,65 @@
-/* File Creation Info [User: mpo | Date: 30-apr-02 | Time: 15:48:57 ]
- * (c) 2002, Outerthought bvba. http://outerthought.org
+/*
+ * The Apache Software License, Version 1.1
+ *
+ *
+ * Copyright (c) 2001, 2002 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. 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.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ * if any, must include the following acknowledgment:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Apache Forrest" and "Apache Software Foundation" must
+ * not be used to endorse or promote products derived from this
+ * software without prior written permission. For written
+ * permission, please contact apache@apache.org.
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ * nor may "Apache" appear in their name, without prior written
+ * permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 APACHE SOFTWARE FOUNDATION OR
+ * ITS 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.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation and was
+ * originally based on software copyright (c) 1999, International
+ * Business Machines, Inc., http://www.apache.org. For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
*/
-package org.outerj.yer.libre;
+package org.apache.forrest.libre.yer.libre;
-import org.outerj.yer.hierarchy.SimpleEntryList;
-import org.outerj.yer.hierarchy.EntryList;
+import org.apache.forrest.libre.yer.hierarchy.SimpleEntryList;
+import org.apache.forrest.libre.yer.hierarchy.EntryList;
-/** Interface <code>org.outerj.yer.libre.EntryFilter</code> ...
+/** Interface <code>org.apache.forrest.libre.yer.libre.EntryFilter</code> ...
*
* @author $Author$
* @version CVS $Id$
1.2 +61 -8 xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/libre/EntrySorter.java
Index: EntrySorter.java
===================================================================
RCS file: /home/cvs/xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/libre/EntrySorter.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- EntrySorter.java 11 Jun 2002 13:19:20 -0000 1.1
+++ EntrySorter.java 5 Nov 2002 04:46:14 -0000 1.2
@@ -1,12 +1,65 @@
-/* File Creation Info [User: mpo | Date: 30-apr-02 | Time: 15:48:01 ]
- * (c) 2002, Outerthought bvba. http://outerthought.org
+/*
+ * The Apache Software License, Version 1.1
+ *
+ *
+ * Copyright (c) 2001, 2002 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. 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.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ * if any, must include the following acknowledgment:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Apache Forrest" and "Apache Software Foundation" must
+ * not be used to endorse or promote products derived from this
+ * software without prior written permission. For written
+ * permission, please contact apache@apache.org.
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ * nor may "Apache" appear in their name, without prior written
+ * permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 APACHE SOFTWARE FOUNDATION OR
+ * ITS 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.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation and was
+ * originally based on software copyright (c) 1999, International
+ * Business Machines, Inc., http://www.apache.org. For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
*/
-package org.outerj.yer.libre;
+package org.apache.forrest.libre.yer.libre;
-import org.outerj.yer.hierarchy.SimpleEntryList;
-import org.outerj.yer.hierarchy.EntryList;
+import org.apache.forrest.libre.yer.hierarchy.SimpleEntryList;
+import org.apache.forrest.libre.yer.hierarchy.EntryList;
-/** Interface <code>org.outerj.yer.libre.EntrySorter</code> ...
+/** Interface <code>org.apache.forrest.libre.yer.libre.EntrySorter</code> ...
*
* @author $Author$
* @version CVS $Id$
1.2 +60 -7 xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/libre/LibreAttributeReader.java
Index: LibreAttributeReader.java
===================================================================
RCS file: /home/cvs/xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/libre/LibreAttributeReader.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- LibreAttributeReader.java 11 Jun 2002 13:19:20 -0000 1.1
+++ LibreAttributeReader.java 5 Nov 2002 04:46:14 -0000 1.2
@@ -1,11 +1,64 @@
-/* File Creation Info [User: mpo | Date: 9-mei-02 | Time: 13:54:58 ]
- * (c) 2002, Outerthought bvba. http://outerthought.org
+/*
+ * The Apache Software License, Version 1.1
+ *
+ *
+ * Copyright (c) 2001, 2002 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. 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.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ * if any, must include the following acknowledgment:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Apache Forrest" and "Apache Software Foundation" must
+ * not be used to endorse or promote products derived from this
+ * software without prior written permission. For written
+ * permission, please contact apache@apache.org.
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ * nor may "Apache" appear in their name, without prior written
+ * permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 APACHE SOFTWARE FOUNDATION OR
+ * ITS 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.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation and was
+ * originally based on software copyright (c) 1999, International
+ * Business Machines, Inc., http://www.apache.org. For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
*/
-package org.outerj.yer.libre;
+package org.apache.forrest.libre.yer.libre;
-import org.outerj.yer.hierarchy.AttributeReader;
+import org.apache.forrest.libre.yer.hierarchy.AttributeReader;
-/** Interface <code>org.outerj.yer.libre.LibreAttributeReader</code> ...
+/** Interface <code>org.apache.forrest.libre.yer.libre.LibreAttributeReader</code> ...
*
* @author $Author$
* @version CVS $Id$
1.2 +67 -14 xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/libre/LibreConfig.java
Index: LibreConfig.java
===================================================================
RCS file: /home/cvs/xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/libre/LibreConfig.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- LibreConfig.java 11 Jun 2002 13:19:21 -0000 1.1
+++ LibreConfig.java 5 Nov 2002 04:46:14 -0000 1.2
@@ -1,17 +1,70 @@
-/* File Creation Info [User: mpo | Date: 30-apr-02 | Time: 15:15:35 ]
- * (c) 2002, Outerthought bvba. http://outerthought.org
+/*
+ * The Apache Software License, Version 1.1
+ *
+ *
+ * Copyright (c) 2001, 2002 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. 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.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ * if any, must include the following acknowledgment:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Apache Forrest" and "Apache Software Foundation" must
+ * not be used to endorse or promote products derived from this
+ * software without prior written permission. For written
+ * permission, please contact apache@apache.org.
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ * nor may "Apache" appear in their name, without prior written
+ * permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 APACHE SOFTWARE FOUNDATION OR
+ * ITS 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.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation and was
+ * originally based on software copyright (c) 1999, International
+ * Business Machines, Inc., http://www.apache.org. For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
*/
-package org.outerj.yer.libre;
+package org.apache.forrest.libre.yer.libre;
import org.xml.sax.SAXException;
-import org.outerj.yer.hierarchy.SimpleEntryList;
-import org.outerj.yer.hierarchy.Entry;
-import org.outerj.yer.hierarchy.EntryVisitor;
-import org.outerj.yer.hierarchy.Collection;
-import org.outerj.yer.hierarchy.HierarchyConfig;
-import org.outerj.yer.hierarchy.AttributeReader;
-import org.outerj.yer.hierarchy.EntryList;
-import org.outerj.yer.hierarchy.SortingEntryList;
+import org.apache.forrest.libre.yer.hierarchy.SimpleEntryList;
+import org.apache.forrest.libre.yer.hierarchy.Entry;
+import org.apache.forrest.libre.yer.hierarchy.EntryVisitor;
+import org.apache.forrest.libre.yer.hierarchy.Collection;
+import org.apache.forrest.libre.yer.hierarchy.HierarchyConfig;
+import org.apache.forrest.libre.yer.hierarchy.AttributeReader;
+import org.apache.forrest.libre.yer.hierarchy.EntryList;
+import org.apache.forrest.libre.yer.hierarchy.SortingEntryList;
import java.io.InputStream;
import java.io.File;
@@ -25,7 +78,7 @@
import java.util.Comparator;
-/** Class <code>org.outerj.yer.libre.LibreConfig</code> holds the configuration
+/** Class <code>org.apache.forrest.libre.yer.libre.LibreConfig</code> holds the configuration
* information that the libre system needs.
*
* @author $Author$
1.2 +60 -7 xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/libre/LibreConfigBuilder.java
Index: LibreConfigBuilder.java
===================================================================
RCS file: /home/cvs/xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/libre/LibreConfigBuilder.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- LibreConfigBuilder.java 11 Jun 2002 13:19:21 -0000 1.1
+++ LibreConfigBuilder.java 5 Nov 2002 04:46:14 -0000 1.2
@@ -1,15 +1,68 @@
-/* File Creation Info [User: mpo | Date: 30-apr-02 | Time: 15:26:29 ]
- * (c) 2002, Outerthought bvba. http://outerthought.org
+/*
+ * The Apache Software License, Version 1.1
+ *
+ *
+ * Copyright (c) 2001, 2002 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. 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.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ * if any, must include the following acknowledgment:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Apache Forrest" and "Apache Software Foundation" must
+ * not be used to endorse or promote products derived from this
+ * software without prior written permission. For written
+ * permission, please contact apache@apache.org.
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ * nor may "Apache" appear in their name, without prior written
+ * permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 APACHE SOFTWARE FOUNDATION OR
+ * ITS 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.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation and was
+ * originally based on software copyright (c) 1999, International
+ * Business Machines, Inc., http://www.apache.org. For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
*/
-package org.outerj.yer.libre;
+package org.apache.forrest.libre.yer.libre;
import org.xml.sax.helpers.DefaultHandler;
import org.xml.sax.SAXException;
import org.xml.sax.Attributes;
-import org.outerj.yer.hierarchy.HierarchyConfig;
+import org.apache.forrest.libre.yer.hierarchy.HierarchyConfig;
-/** Class <code>org.outerj.yer.libre.LibreConfigBuilder</code> is a helper
+/** Class <code>org.apache.forrest.libre.yer.libre.LibreConfigBuilder</code> is a helper
* that builds up a LibreConfig object from a stream of SAXEvents.
*
* It also provides a convenience constructor that will take a simple inputStream
1.3 +61 -8 xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/libre/LibreConfigHelper.java
Index: LibreConfigHelper.java
===================================================================
RCS file: /home/cvs/xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/libre/LibreConfigHelper.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- LibreConfigHelper.java 12 Jul 2002 07:10:14 -0000 1.2
+++ LibreConfigHelper.java 5 Nov 2002 04:46:14 -0000 1.3
@@ -1,7 +1,60 @@
-/* File Creation Info [User: mpo | Date: 16-mei-02 | Time: 13:58:12 ]
- * (c) 2002, Outerthought bvba. http://outerthought.org
+/*
+ * The Apache Software License, Version 1.1
+ *
+ *
+ * Copyright (c) 2001, 2002 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. 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.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ * if any, must include the following acknowledgment:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Apache Forrest" and "Apache Software Foundation" must
+ * not be used to endorse or promote products derived from this
+ * software without prior written permission. For written
+ * permission, please contact apache@apache.org.
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ * nor may "Apache" appear in their name, without prior written
+ * permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 APACHE SOFTWARE FOUNDATION OR
+ * ITS 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.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation and was
+ * originally based on software copyright (c) 1999, International
+ * Business Machines, Inc., http://www.apache.org. For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
*/
-package org.outerj.yer.libre;
+package org.apache.forrest.libre.yer.libre;
import org.apache.avalon.framework.component.Composable;
import org.apache.avalon.framework.component.ComponentManager;
@@ -10,8 +63,8 @@
import org.apache.avalon.excalibur.xml.EntityResolver;
import org.apache.xml.resolver.tools.CatalogResolver;
//import org.apache.cocoon.components.resolver.Resolver;
-import org.outerj.yer.hierarchy.HierarchyConfig;
-import org.outerj.yer.hierarchy.Entry;
+import org.apache.forrest.libre.yer.hierarchy.HierarchyConfig;
+import org.apache.forrest.libre.yer.hierarchy.Entry;
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
import org.xml.sax.XMLReader;
@@ -32,7 +85,7 @@
// hierarchy implementations that choose to use the libre package can
// provide a specific impl for this interface then!
-/** Class <code>org.outerj.yer.libre.LibreConfigHelper</code> ...
+/** Class <code>org.apache.forrest.libre.yer.libre.LibreConfigHelper</code> ...
*
* @author $Author$
* @version CVS $Id$
1.2 +59 -6 xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/libre/LibreConstants.java
Index: LibreConstants.java
===================================================================
RCS file: /home/cvs/xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/libre/LibreConstants.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- LibreConstants.java 11 Jun 2002 13:19:21 -0000 1.1
+++ LibreConstants.java 5 Nov 2002 04:46:14 -0000 1.2
@@ -1,9 +1,62 @@
-/* File Creation Info [User: mpo | Date: 8-mei-02 | Time: 15:13:20 ]
- * (c) 2002, Outerthought bvba. http://outerthought.org
+/*
+ * The Apache Software License, Version 1.1
+ *
+ *
+ * Copyright (c) 2001, 2002 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. 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.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ * if any, must include the following acknowledgment:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Apache Forrest" and "Apache Software Foundation" must
+ * not be used to endorse or promote products derived from this
+ * software without prior written permission. For written
+ * permission, please contact apache@apache.org.
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ * nor may "Apache" appear in their name, without prior written
+ * permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 APACHE SOFTWARE FOUNDATION OR
+ * ITS 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.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation and was
+ * originally based on software copyright (c) 1999, International
+ * Business Machines, Inc., http://www.apache.org. For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
*/
-package org.outerj.yer.libre;
+package org.apache.forrest.libre.yer.libre;
-/** Interface <code>org.outerj.yer.libre.LibreConstants</code> holds
+/** Interface <code>org.apache.forrest.libre.yer.libre.LibreConstants</code> holds
* constants for different element and attributenames of the libre.xml files.
*
* @author $Author$
1.2 +60 -7 xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/libre/PropertyAttributeReader.java
Index: PropertyAttributeReader.java
===================================================================
RCS file: /home/cvs/xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/libre/PropertyAttributeReader.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- PropertyAttributeReader.java 11 Jun 2002 13:19:21 -0000 1.1
+++ PropertyAttributeReader.java 5 Nov 2002 04:46:14 -0000 1.2
@@ -1,9 +1,62 @@
-/* File Creation Info [User: mpo | Date: 3-mei-02 | Time: 0:56:45 ]
- * (c) 2002, Outerthought bvba. http://outerthought.org
+/*
+ * The Apache Software License, Version 1.1
+ *
+ *
+ * Copyright (c) 2001, 2002 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. 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.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ * if any, must include the following acknowledgment:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Apache Forrest" and "Apache Software Foundation" must
+ * not be used to endorse or promote products derived from this
+ * software without prior written permission. For written
+ * permission, please contact apache@apache.org.
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ * nor may "Apache" appear in their name, without prior written
+ * permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 APACHE SOFTWARE FOUNDATION OR
+ * ITS 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.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation and was
+ * originally based on software copyright (c) 1999, International
+ * Business Machines, Inc., http://www.apache.org. For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
*/
-package org.outerj.yer.libre;
+package org.apache.forrest.libre.yer.libre;
-import org.outerj.yer.hierarchy.Entry;
+import org.apache.forrest.libre.yer.hierarchy.Entry;
import org.apache.oro.text.regex.PatternCompiler;
import org.apache.oro.text.regex.Perl5Compiler;
import org.apache.oro.text.regex.Pattern;
@@ -18,7 +71,7 @@
import java.lang.reflect.Method;
import java.lang.reflect.InvocationTargetException;
-/** Class <code>org.outerj.yer.libre.PropertyAttributeReader</code> ...
+/** Class <code>org.apache.forrest.libre.yer.libre.PropertyAttributeReader</code> ...
*
* @author $Author$
* @version CVS $Id$
1.2 +60 -7 xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/libre/XPathAttributeReader.java
Index: XPathAttributeReader.java
===================================================================
RCS file: /home/cvs/xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/libre/XPathAttributeReader.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- XPathAttributeReader.java 11 Jun 2002 13:19:21 -0000 1.1
+++ XPathAttributeReader.java 5 Nov 2002 04:46:14 -0000 1.2
@@ -1,9 +1,62 @@
-/* File Creation Info [User: mpo | Date: 3-mei-02 | Time: 9:21:10 ]
- * (c) 2002, Outerthought bvba. http://outerthought.org
+/*
+ * The Apache Software License, Version 1.1
+ *
+ *
+ * Copyright (c) 2001, 2002 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. 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.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ * if any, must include the following acknowledgment:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Apache Forrest" and "Apache Software Foundation" must
+ * not be used to endorse or promote products derived from this
+ * software without prior written permission. For written
+ * permission, please contact apache@apache.org.
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ * nor may "Apache" appear in their name, without prior written
+ * permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 APACHE SOFTWARE FOUNDATION OR
+ * ITS 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.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation and was
+ * originally based on software copyright (c) 1999, International
+ * Business Machines, Inc., http://www.apache.org. For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
*/
-package org.outerj.yer.libre;
+package org.apache.forrest.libre.yer.libre;
-import org.outerj.yer.hierarchy.Entry;
+import org.apache.forrest.libre.yer.hierarchy.Entry;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.DOMException;
@@ -18,7 +71,7 @@
import java.io.IOException;
-/** Class <code>org.outerj.yer.libre.XPathAttributeReader</code> ...
+/** Class <code>org.apache.forrest.libre.yer.libre.XPathAttributeReader</code> ...
*
* [FIXME this babe needs serious Avalon enabling in the ]
* @author $Author$
1.2 +64 -11 xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/use/cli/HierarchyDump.java
Index: HierarchyDump.java
===================================================================
RCS file: /home/cvs/xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/use/cli/HierarchyDump.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- HierarchyDump.java 11 Jun 2002 13:19:21 -0000 1.1
+++ HierarchyDump.java 5 Nov 2002 04:46:15 -0000 1.2
@@ -1,12 +1,65 @@
-/* File Creation Info [User: mpo | Date: 30-apr-02 | Time: 0:53:07 ]
- * (c) 2002, Outerthought bvba. http://outerthought.org
+/*
+ * The Apache Software License, Version 1.1
+ *
+ *
+ * Copyright (c) 2001, 2002 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. 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.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ * if any, must include the following acknowledgment:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Apache Forrest" and "Apache Software Foundation" must
+ * not be used to endorse or promote products derived from this
+ * software without prior written permission. For written
+ * permission, please contact apache@apache.org.
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ * nor may "Apache" appear in their name, without prior written
+ * permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 APACHE SOFTWARE FOUNDATION OR
+ * ITS 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.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation and was
+ * originally based on software copyright (c) 1999, International
+ * Business Machines, Inc., http://www.apache.org. For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
*/
-package org.outerj.yer.use.cli;
+package org.apache.forrest.libre.yer.use.cli;
-import org.outerj.yer.hierarchy.Entry;
-import org.outerj.yer.hierarchy.HierarchyReader;
-import org.outerj.yer.hierarchy.EntryFactory;
-import org.outerj.sax.SAXConvenience;
+import org.apache.forrest.libre.yer.hierarchy.Entry;
+import org.apache.forrest.libre.yer.hierarchy.HierarchyReader;
+import org.apache.forrest.libre.yer.hierarchy.EntryFactory;
+import org.apache.forrest.libre.sax.SAXConvenience;
import org.xml.sax.ContentHandler;
@@ -22,7 +75,7 @@
import java.io.PrintStream;
import java.io.FilterOutputStream;
-/** Class <code>org.outerj.yer.use.cli.HierarchyDump</code> ...
+/** Class <code>org.apache.forrest.libre.yer.use.cli.HierarchyDump</code> ...
*
* @author $Author$
* @version CVS $Id$
@@ -45,7 +98,7 @@
public static void main(String[] args)
{
//FIXME: get these form CL or sysprops.
- String rootFactory = "org.outerj.yer.impl.fs.FileEntryFactory";
+ String rootFactory = "org.apache.forrest.libre.yer.impl.fs.FileEntryFactory";
String rootLocation = "./src/documentation";
OutputStream sink = System.out;
if (args.length > 0) {
1.3 +62 -9 xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/use/cocoon/HierarchyGenerator.java
Index: HierarchyGenerator.java
===================================================================
RCS file: /home/cvs/xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/use/cocoon/HierarchyGenerator.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- HierarchyGenerator.java 24 Jul 2002 14:46:19 -0000 1.2
+++ HierarchyGenerator.java 5 Nov 2002 04:46:15 -0000 1.3
@@ -1,7 +1,60 @@
-/* File Creation Info [User: mpo | Date: 30-apr-02 | Time: 0:34:57 ]
- * (c) 2002, Outerthought bvba. http://outerthought.org
+/*
+ * The Apache Software License, Version 1.1
+ *
+ *
+ * Copyright (c) 2001, 2002 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. 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.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ * if any, must include the following acknowledgment:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Apache Forrest" and "Apache Software Foundation" must
+ * not be used to endorse or promote products derived from this
+ * software without prior written permission. For written
+ * permission, please contact apache@apache.org.
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ * nor may "Apache" appear in their name, without prior written
+ * permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 APACHE SOFTWARE FOUNDATION OR
+ * ITS 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.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation and was
+ * originally based on software copyright (c) 1999, International
+ * Business Machines, Inc., http://www.apache.org. For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
*/
-package org.outerj.yer.use.cocoon;
+package org.apache.forrest.libre.yer.use.cocoon;
import org.apache.avalon.excalibur.pool.Recyclable;
import org.apache.avalon.framework.parameters.Parameters;
@@ -15,14 +68,14 @@
import org.apache.excalibur.source.SourceException;
import org.apache.excalibur.source.SourceValidity;
import org.xml.sax.SAXException;
-import org.outerj.yer.hierarchy.EntryFactory;
-import org.outerj.yer.hierarchy.Entry;
-import org.outerj.yer.hierarchy.HierarchyReader;
+import org.apache.forrest.libre.yer.hierarchy.EntryFactory;
+import org.apache.forrest.libre.yer.hierarchy.Entry;
+import org.apache.forrest.libre.yer.hierarchy.HierarchyReader;
import java.io.IOException;
import java.util.Map;
-/** Class <code>org.outerj.yer.use.cocoon.HierarchyGenerator</code> ...
+/** Class <code>org.apache.forrest.libre.yer.use.cocoon.HierarchyGenerator</code> ...
*
* @author $Author$
* @version CVS $Id$
@@ -113,7 +166,7 @@
//START hack that needs to be replaced
//FIXME: get this through Avalon instead!
- String rootFactory = "org.outerj.yer.impl.fs.FileEntryFactory";
+ String rootFactory = "org.apache.forrest.libre.yer.impl.fs.FileEntryFactory";
EntryFactory ef = EntryFactory.newInstance(rootFactory);
ef.compose(this.manager); // the container should of have done this then
//END hack that needs to be replaced by something like:
Re: cvs commit: xml-forrest/src/scratchpad/src/java/org/apache/forrest/libre/yer/use/cocoon HierarchyGenerator.java
Posted by Jeff Turner <je...@apache.org>.
On Tue, Nov 05, 2002 at 04:46:15AM -0000, jefft@apache.org wrote:
...
> Log:
> - Change libre package from org.outerj to org.apache.forrest.libre
Aw hell.. just realised that this is going to break any users who have
created a custom sitemap based on Forrest's, using the old org.outerj
component.
I'll fish the old code out of CVS, build a libre-old.jar file and check
it into lib/core/.
Forrest has lots of interacting pieces.. sitemap <-> jars <-> skins <->
skinconf.xml, and when one changes, everything else breaks :/
Hopefully soon we can do a proper 0.3 release and then break
backwards-compat in a controlled, documented manner.
--Jeff