WIP: XPath Injection promotion

This commit is contained in:
Tony Torralba
2021-04-26 17:20:31 +02:00
parent 8b2009cfb1
commit ed5619498c
8 changed files with 202 additions and 24 deletions

View File

@@ -13,7 +13,13 @@
package org.dom4j;
import java.util.List;
public interface Document {
public Node selectSingleNode(String xpathExpression);
public List selectNodes(String xpathExpression);
}
/*

View File

@@ -0,0 +1,31 @@
/*
* Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.
*
* This software is open source.
* See the bottom of this file for the licence.
*/
/*
* Adapted from DOM4J version 2.1.1 as available at
* https://search.maven.org/remotecontent?filepath=org/dom4j/dom4j/2.1.1/dom4j-2.1.1-sources.jar
* Only relevant stubs of this file have been retained for test purposes.
*/
package org.dom4j;
public interface Node {
public boolean hasContent();
}
/*
* Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.
*
* This software is open source. See the bottom of this file for the licence.
*/
/*
* Adapted from DOM4J version 2.1.1 as available at
* https://search.maven.org/remotecontent?filepath=org/dom4j/dom4j/2.1.1/dom4j-2
* .1.1-sources.jar Only relevant stubs of this file have been retained for test
* purposes.
*/