55 * See the bottom of this file for the licence.
66 */
77
8+ /*
9+ * Adapted from DOM4J version 2.1.1 as available at
10+ * https://search.maven.org/remotecontent?filepath=org/dom4j/dom4j/2.1.1/dom4j-2.1.1-sources.jar
11+ * Only relevant stubs of this file have been retained for test purposes.
12+ */
13+
814package org .dom4j ;
915
1016import java .util .List ;
11- import java . util . Map ;
17+
1218import org .dom4j .rule .Pattern ;
1319import org .jaxen .VariableContext ;
1420
@@ -64,3 +70,40 @@ public static Element makeElement(Branch source, String path) {
6470 }
6571
6672}
73+
74+ /*
75+ * Redistribution and use of this software and associated documentation
76+ * ("Software"), with or without modification, are permitted provided that the
77+ * following conditions are met:
78+ *
79+ * 1. Redistributions of source code must retain copyright statements and
80+ * notices. Redistributions must also contain a copy of this document.
81+ *
82+ * 2. Redistributions in binary form must reproduce the above copyright notice,
83+ * this list of conditions and the following disclaimer in the documentation
84+ * and/or other materials provided with the distribution.
85+ *
86+ * 3. The name "DOM4J" must not be used to endorse or promote products derived
87+ * from this Software without prior written permission of MetaStuff, Ltd. For
88+ * written permission, please contact [email protected] . 89+ *
90+ * 4. Products derived from this Software may not be called "DOM4J" nor may
91+ * "DOM4J" appear in their names without prior written permission of MetaStuff,
92+ * Ltd. DOM4J is a registered trademark of MetaStuff, Ltd.
93+ *
94+ * 5. Due credit should be given to the DOM4J Project - http://www.dom4j.org
95+ *
96+ * THIS SOFTWARE IS PROVIDED BY METASTUFF, LTD. AND CONTRIBUTORS ``AS IS'' AND
97+ * ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
98+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
99+ * ARE DISCLAIMED. IN NO EVENT SHALL METASTUFF, LTD. OR ITS CONTRIBUTORS BE
100+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
101+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
102+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
103+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
104+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
105+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
106+ * POSSIBILITY OF SUCH DAMAGE.
107+ *
108+ * Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.
109+ */
0 commit comments