mirror of
https://github.com/github/codeql.git
synced 2026-04-28 10:15:14 +02:00
org.apache.commons.jelly tests
This commit is contained in:
@@ -3,9 +3,9 @@ extensions:
|
||||
pack: codeql/java-all
|
||||
extensible: sinkModel
|
||||
data:
|
||||
- ["org.apache.commons.jelly", "JellyContext", True, "JellyContext", "(JellyContext,URL,URL)", "", "Argument[1]", "open-url", "ai-generated"] # @atorralba: double check
|
||||
- ["org.apache.commons.jelly", "JellyContext", True, "JellyContext", "(JellyContext,URL,URL)", "", "Argument[2]", "open-url", "ai-generated"] # @atorralba: double check
|
||||
- ["org.apache.commons.jelly", "JellyContext", True, "JellyContext", "(JellyContext,URL)", "", "Argument[1]", "open-url", "ai-generated"] # @atorralba: double check
|
||||
- ["org.apache.commons.jelly", "JellyContext", True, "JellyContext", "(URL,URL)", "", "Argument[0]", "open-url", "ai-generated"] # @atorralba: double check
|
||||
- ["org.apache.commons.jelly", "JellyContext", True, "JellyContext", "(URL,URL)", "", "Argument[1]", "open-url", "ai-generated"] # @atorralba: double check
|
||||
- ["org.apache.commons.jelly", "JellyContext", True, "JellyContext", "(URL)", "", "Argument[0]", "open-url", "ai-generated"] # @atorralba: double check
|
||||
- ["org.apache.commons.jelly", "JellyContext", True, "JellyContext", "(JellyContext,URL,URL)", "", "Argument[1]", "open-url", "ai-generated"]
|
||||
- ["org.apache.commons.jelly", "JellyContext", True, "JellyContext", "(JellyContext,URL,URL)", "", "Argument[2]", "open-url", "ai-generated"]
|
||||
- ["org.apache.commons.jelly", "JellyContext", True, "JellyContext", "(JellyContext,URL)", "", "Argument[1]", "open-url", "ai-generated"]
|
||||
- ["org.apache.commons.jelly", "JellyContext", True, "JellyContext", "(URL,URL)", "", "Argument[0]", "open-url", "ai-generated"]
|
||||
- ["org.apache.commons.jelly", "JellyContext", True, "JellyContext", "(URL,URL)", "", "Argument[1]", "open-url", "ai-generated"]
|
||||
- ["org.apache.commons.jelly", "JellyContext", True, "JellyContext", "(URL)", "", "Argument[0]", "open-url", "ai-generated"]
|
||||
|
||||
@@ -6,6 +6,7 @@ import java.net.URL;
|
||||
import java.net.URLClassLoader;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javafx.scene.web.WebEngine;
|
||||
import org.apache.commons.jelly.JellyContext;
|
||||
import org.codehaus.cargo.container.installer.ZipURLInstaller;
|
||||
|
||||
public class Test {
|
||||
@@ -43,6 +44,18 @@ public class Test {
|
||||
new URLClassLoader((URL[]) source(), null, null); // $ SSRF
|
||||
// "java.net;URLClassLoader;false;newInstance;;;Argument[0];open-url;manual"
|
||||
URLClassLoader.newInstance((URL[]) source()); // $ SSRF
|
||||
// "org.apache.commons.jelly;JellyContext;true;JellyContext;(JellyContext,URL,URL);;Argument[1];open-url;ai-generated"
|
||||
new JellyContext(null, (URL) source(), null); // $ SSRF
|
||||
// "org.apache.commons.jelly;JellyContext;true;JellyContext;(JellyContext,URL,URL);;Argument[2];open-url;ai-generated"
|
||||
new JellyContext(null, null, (URL) source()); // $ SSRF
|
||||
// "org.apache.commons.jelly;JellyContext;true;JellyContext;(JellyContext,URL);;Argument[1];open-url;ai-generated"
|
||||
new JellyContext((JellyContext) null, (URL) source()); // $ SSRF
|
||||
// "org.apache.commons.jelly;JellyContext;true;JellyContext;(URL,URL);;Argument[0];open-url;ai-generated"
|
||||
new JellyContext((URL) source(), null); // $ SSRF
|
||||
// "org.apache.commons.jelly;JellyContext;true;JellyContext;(URL,URL);;Argument[1];open-url;ai-generated"
|
||||
new JellyContext((URL) null, (URL) source()); // $ SSRF
|
||||
// "org.apache.commons.jelly;JellyContext;true;JellyContext;(URL);;Argument[0];open-url;ai-generated"
|
||||
new JellyContext((URL) source()); // $ SSRF
|
||||
}
|
||||
|
||||
public void test(WebEngine webEngine) {
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
//semmle-extractor-options: --javac-args -source 11 -target 11 -cp ${testdir}/../../../stubs/springframework-5.3.8:${testdir}/../../../stubs/javax-ws-rs-api-2.1.1:${testdir}/../../../stubs/javax-ws-rs-api-3.0.0:${testdir}/../../../stubs/apache-http-4.4.13/:${testdir}/../../../stubs/servlet-api-2.4/:${testdir}/../../../stubs/projectreactor-3.4.3/:${testdir}/../../../stubs/postgresql-42.3.3/:${testdir}/../../../stubs/HikariCP-3.4.5/:${testdir}/../../../stubs/spring-jdbc-5.3.8/:${testdir}/../../../stubs/jdbi3-core-3.27.2/:${testdir}/../../../stubs/cargo:${testdir}/../../../stubs/javafx-web
|
||||
//semmle-extractor-options: --javac-args -source 11 -target 11 -cp ${testdir}/../../../stubs/springframework-5.3.8:${testdir}/../../../stubs/javax-ws-rs-api-2.1.1:${testdir}/../../../stubs/javax-ws-rs-api-3.0.0:${testdir}/../../../stubs/apache-http-4.4.13/:${testdir}/../../../stubs/servlet-api-2.4/:${testdir}/../../../stubs/projectreactor-3.4.3/:${testdir}/../../../stubs/postgresql-42.3.3/:${testdir}/../../../stubs/HikariCP-3.4.5/:${testdir}/../../../stubs/spring-jdbc-5.3.8/:${testdir}/../../../stubs/jdbi3-core-3.27.2/:${testdir}/../../../stubs/cargo:${testdir}/../../../stubs/javafx-web:${testdir}/../../../stubs/apache-commons-jelly-1.0.1:${testdir}/../../../stubs/dom4j-2.1.1:${testdir}/../../../stubs/jaxen-1.2.0
|
||||
|
||||
|
||||
82
java/ql/test/stubs/apache-commons-jelly-1.0.1/org/apache/commons/jelly/JellyContext.java
generated
Normal file
82
java/ql/test/stubs/apache-commons-jelly-1.0.1/org/apache/commons/jelly/JellyContext.java
generated
Normal file
@@ -0,0 +1,82 @@
|
||||
// Generated automatically from org.apache.commons.jelly.JellyContext for testing purposes
|
||||
|
||||
package org.apache.commons.jelly;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.InputStream;
|
||||
import java.net.URL;
|
||||
import java.util.Iterator;
|
||||
import java.util.Map;
|
||||
import org.apache.commons.jelly.Script;
|
||||
import org.apache.commons.jelly.TagLibrary;
|
||||
import org.apache.commons.jelly.XMLOutput;
|
||||
import org.apache.commons.jelly.parser.XMLParser;
|
||||
import org.xml.sax.InputSource;
|
||||
|
||||
public class JellyContext
|
||||
{
|
||||
protected ClassLoader classLoader = null;
|
||||
protected JellyContext createChildContext(){ return null; }
|
||||
protected URL createRelativeURL(URL p0, String p1){ return null; }
|
||||
protected URL getJellyContextURL(InputSource p0){ return null; }
|
||||
protected URL getJellyContextURL(URL p0){ return null; }
|
||||
protected XMLParser createXMLParser(){ return null; }
|
||||
protected XMLParser getXMLParser(){ return null; }
|
||||
protected boolean useContextClassLoader = false;
|
||||
protected void clearVariables(){}
|
||||
protected void setParent(JellyContext p0){}
|
||||
public ClassLoader getClassLoader(){ return null; }
|
||||
public InputStream getResourceAsStream(String p0){ return null; }
|
||||
public Iterator getVariableNames(){ return null; }
|
||||
public JellyContext getParent(){ return null; }
|
||||
public JellyContext getScope(String p0){ return null; }
|
||||
public JellyContext newJellyContext(){ return null; }
|
||||
public JellyContext newJellyContext(Map p0){ return null; }
|
||||
public JellyContext runScript(File p0, XMLOutput p1){ return null; }
|
||||
public JellyContext runScript(File p0, XMLOutput p1, boolean p2, boolean p3){ return null; }
|
||||
public JellyContext runScript(InputSource p0, XMLOutput p1){ return null; }
|
||||
public JellyContext runScript(InputSource p0, XMLOutput p1, boolean p2, boolean p3){ return null; }
|
||||
public JellyContext runScript(String p0, XMLOutput p1){ return null; }
|
||||
public JellyContext runScript(String p0, XMLOutput p1, boolean p2, boolean p3){ return null; }
|
||||
public JellyContext runScript(URL p0, XMLOutput p1){ return null; }
|
||||
public JellyContext runScript(URL p0, XMLOutput p1, boolean p2, boolean p3){ return null; }
|
||||
public JellyContext(){}
|
||||
public JellyContext(JellyContext p0){}
|
||||
public JellyContext(JellyContext p0, URL p1){}
|
||||
public JellyContext(JellyContext p0, URL p1, URL p2){}
|
||||
public JellyContext(URL p0){}
|
||||
public JellyContext(URL p0, URL p1){}
|
||||
public Map getVariables(){ return null; }
|
||||
public Object findVariable(String p0){ return null; }
|
||||
public Object getVariable(String p0){ return null; }
|
||||
public Object getVariable(String p0, String p1){ return null; }
|
||||
public Script compileScript(InputSource p0){ return null; }
|
||||
public Script compileScript(String p0){ return null; }
|
||||
public Script compileScript(URL p0){ return null; }
|
||||
public TagLibrary getTagLibrary(String p0){ return null; }
|
||||
public URL getCurrentURL(){ return null; }
|
||||
public URL getResource(String p0){ return null; }
|
||||
public URL getRootURL(){ return null; }
|
||||
public boolean getUseContextClassLoader(){ return false; }
|
||||
public boolean isAllowDtdToCallExternalEntities(){ return false; }
|
||||
public boolean isExport(){ return false; }
|
||||
public boolean isExportLibraries(){ return false; }
|
||||
public boolean isInherit(){ return false; }
|
||||
public boolean isTagLibraryRegistered(String p0){ return false; }
|
||||
public void clear(){}
|
||||
public void registerTagLibrary(String p0, String p1){}
|
||||
public void registerTagLibrary(String p0, TagLibrary p1){}
|
||||
public void removeVariable(String p0){}
|
||||
public void removeVariable(String p0, String p1){}
|
||||
public void setAllowDtdToCallExternalEntities(boolean p0){}
|
||||
public void setClassLoader(ClassLoader p0){}
|
||||
public void setCurrentURL(URL p0){}
|
||||
public void setExport(boolean p0){}
|
||||
public void setExportLibraries(boolean p0){}
|
||||
public void setInherit(boolean p0){}
|
||||
public void setRootURL(URL p0){}
|
||||
public void setUseContextClassLoader(boolean p0){}
|
||||
public void setVariable(String p0, Object p1){}
|
||||
public void setVariable(String p0, String p1, Object p2){}
|
||||
public void setVariables(Map p0){}
|
||||
}
|
||||
32
java/ql/test/stubs/apache-commons-jelly-1.0.1/org/apache/commons/jelly/JellyException.java
generated
Normal file
32
java/ql/test/stubs/apache-commons-jelly-1.0.1/org/apache/commons/jelly/JellyException.java
generated
Normal file
@@ -0,0 +1,32 @@
|
||||
// Generated automatically from org.apache.commons.jelly.JellyException for testing purposes
|
||||
|
||||
package org.apache.commons.jelly;
|
||||
|
||||
import java.io.PrintStream;
|
||||
import java.io.PrintWriter;
|
||||
import org.apache.commons.jelly.LocationAware;
|
||||
|
||||
public class JellyException extends Exception implements LocationAware
|
||||
{
|
||||
public JellyException(){}
|
||||
public JellyException(String p0){}
|
||||
public JellyException(String p0, String p1, String p2, int p3, int p4){}
|
||||
public JellyException(String p0, Throwable p1){}
|
||||
public JellyException(String p0, Throwable p1, String p2, String p3, int p4, int p5){}
|
||||
public JellyException(Throwable p0){}
|
||||
public JellyException(Throwable p0, String p1, String p2, int p3, int p4){}
|
||||
public String getElementName(){ return null; }
|
||||
public String getFileName(){ return null; }
|
||||
public String getMessage(){ return null; }
|
||||
public String getReason(){ return null; }
|
||||
public Throwable getCause(){ return null; }
|
||||
public int getColumnNumber(){ return 0; }
|
||||
public int getLineNumber(){ return 0; }
|
||||
public void printStackTrace(){}
|
||||
public void printStackTrace(PrintStream p0){}
|
||||
public void printStackTrace(PrintWriter p0){}
|
||||
public void setColumnNumber(int p0){}
|
||||
public void setElementName(String p0){}
|
||||
public void setFileName(String p0){}
|
||||
public void setLineNumber(int p0){}
|
||||
}
|
||||
16
java/ql/test/stubs/apache-commons-jelly-1.0.1/org/apache/commons/jelly/JellyTagException.java
generated
Normal file
16
java/ql/test/stubs/apache-commons-jelly-1.0.1/org/apache/commons/jelly/JellyTagException.java
generated
Normal file
@@ -0,0 +1,16 @@
|
||||
// Generated automatically from org.apache.commons.jelly.JellyTagException for testing purposes
|
||||
|
||||
package org.apache.commons.jelly;
|
||||
|
||||
import org.apache.commons.jelly.JellyException;
|
||||
|
||||
public class JellyTagException extends JellyException
|
||||
{
|
||||
public JellyTagException(){}
|
||||
public JellyTagException(String p0){}
|
||||
public JellyTagException(String p0, String p1, String p2, int p3, int p4){}
|
||||
public JellyTagException(String p0, Throwable p1){}
|
||||
public JellyTagException(String p0, Throwable p1, String p2, String p3, int p4, int p5){}
|
||||
public JellyTagException(Throwable p0){}
|
||||
public JellyTagException(Throwable p0, String p1, String p2, int p3, int p4){}
|
||||
}
|
||||
16
java/ql/test/stubs/apache-commons-jelly-1.0.1/org/apache/commons/jelly/LocationAware.java
generated
Normal file
16
java/ql/test/stubs/apache-commons-jelly-1.0.1/org/apache/commons/jelly/LocationAware.java
generated
Normal file
@@ -0,0 +1,16 @@
|
||||
// Generated automatically from org.apache.commons.jelly.LocationAware for testing purposes
|
||||
|
||||
package org.apache.commons.jelly;
|
||||
|
||||
|
||||
public interface LocationAware
|
||||
{
|
||||
String getElementName();
|
||||
String getFileName();
|
||||
int getColumnNumber();
|
||||
int getLineNumber();
|
||||
void setColumnNumber(int p0);
|
||||
void setElementName(String p0);
|
||||
void setFileName(String p0);
|
||||
void setLineNumber(int p0);
|
||||
}
|
||||
12
java/ql/test/stubs/apache-commons-jelly-1.0.1/org/apache/commons/jelly/Script.java
generated
Normal file
12
java/ql/test/stubs/apache-commons-jelly-1.0.1/org/apache/commons/jelly/Script.java
generated
Normal file
@@ -0,0 +1,12 @@
|
||||
// Generated automatically from org.apache.commons.jelly.Script for testing purposes
|
||||
|
||||
package org.apache.commons.jelly;
|
||||
|
||||
import org.apache.commons.jelly.JellyContext;
|
||||
import org.apache.commons.jelly.XMLOutput;
|
||||
|
||||
public interface Script
|
||||
{
|
||||
Script compile();
|
||||
void run(JellyContext p0, XMLOutput p1);
|
||||
}
|
||||
19
java/ql/test/stubs/apache-commons-jelly-1.0.1/org/apache/commons/jelly/Tag.java
generated
Normal file
19
java/ql/test/stubs/apache-commons-jelly-1.0.1/org/apache/commons/jelly/Tag.java
generated
Normal file
@@ -0,0 +1,19 @@
|
||||
// Generated automatically from org.apache.commons.jelly.Tag for testing purposes
|
||||
|
||||
package org.apache.commons.jelly;
|
||||
|
||||
import org.apache.commons.jelly.JellyContext;
|
||||
import org.apache.commons.jelly.Script;
|
||||
import org.apache.commons.jelly.XMLOutput;
|
||||
|
||||
public interface Tag
|
||||
{
|
||||
JellyContext getContext();
|
||||
Script getBody();
|
||||
Tag getParent();
|
||||
void doTag(XMLOutput p0);
|
||||
void invokeBody(XMLOutput p0);
|
||||
void setBody(Script p0);
|
||||
void setContext(JellyContext p0);
|
||||
void setParent(Tag p0);
|
||||
}
|
||||
23
java/ql/test/stubs/apache-commons-jelly-1.0.1/org/apache/commons/jelly/TagLibrary.java
generated
Normal file
23
java/ql/test/stubs/apache-commons-jelly-1.0.1/org/apache/commons/jelly/TagLibrary.java
generated
Normal file
@@ -0,0 +1,23 @@
|
||||
// Generated automatically from org.apache.commons.jelly.TagLibrary for testing purposes
|
||||
|
||||
package org.apache.commons.jelly;
|
||||
|
||||
import java.util.Map;
|
||||
import org.apache.commons.jelly.Tag;
|
||||
import org.apache.commons.jelly.expression.Expression;
|
||||
import org.apache.commons.jelly.expression.ExpressionFactory;
|
||||
import org.apache.commons.jelly.impl.TagFactory;
|
||||
import org.apache.commons.jelly.impl.TagScript;
|
||||
import org.xml.sax.Attributes;
|
||||
|
||||
abstract public class TagLibrary
|
||||
{
|
||||
protected ExpressionFactory getExpressionFactory(){ return null; }
|
||||
protected Map getTagClasses(){ return null; }
|
||||
protected void registerTag(String p0, Class p1){}
|
||||
protected void registerTagFactory(String p0, TagFactory p1){}
|
||||
public Expression createExpression(ExpressionFactory p0, TagScript p1, String p2, String p3){ return null; }
|
||||
public Tag createTag(String p0, Attributes p1){ return null; }
|
||||
public TagLibrary(){}
|
||||
public TagScript createTagScript(String p0, Attributes p1){ return null; }
|
||||
}
|
||||
59
java/ql/test/stubs/apache-commons-jelly-1.0.1/org/apache/commons/jelly/XMLOutput.java
generated
Normal file
59
java/ql/test/stubs/apache-commons-jelly-1.0.1/org/apache/commons/jelly/XMLOutput.java
generated
Normal file
@@ -0,0 +1,59 @@
|
||||
// Generated automatically from org.apache.commons.jelly.XMLOutput for testing purposes
|
||||
|
||||
package org.apache.commons.jelly;
|
||||
|
||||
import java.io.OutputStream;
|
||||
import java.io.Writer;
|
||||
import org.dom4j.io.XMLWriter;
|
||||
import org.xml.sax.Attributes;
|
||||
import org.xml.sax.ContentHandler;
|
||||
import org.xml.sax.Locator;
|
||||
import org.xml.sax.XMLReader;
|
||||
import org.xml.sax.ext.LexicalHandler;
|
||||
|
||||
public class XMLOutput implements ContentHandler, LexicalHandler
|
||||
{
|
||||
protected static String[] LEXICAL_HANDLER_NAMES = null;
|
||||
protected static XMLOutput createXMLOutput(XMLWriter p0){ return null; }
|
||||
public ContentHandler getContentHandler(){ return null; }
|
||||
public LexicalHandler getLexicalHandler(){ return null; }
|
||||
public String toString(){ return null; }
|
||||
public XMLOutput(){}
|
||||
public XMLOutput(ContentHandler p0){}
|
||||
public XMLOutput(ContentHandler p0, LexicalHandler p1){}
|
||||
public static XMLOutput createDummyXMLOutput(){ return null; }
|
||||
public static XMLOutput createXMLOutput(OutputStream p0){ return null; }
|
||||
public static XMLOutput createXMLOutput(OutputStream p0, boolean p1){ return null; }
|
||||
public static XMLOutput createXMLOutput(Writer p0){ return null; }
|
||||
public static XMLOutput createXMLOutput(Writer p0, boolean p1){ return null; }
|
||||
public static XMLOutput createXMLOutput(XMLReader p0){ return null; }
|
||||
public void characters(char[] p0, int p1, int p2){}
|
||||
public void close(){}
|
||||
public void comment(char[] p0, int p1, int p2){}
|
||||
public void endCDATA(){}
|
||||
public void endDTD(){}
|
||||
public void endDocument(){}
|
||||
public void endElement(String p0){}
|
||||
public void endElement(String p0, String p1, String p2){}
|
||||
public void endEntity(String p0){}
|
||||
public void endPrefixMapping(String p0){}
|
||||
public void flush(){}
|
||||
public void ignorableWhitespace(char[] p0, int p1, int p2){}
|
||||
public void objectData(Object p0){}
|
||||
public void processingInstruction(String p0, String p1){}
|
||||
public void setContentHandler(ContentHandler p0){}
|
||||
public void setDocumentLocator(Locator p0){}
|
||||
public void setLexicalHandler(LexicalHandler p0){}
|
||||
public void skippedEntity(String p0){}
|
||||
public void startCDATA(){}
|
||||
public void startDTD(String p0, String p1, String p2){}
|
||||
public void startDocument(){}
|
||||
public void startElement(String p0){}
|
||||
public void startElement(String p0, Attributes p1){}
|
||||
public void startElement(String p0, String p1, String p2, Attributes p3){}
|
||||
public void startEntity(String p0){}
|
||||
public void startPrefixMapping(String p0, String p1){}
|
||||
public void write(String p0){}
|
||||
public void writeCDATA(String p0){}
|
||||
public void writeComment(String p0){}
|
||||
}
|
||||
16
java/ql/test/stubs/apache-commons-jelly-1.0.1/org/apache/commons/jelly/expression/Expression.java
generated
Normal file
16
java/ql/test/stubs/apache-commons-jelly-1.0.1/org/apache/commons/jelly/expression/Expression.java
generated
Normal file
@@ -0,0 +1,16 @@
|
||||
// Generated automatically from org.apache.commons.jelly.expression.Expression for testing purposes
|
||||
|
||||
package org.apache.commons.jelly.expression;
|
||||
|
||||
import java.util.Iterator;
|
||||
import org.apache.commons.jelly.JellyContext;
|
||||
|
||||
public interface Expression
|
||||
{
|
||||
Iterator evaluateAsIterator(JellyContext p0);
|
||||
Object evaluate(JellyContext p0);
|
||||
Object evaluateRecurse(JellyContext p0);
|
||||
String evaluateAsString(JellyContext p0);
|
||||
String getExpressionText();
|
||||
boolean evaluateAsBoolean(JellyContext p0);
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
// Generated automatically from org.apache.commons.jelly.expression.ExpressionFactory for testing purposes
|
||||
|
||||
package org.apache.commons.jelly.expression;
|
||||
|
||||
import org.apache.commons.jelly.expression.Expression;
|
||||
|
||||
public interface ExpressionFactory
|
||||
{
|
||||
Expression createExpression(String p0);
|
||||
}
|
||||
20
java/ql/test/stubs/apache-commons-jelly-1.0.1/org/apache/commons/jelly/impl/ScriptBlock.java
generated
Normal file
20
java/ql/test/stubs/apache-commons-jelly-1.0.1/org/apache/commons/jelly/impl/ScriptBlock.java
generated
Normal file
@@ -0,0 +1,20 @@
|
||||
// Generated automatically from org.apache.commons.jelly.impl.ScriptBlock for testing purposes
|
||||
|
||||
package org.apache.commons.jelly.impl;
|
||||
|
||||
import java.util.List;
|
||||
import org.apache.commons.jelly.JellyContext;
|
||||
import org.apache.commons.jelly.Script;
|
||||
import org.apache.commons.jelly.XMLOutput;
|
||||
|
||||
public class ScriptBlock implements Script
|
||||
{
|
||||
public List getScriptList(){ return null; }
|
||||
public Script compile(){ return null; }
|
||||
public ScriptBlock(){}
|
||||
public String toString(){ return null; }
|
||||
public void addScript(Script p0){}
|
||||
public void removeScript(Script p0){}
|
||||
public void run(JellyContext p0, XMLOutput p1){}
|
||||
public void trimWhitespace(){}
|
||||
}
|
||||
11
java/ql/test/stubs/apache-commons-jelly-1.0.1/org/apache/commons/jelly/impl/TagFactory.java
generated
Normal file
11
java/ql/test/stubs/apache-commons-jelly-1.0.1/org/apache/commons/jelly/impl/TagFactory.java
generated
Normal file
@@ -0,0 +1,11 @@
|
||||
// Generated automatically from org.apache.commons.jelly.impl.TagFactory for testing purposes
|
||||
|
||||
package org.apache.commons.jelly.impl;
|
||||
|
||||
import org.apache.commons.jelly.Tag;
|
||||
import org.xml.sax.Attributes;
|
||||
|
||||
public interface TagFactory
|
||||
{
|
||||
Tag createTag(String p0, Attributes p1);
|
||||
}
|
||||
64
java/ql/test/stubs/apache-commons-jelly-1.0.1/org/apache/commons/jelly/impl/TagScript.java
generated
Normal file
64
java/ql/test/stubs/apache-commons-jelly-1.0.1/org/apache/commons/jelly/impl/TagScript.java
generated
Normal file
@@ -0,0 +1,64 @@
|
||||
// Generated automatically from org.apache.commons.jelly.impl.TagScript for testing purposes
|
||||
|
||||
package org.apache.commons.jelly.impl;
|
||||
|
||||
import java.util.Map;
|
||||
import org.apache.commons.jelly.JellyContext;
|
||||
import org.apache.commons.jelly.JellyException;
|
||||
import org.apache.commons.jelly.JellyTagException;
|
||||
import org.apache.commons.jelly.LocationAware;
|
||||
import org.apache.commons.jelly.Script;
|
||||
import org.apache.commons.jelly.Tag;
|
||||
import org.apache.commons.jelly.XMLOutput;
|
||||
import org.apache.commons.jelly.expression.Expression;
|
||||
import org.apache.commons.jelly.impl.TagFactory;
|
||||
import org.xml.sax.Attributes;
|
||||
import org.xml.sax.Locator;
|
||||
|
||||
public class TagScript implements Script
|
||||
{
|
||||
protected JellyException createJellyException(String p0){ return null; }
|
||||
protected JellyException createJellyException(String p0, Exception p1){ return null; }
|
||||
protected Map attributes = null;
|
||||
protected Object convertType(Object p0, Class p1){ return null; }
|
||||
protected Tag createTag(){ return null; }
|
||||
protected void applyLocation(LocationAware p0){}
|
||||
protected void configureTag(Tag p0, JellyContext p1){}
|
||||
protected void endNamespacePrefixes(XMLOutput p0){}
|
||||
protected void handleException(Error p0){}
|
||||
protected void handleException(Exception p0){}
|
||||
protected void handleException(JellyException p0){}
|
||||
protected void handleException(JellyTagException p0){}
|
||||
protected void setContextURLs(JellyContext p0){}
|
||||
protected void setTag(Tag p0, JellyContext p1){}
|
||||
protected void startNamespacePrefixes(XMLOutput p0){}
|
||||
public Attributes getSaxAttributes(){ return null; }
|
||||
public Map getNamespaceContext(){ return null; }
|
||||
public Script compile(){ return null; }
|
||||
public Script getTagBody(){ return null; }
|
||||
public String getElementName(){ return null; }
|
||||
public String getFileName(){ return null; }
|
||||
public String getLocalName(){ return null; }
|
||||
public String toString(){ return null; }
|
||||
public Tag getTag(JellyContext p0){ return null; }
|
||||
public TagFactory getTagFactory(){ return null; }
|
||||
public TagScript getParent(){ return null; }
|
||||
public TagScript(){}
|
||||
public TagScript(TagFactory p0){}
|
||||
public int getColumnNumber(){ return 0; }
|
||||
public int getLineNumber(){ return 0; }
|
||||
public static TagScript newInstance(Class p0){ return null; }
|
||||
public void addAttribute(String p0, Expression p1){}
|
||||
public void run(JellyContext p0, XMLOutput p1){}
|
||||
public void setColumnNumber(int p0){}
|
||||
public void setElementName(String p0){}
|
||||
public void setFileName(String p0){}
|
||||
public void setLineNumber(int p0){}
|
||||
public void setLocalName(String p0){}
|
||||
public void setLocator(Locator p0){}
|
||||
public void setParent(TagScript p0){}
|
||||
public void setSaxAttributes(Attributes p0){}
|
||||
public void setTagBody(Script p0){}
|
||||
public void setTagFactory(TagFactory p0){}
|
||||
public void setTagNamespacesMap(Map p0){}
|
||||
}
|
||||
99
java/ql/test/stubs/apache-commons-jelly-1.0.1/org/apache/commons/jelly/parser/XMLParser.java
generated
Normal file
99
java/ql/test/stubs/apache-commons-jelly-1.0.1/org/apache/commons/jelly/parser/XMLParser.java
generated
Normal file
@@ -0,0 +1,99 @@
|
||||
// Generated automatically from org.apache.commons.jelly.parser.XMLParser for testing purposes
|
||||
|
||||
package org.apache.commons.jelly.parser;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.InputStream;
|
||||
import java.io.Reader;
|
||||
import java.net.URL;
|
||||
import java.util.Map;
|
||||
import java.util.Properties;
|
||||
import javax.xml.parsers.SAXParser;
|
||||
import javax.xml.parsers.SAXParserFactory;
|
||||
import org.apache.commons.jelly.JellyContext;
|
||||
import org.apache.commons.jelly.Script;
|
||||
import org.apache.commons.jelly.expression.Expression;
|
||||
import org.apache.commons.jelly.expression.ExpressionFactory;
|
||||
import org.apache.commons.jelly.impl.ScriptBlock;
|
||||
import org.apache.commons.jelly.impl.TagScript;
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.xml.sax.Attributes;
|
||||
import org.xml.sax.ErrorHandler;
|
||||
import org.xml.sax.InputSource;
|
||||
import org.xml.sax.Locator;
|
||||
import org.xml.sax.SAXException;
|
||||
import org.xml.sax.SAXParseException;
|
||||
import org.xml.sax.XMLReader;
|
||||
import org.xml.sax.helpers.DefaultHandler;
|
||||
|
||||
public class XMLParser extends DefaultHandler
|
||||
{
|
||||
protected ClassLoader classLoader = null;
|
||||
protected ErrorHandler errorHandler = null;
|
||||
protected Expression createConstantExpression(String p0, String p1, String p2){ return null; }
|
||||
protected ExpressionFactory createExpressionFactory(){ return null; }
|
||||
protected Locator locator = null;
|
||||
protected Map namespaces = null;
|
||||
protected Properties getJellyProperties(){ return null; }
|
||||
protected SAXException createSAXException(Exception p0){ return null; }
|
||||
protected SAXException createSAXException(String p0){ return null; }
|
||||
protected SAXException createSAXException(String p0, Exception p1){ return null; }
|
||||
protected SAXParser parser = null;
|
||||
protected String getCurrentURI(){ return null; }
|
||||
protected TagScript createStaticTag(String p0, String p1, String p2, Attributes p3){ return null; }
|
||||
protected TagScript createTag(String p0, String p1, Attributes p2){ return null; }
|
||||
protected XMLReader reader = null;
|
||||
protected boolean useContextClassLoader = false;
|
||||
protected boolean validating = false;
|
||||
protected static SAXParserFactory factory = null;
|
||||
protected void addExpressionScript(ScriptBlock p0, Expression p1){}
|
||||
protected void addTextScript(String p0){}
|
||||
protected void configure(){}
|
||||
protected void configureTagScript(TagScript p0){}
|
||||
public ClassLoader getClassLoader(){ return null; }
|
||||
public ErrorHandler getErrorHandler(){ return null; }
|
||||
public ExpressionFactory getExpressionFactory(){ return null; }
|
||||
public JellyContext getContext(){ return null; }
|
||||
public Log getLogger(){ return null; }
|
||||
public SAXParser getParser(){ return null; }
|
||||
public Script parse(File p0){ return null; }
|
||||
public Script parse(InputSource p0){ return null; }
|
||||
public Script parse(InputStream p0){ return null; }
|
||||
public Script parse(Reader p0){ return null; }
|
||||
public Script parse(String p0){ return null; }
|
||||
public Script parse(URL p0){ return null; }
|
||||
public ScriptBlock getScript(){ return null; }
|
||||
public String findNamespaceURI(String p0){ return null; }
|
||||
public XMLParser(){}
|
||||
public XMLParser(SAXParser p0){}
|
||||
public XMLParser(XMLReader p0){}
|
||||
public XMLParser(boolean p0){}
|
||||
public XMLReader getReader(){ return null; }
|
||||
public XMLReader getXMLReader(){ return null; }
|
||||
public boolean getUseContextClassLoader(){ return false; }
|
||||
public boolean getValidating(){ return false; }
|
||||
public void characters(char[] p0, int p1, int p2){}
|
||||
public void endDocument(){}
|
||||
public void endElement(String p0, String p1, String p2){}
|
||||
public void endPrefixMapping(String p0){}
|
||||
public void error(SAXParseException p0){}
|
||||
public void fatalError(SAXParseException p0){}
|
||||
public void ignorableWhitespace(char[] p0, int p1, int p2){}
|
||||
public void notationDecl(String p0, String p1, String p2){}
|
||||
public void processingInstruction(String p0, String p1){}
|
||||
public void setClassLoader(ClassLoader p0){}
|
||||
public void setContext(JellyContext p0){}
|
||||
public void setDefaultNamespaceURI(String p0){}
|
||||
public void setDocumentLocator(Locator p0){}
|
||||
public void setErrorHandler(ErrorHandler p0){}
|
||||
public void setExpressionFactory(ExpressionFactory p0){}
|
||||
public void setLogger(Log p0){}
|
||||
public void setUseContextClassLoader(boolean p0){}
|
||||
public void setValidating(boolean p0){}
|
||||
public void skippedEntity(String p0){}
|
||||
public void startDocument(){}
|
||||
public void startElement(String p0, String p1, String p2, Attributes p3){}
|
||||
public void startPrefixMapping(String p0, String p1){}
|
||||
public void unparsedEntityDecl(String p0, String p1, String p2, String p3){}
|
||||
public void warning(SAXParseException p0){}
|
||||
}
|
||||
21
java/ql/test/stubs/dom4j-2.1.1/org/dom4j/Attribute.java
generated
Normal file
21
java/ql/test/stubs/dom4j-2.1.1/org/dom4j/Attribute.java
generated
Normal file
@@ -0,0 +1,21 @@
|
||||
// Generated automatically from org.dom4j.Attribute for testing purposes
|
||||
|
||||
package org.dom4j;
|
||||
|
||||
import org.dom4j.Namespace;
|
||||
import org.dom4j.Node;
|
||||
import org.dom4j.QName;
|
||||
|
||||
public interface Attribute extends Node
|
||||
{
|
||||
Namespace getNamespace();
|
||||
Object getData();
|
||||
QName getQName();
|
||||
String getNamespacePrefix();
|
||||
String getNamespaceURI();
|
||||
String getQualifiedName();
|
||||
String getValue();
|
||||
void setData(Object p0);
|
||||
void setNamespace(Namespace p0);
|
||||
void setValue(String p0);
|
||||
}
|
||||
87
java/ql/test/stubs/dom4j-2.1.1/org/dom4j/Branch.java
generated
87
java/ql/test/stubs/dom4j-2.1.1/org/dom4j/Branch.java
generated
@@ -1,54 +1,41 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
// Generated automatically from org.dom4j.Branch for testing purposes
|
||||
|
||||
package org.dom4j;
|
||||
|
||||
public interface Branch extends Node {
|
||||
}
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import org.dom4j.Comment;
|
||||
import org.dom4j.Element;
|
||||
import org.dom4j.Node;
|
||||
import org.dom4j.ProcessingInstruction;
|
||||
import org.dom4j.QName;
|
||||
|
||||
/*
|
||||
* Redistribution and use of this software and associated documentation
|
||||
* ("Software"), with or without modification, are permitted provided that the
|
||||
* following conditions are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain copyright statements and
|
||||
* notices. Redistributions must also contain a copy of this document.
|
||||
*
|
||||
* 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 name "DOM4J" must not be used to endorse or promote products derived
|
||||
* from this Software without prior written permission of MetaStuff, Ltd. For
|
||||
* written permission, please contact dom4j-info@metastuff.com.
|
||||
*
|
||||
* 4. Products derived from this Software may not be called "DOM4J" nor may
|
||||
* "DOM4J" appear in their names without prior written permission of MetaStuff,
|
||||
* Ltd. DOM4J is a registered trademark of MetaStuff, Ltd.
|
||||
*
|
||||
* 5. Due credit should be given to the DOM4J Project - http://www.dom4j.org
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY METASTUFF, LTD. AND CONTRIBUTORS ``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 METASTUFF, LTD. 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.
|
||||
*
|
||||
* Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.
|
||||
*/
|
||||
public interface Branch extends Node
|
||||
{
|
||||
Element addElement(QName p0);
|
||||
Element addElement(String p0);
|
||||
Element addElement(String p0, String p1);
|
||||
Element elementByID(String p0);
|
||||
Iterator nodeIterator();
|
||||
List content();
|
||||
List processingInstructions();
|
||||
List processingInstructions(String p0);
|
||||
Node node(int p0);
|
||||
ProcessingInstruction processingInstruction(String p0);
|
||||
boolean remove(Comment p0);
|
||||
boolean remove(Element p0);
|
||||
boolean remove(Node p0);
|
||||
boolean remove(ProcessingInstruction p0);
|
||||
boolean removeProcessingInstruction(String p0);
|
||||
int indexOf(Node p0);
|
||||
int nodeCount();
|
||||
void add(Comment p0);
|
||||
void add(Element p0);
|
||||
void add(Node p0);
|
||||
void add(ProcessingInstruction p0);
|
||||
void appendContent(Branch p0);
|
||||
void clearContent();
|
||||
void normalize();
|
||||
void setContent(List p0);
|
||||
void setProcessingInstructions(List p0);
|
||||
}
|
||||
|
||||
9
java/ql/test/stubs/dom4j-2.1.1/org/dom4j/CDATA.java
generated
Normal file
9
java/ql/test/stubs/dom4j-2.1.1/org/dom4j/CDATA.java
generated
Normal file
@@ -0,0 +1,9 @@
|
||||
// Generated automatically from org.dom4j.CDATA for testing purposes
|
||||
|
||||
package org.dom4j;
|
||||
|
||||
import org.dom4j.CharacterData;
|
||||
|
||||
public interface CDATA extends CharacterData
|
||||
{
|
||||
}
|
||||
10
java/ql/test/stubs/dom4j-2.1.1/org/dom4j/CharacterData.java
generated
Normal file
10
java/ql/test/stubs/dom4j-2.1.1/org/dom4j/CharacterData.java
generated
Normal file
@@ -0,0 +1,10 @@
|
||||
// Generated automatically from org.dom4j.CharacterData for testing purposes
|
||||
|
||||
package org.dom4j;
|
||||
|
||||
import org.dom4j.Node;
|
||||
|
||||
public interface CharacterData extends Node
|
||||
{
|
||||
void appendText(String p0);
|
||||
}
|
||||
9
java/ql/test/stubs/dom4j-2.1.1/org/dom4j/Comment.java
generated
Normal file
9
java/ql/test/stubs/dom4j-2.1.1/org/dom4j/Comment.java
generated
Normal file
@@ -0,0 +1,9 @@
|
||||
// Generated automatically from org.dom4j.Comment for testing purposes
|
||||
|
||||
package org.dom4j;
|
||||
|
||||
import org.dom4j.CharacterData;
|
||||
|
||||
public interface Comment extends CharacterData
|
||||
{
|
||||
}
|
||||
@@ -1,55 +1,24 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
// Generated automatically from org.dom4j.Document for testing purposes
|
||||
|
||||
package org.dom4j;
|
||||
|
||||
public interface Document extends Branch {
|
||||
import java.util.Map;
|
||||
import org.dom4j.Branch;
|
||||
import org.dom4j.DocumentType;
|
||||
import org.dom4j.Element;
|
||||
import org.xml.sax.EntityResolver;
|
||||
|
||||
public interface Document extends Branch
|
||||
{
|
||||
Document addComment(String p0);
|
||||
Document addDocType(String p0, String p1, String p2);
|
||||
Document addProcessingInstruction(String p0, Map p1);
|
||||
Document addProcessingInstruction(String p0, String p1);
|
||||
DocumentType getDocType();
|
||||
Element getRootElement();
|
||||
EntityResolver getEntityResolver();
|
||||
String getXMLEncoding();
|
||||
void setDocType(DocumentType p0);
|
||||
void setEntityResolver(EntityResolver p0);
|
||||
void setRootElement(Element p0);
|
||||
}
|
||||
|
||||
/*
|
||||
* Redistribution and use of this software and associated documentation
|
||||
* ("Software"), with or without modification, are permitted provided that the
|
||||
* following conditions are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain copyright statements and
|
||||
* notices. Redistributions must also contain a copy of this document.
|
||||
*
|
||||
* 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 name "DOM4J" must not be used to endorse or promote products derived
|
||||
* from this Software without prior written permission of MetaStuff, Ltd. For
|
||||
* written permission, please contact dom4j-info@metastuff.com.
|
||||
*
|
||||
* 4. Products derived from this Software may not be called "DOM4J" nor may
|
||||
* "DOM4J" appear in their names without prior written permission of MetaStuff,
|
||||
* Ltd. DOM4J is a registered trademark of MetaStuff, Ltd.
|
||||
*
|
||||
* 5. Due credit should be given to the DOM4J Project - http://www.dom4j.org
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY METASTUFF, LTD. AND CONTRIBUTORS ``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 METASTUFF, LTD. 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.
|
||||
*
|
||||
* Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.
|
||||
*/
|
||||
@@ -1,118 +1,62 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
// Generated automatically from org.dom4j.DocumentFactory for testing purposes
|
||||
|
||||
package org.dom4j;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.dom4j.Attribute;
|
||||
import org.dom4j.CDATA;
|
||||
import org.dom4j.Comment;
|
||||
import org.dom4j.Document;
|
||||
import org.dom4j.DocumentType;
|
||||
import org.dom4j.Element;
|
||||
import org.dom4j.Entity;
|
||||
import org.dom4j.Namespace;
|
||||
import org.dom4j.NodeFilter;
|
||||
import org.dom4j.ProcessingInstruction;
|
||||
import org.dom4j.QName;
|
||||
import org.dom4j.Text;
|
||||
import org.dom4j.XPath;
|
||||
import org.dom4j.rule.Pattern;
|
||||
import org.dom4j.tree.QNameCache;
|
||||
import org.jaxen.VariableContext;
|
||||
|
||||
public class DocumentFactory implements Serializable {
|
||||
public DocumentFactory() {
|
||||
}
|
||||
|
||||
public static synchronized DocumentFactory getInstance() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public Document createDocument() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public Document createDocument(String encoding) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public Document createDocument(Element rootElement) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public Element createElement(String name) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public Element createElement(String qualifiedName, String namespaceURI) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public Namespace createNamespace(String prefix, String uri) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public XPath createXPath(String xpathExpression) throws InvalidXPathException {
|
||||
return null;
|
||||
}
|
||||
|
||||
public XPath createXPath(String xpathExpression, VariableContext variableContext) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public NodeFilter createXPathFilter(String xpathFilterExpression, VariableContext variableContext) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public NodeFilter createXPathFilter(String xpathFilterExpression) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public Pattern createPattern(String xpathPattern) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public Map<String, String> getXPathNamespaceURIs() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public void setXPathNamespaceURIs(Map<String, String> namespaceURIs) {
|
||||
}
|
||||
|
||||
public class DocumentFactory implements Serializable
|
||||
{
|
||||
protected QName intern(QName p0){ return null; }
|
||||
protected QNameCache cache = null;
|
||||
protected QNameCache createQNameCache(){ return null; }
|
||||
protected static DocumentFactory createSingleton(String p0){ return null; }
|
||||
protected void init(){}
|
||||
public Attribute createAttribute(Element p0, QName p1, String p2){ return null; }
|
||||
public Attribute createAttribute(Element p0, String p1, String p2){ return null; }
|
||||
public CDATA createCDATA(String p0){ return null; }
|
||||
public Comment createComment(String p0){ return null; }
|
||||
public Document createDocument(){ return null; }
|
||||
public Document createDocument(Element p0){ return null; }
|
||||
public Document createDocument(String p0){ return null; }
|
||||
public DocumentFactory(){}
|
||||
public DocumentType createDocType(String p0, String p1, String p2){ return null; }
|
||||
public Element createElement(QName p0){ return null; }
|
||||
public Element createElement(String p0){ return null; }
|
||||
public Element createElement(String p0, String p1){ return null; }
|
||||
public Entity createEntity(String p0, String p1){ return null; }
|
||||
public List getQNames(){ return null; }
|
||||
public Map getXPathNamespaceURIs(){ return null; }
|
||||
public Namespace createNamespace(String p0, String p1){ return null; }
|
||||
public NodeFilter createXPathFilter(String p0){ return null; }
|
||||
public NodeFilter createXPathFilter(String p0, VariableContext p1){ return null; }
|
||||
public Pattern createPattern(String p0){ return null; }
|
||||
public ProcessingInstruction createProcessingInstruction(String p0, Map p1){ return null; }
|
||||
public ProcessingInstruction createProcessingInstruction(String p0, String p1){ return null; }
|
||||
public QName createQName(String p0){ return null; }
|
||||
public QName createQName(String p0, Namespace p1){ return null; }
|
||||
public QName createQName(String p0, String p1){ return null; }
|
||||
public QName createQName(String p0, String p1, String p2){ return null; }
|
||||
public Text createText(String p0){ return null; }
|
||||
public XPath createXPath(String p0){ return null; }
|
||||
public XPath createXPath(String p0, VariableContext p1){ return null; }
|
||||
public static DocumentFactory getInstance(){ return null; }
|
||||
public void setXPathNamespaceURIs(Map p0){}
|
||||
}
|
||||
|
||||
/*
|
||||
* Redistribution and use of this software and associated documentation
|
||||
* ("Software"), with or without modification, are permitted provided that the
|
||||
* following conditions are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain copyright statements and
|
||||
* notices. Redistributions must also contain a copy of this document.
|
||||
*
|
||||
* 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 name "DOM4J" must not be used to endorse or promote products derived
|
||||
* from this Software without prior written permission of MetaStuff, Ltd. For
|
||||
* written permission, please contact dom4j-info@metastuff.com.
|
||||
*
|
||||
* 4. Products derived from this Software may not be called "DOM4J" nor may
|
||||
* "DOM4J" appear in their names without prior written permission of MetaStuff,
|
||||
* Ltd. DOM4J is a registered trademark of MetaStuff, Ltd.
|
||||
*
|
||||
* 5. Due credit should be given to the DOM4J Project - http://www.dom4j.org
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY METASTUFF, LTD. AND CONTRIBUTORS ``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 METASTUFF, LTD. 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.
|
||||
*
|
||||
* Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.
|
||||
*/
|
||||
20
java/ql/test/stubs/dom4j-2.1.1/org/dom4j/DocumentType.java
generated
Normal file
20
java/ql/test/stubs/dom4j-2.1.1/org/dom4j/DocumentType.java
generated
Normal file
@@ -0,0 +1,20 @@
|
||||
// Generated automatically from org.dom4j.DocumentType for testing purposes
|
||||
|
||||
package org.dom4j;
|
||||
|
||||
import java.util.List;
|
||||
import org.dom4j.Node;
|
||||
|
||||
public interface DocumentType extends Node
|
||||
{
|
||||
List getExternalDeclarations();
|
||||
List getInternalDeclarations();
|
||||
String getElementName();
|
||||
String getPublicID();
|
||||
String getSystemID();
|
||||
void setElementName(String p0);
|
||||
void setExternalDeclarations(List p0);
|
||||
void setInternalDeclarations(List p0);
|
||||
void setPublicID(String p0);
|
||||
void setSystemID(String p0);
|
||||
}
|
||||
212
java/ql/test/stubs/dom4j-2.1.1/org/dom4j/Element.java
generated
212
java/ql/test/stubs/dom4j-2.1.1/org/dom4j/Element.java
generated
@@ -1,140 +1,88 @@
|
||||
/*
|
||||
* Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.
|
||||
*
|
||||
* This software is open source.
|
||||
* See the bottom of this file for the licence.
|
||||
*/
|
||||
// Generated automatically from org.dom4j.Element for testing purposes
|
||||
|
||||
/*
|
||||
* 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;
|
||||
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import org.dom4j.Attribute;
|
||||
import org.dom4j.Branch;
|
||||
import org.dom4j.CDATA;
|
||||
import org.dom4j.Entity;
|
||||
import org.dom4j.Namespace;
|
||||
import org.dom4j.Node;
|
||||
import org.dom4j.QName;
|
||||
import org.dom4j.Text;
|
||||
|
||||
public interface Element extends Branch {
|
||||
|
||||
Namespace getNamespace();
|
||||
|
||||
Namespace getNamespaceForPrefix(String prefix);
|
||||
|
||||
Namespace getNamespaceForURI(String uri);
|
||||
|
||||
List<Namespace> getNamespacesForURI(String uri);
|
||||
|
||||
String getNamespacePrefix();
|
||||
|
||||
String getNamespaceURI();
|
||||
|
||||
String getQualifiedName();
|
||||
|
||||
List<Namespace> additionalNamespaces();
|
||||
|
||||
List<Namespace> declaredNamespaces();
|
||||
|
||||
Element addAttribute(String name, String value);
|
||||
|
||||
Element addComment(String comment);
|
||||
|
||||
Element addCDATA(String cdata);
|
||||
|
||||
Element addEntity(String name, String text);
|
||||
|
||||
Element addNamespace(String prefix, String uri);
|
||||
|
||||
Element addProcessingInstruction(String target, String text);
|
||||
|
||||
Element addProcessingInstruction(String target, Map<String, String> data);
|
||||
|
||||
Element addText(String text);
|
||||
|
||||
void add(Namespace namespace);
|
||||
|
||||
String getText();
|
||||
|
||||
String getTextTrim();
|
||||
|
||||
String getStringValue();
|
||||
|
||||
Object getData();
|
||||
|
||||
void setData(Object data);
|
||||
|
||||
int attributeCount();
|
||||
|
||||
String attributeValue(String name);
|
||||
|
||||
String attributeValue(String name, String defaultValue);
|
||||
|
||||
void setAttributeValue(String name, String value);
|
||||
|
||||
Element element(String name);
|
||||
|
||||
List<Element> elements();
|
||||
|
||||
List<Element> elements(String name);
|
||||
|
||||
Iterator<Element> elementIterator();
|
||||
|
||||
Iterator<Element> elementIterator(String name);
|
||||
|
||||
boolean isRootElement();
|
||||
|
||||
boolean hasMixedContent();
|
||||
|
||||
boolean isTextOnly();
|
||||
|
||||
void appendAttributes(Element element);
|
||||
|
||||
Element createCopy();
|
||||
|
||||
Element createCopy(String name);
|
||||
|
||||
String elementText(String name);
|
||||
|
||||
String elementTextTrim(String name);
|
||||
|
||||
Node getXPathResult(int index);
|
||||
|
||||
public interface Element extends Branch
|
||||
{
|
||||
Attribute attribute(QName p0);
|
||||
Attribute attribute(String p0);
|
||||
Attribute attribute(int p0);
|
||||
Element addAttribute(QName p0, String p1);
|
||||
Element addAttribute(String p0, String p1);
|
||||
Element addCDATA(String p0);
|
||||
Element addComment(String p0);
|
||||
Element addEntity(String p0, String p1);
|
||||
Element addNamespace(String p0, String p1);
|
||||
Element addProcessingInstruction(String p0, Map p1);
|
||||
Element addProcessingInstruction(String p0, String p1);
|
||||
Element addText(String p0);
|
||||
Element createCopy();
|
||||
Element createCopy(QName p0);
|
||||
Element createCopy(String p0);
|
||||
Element element(QName p0);
|
||||
Element element(String p0);
|
||||
Iterator attributeIterator();
|
||||
Iterator elementIterator();
|
||||
Iterator elementIterator(QName p0);
|
||||
Iterator elementIterator(String p0);
|
||||
List additionalNamespaces();
|
||||
List attributes();
|
||||
List declaredNamespaces();
|
||||
List elements();
|
||||
List elements(QName p0);
|
||||
List elements(String p0);
|
||||
List getNamespacesForURI(String p0);
|
||||
Namespace getNamespace();
|
||||
Namespace getNamespaceForPrefix(String p0);
|
||||
Namespace getNamespaceForURI(String p0);
|
||||
Node getXPathResult(int p0);
|
||||
Object getData();
|
||||
QName getQName();
|
||||
QName getQName(String p0);
|
||||
String attributeValue(QName p0);
|
||||
String attributeValue(QName p0, String p1);
|
||||
String attributeValue(String p0);
|
||||
String attributeValue(String p0, String p1);
|
||||
String elementText(QName p0);
|
||||
String elementText(String p0);
|
||||
String elementTextTrim(QName p0);
|
||||
String elementTextTrim(String p0);
|
||||
String getNamespacePrefix();
|
||||
String getNamespaceURI();
|
||||
String getQualifiedName();
|
||||
String getStringValue();
|
||||
String getText();
|
||||
String getTextTrim();
|
||||
boolean hasMixedContent();
|
||||
boolean isRootElement();
|
||||
boolean isTextOnly();
|
||||
boolean remove(Attribute p0);
|
||||
boolean remove(CDATA p0);
|
||||
boolean remove(Entity p0);
|
||||
boolean remove(Namespace p0);
|
||||
boolean remove(Text p0);
|
||||
int attributeCount();
|
||||
void add(Attribute p0);
|
||||
void add(CDATA p0);
|
||||
void add(Entity p0);
|
||||
void add(Namespace p0);
|
||||
void add(Text p0);
|
||||
void appendAttributes(Element p0);
|
||||
void setAttributeValue(QName p0, String p1);
|
||||
void setAttributeValue(String p0, String p1);
|
||||
void setAttributes(List p0);
|
||||
void setData(Object p0);
|
||||
void setQName(QName p0);
|
||||
}
|
||||
|
||||
/*
|
||||
* Redistribution and use of this software and associated documentation
|
||||
* ("Software"), with or without modification, are permitted provided that the
|
||||
* following conditions are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain copyright statements and
|
||||
* notices. Redistributions must also contain a copy of this document.
|
||||
*
|
||||
* 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 name "DOM4J" must not be used to endorse or promote products derived
|
||||
* from this Software without prior written permission of MetaStuff, Ltd. For
|
||||
* written permission, please contact dom4j-info@metastuff.com.
|
||||
*
|
||||
* 4. Products derived from this Software may not be called "DOM4J" nor may
|
||||
* "DOM4J" appear in their names without prior written permission of MetaStuff,
|
||||
* Ltd. DOM4J is a registered trademark of MetaStuff, Ltd.
|
||||
*
|
||||
* 5. Due credit should be given to the DOM4J Project - http://www.dom4j.org
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY METASTUFF, LTD. AND CONTRIBUTORS ``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 METASTUFF, LTD. 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.
|
||||
*
|
||||
* Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.
|
||||
*/
|
||||
9
java/ql/test/stubs/dom4j-2.1.1/org/dom4j/Entity.java
generated
Normal file
9
java/ql/test/stubs/dom4j-2.1.1/org/dom4j/Entity.java
generated
Normal file
@@ -0,0 +1,9 @@
|
||||
// Generated automatically from org.dom4j.Entity for testing purposes
|
||||
|
||||
package org.dom4j;
|
||||
|
||||
import org.dom4j.Node;
|
||||
|
||||
public interface Entity extends Node
|
||||
{
|
||||
}
|
||||
142
java/ql/test/stubs/dom4j-2.1.1/org/dom4j/Namespace.java
generated
142
java/ql/test/stubs/dom4j-2.1.1/org/dom4j/Namespace.java
generated
@@ -1,119 +1,35 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
// Generated automatically from org.dom4j.Namespace for testing purposes
|
||||
|
||||
package org.dom4j;
|
||||
|
||||
import org.dom4j.Element;
|
||||
import org.dom4j.Node;
|
||||
import org.dom4j.Visitor;
|
||||
import org.dom4j.tree.AbstractNode;
|
||||
import org.dom4j.tree.NamespaceCache;
|
||||
|
||||
public class Namespace extends AbstractNode {
|
||||
|
||||
public Namespace(String prefix, String uri) {
|
||||
}
|
||||
|
||||
public static Namespace get(String prefix, String uri) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public static Namespace get(String uri) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public short getNodeType() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public boolean equals(Object object) {
|
||||
return false;
|
||||
}
|
||||
|
||||
public String getText() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public String getStringValue() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public String getPrefix() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public String getURI() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public String getXPathNameStep() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public String getPath(Element context) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public String getUniquePath(Element context) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public String asXML() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public void accept(Visitor visitor) {
|
||||
}
|
||||
|
||||
public class Namespace extends AbstractNode
|
||||
{
|
||||
protected Namespace() {}
|
||||
protected Node createXPathResult(Element p0){ return null; }
|
||||
protected int createHashCode(){ return 0; }
|
||||
protected static NamespaceCache cache = null;
|
||||
public Namespace(String p0, String p1){}
|
||||
public String asXML(){ return null; }
|
||||
public String getPath(Element p0){ return null; }
|
||||
public String getPrefix(){ return null; }
|
||||
public String getStringValue(){ return null; }
|
||||
public String getText(){ return null; }
|
||||
public String getURI(){ return null; }
|
||||
public String getUniquePath(Element p0){ return null; }
|
||||
public String getXPathNameStep(){ return null; }
|
||||
public String toString(){ return null; }
|
||||
public boolean equals(Object p0){ return false; }
|
||||
public int hashCode(){ return 0; }
|
||||
public short getNodeType(){ return 0; }
|
||||
public static Namespace NO_NAMESPACE = null;
|
||||
public static Namespace XML_NAMESPACE = null;
|
||||
public static Namespace get(String p0){ return null; }
|
||||
public static Namespace get(String p0, String p1){ return null; }
|
||||
public void accept(Visitor p0){}
|
||||
}
|
||||
|
||||
/*
|
||||
* Redistribution and use of this software and associated documentation
|
||||
* ("Software"), with or without modification, are permitted provided that the
|
||||
* following conditions are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain copyright statements and
|
||||
* notices. Redistributions must also contain a copy of this document.
|
||||
*
|
||||
* 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 name "DOM4J" must not be used to endorse or promote products derived
|
||||
* from this Software without prior written permission of MetaStuff, Ltd. For
|
||||
* written permission, please contact dom4j-info@metastuff.com.
|
||||
*
|
||||
* 4. Products derived from this Software may not be called "DOM4J" nor may
|
||||
* "DOM4J" appear in their names without prior written permission of MetaStuff,
|
||||
* Ltd. DOM4J is a registered trademark of MetaStuff, Ltd.
|
||||
*
|
||||
* 5. Due credit should be given to the DOM4J Project - http://www.dom4j.org
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY METASTUFF, LTD. AND CONTRIBUTORS ``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 METASTUFF, LTD. 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.
|
||||
*
|
||||
* Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.
|
||||
*/
|
||||
123
java/ql/test/stubs/dom4j-2.1.1/org/dom4j/Node.java
generated
123
java/ql/test/stubs/dom4j-2.1.1/org/dom4j/Node.java
generated
@@ -1,75 +1,60 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
// Generated automatically from org.dom4j.Node for testing purposes
|
||||
|
||||
package org.dom4j;
|
||||
|
||||
import java.io.Writer;
|
||||
import java.util.List;
|
||||
import org.dom4j.Document;
|
||||
import org.dom4j.Element;
|
||||
import org.dom4j.Visitor;
|
||||
import org.dom4j.XPath;
|
||||
|
||||
public interface Node extends Cloneable {
|
||||
|
||||
List<Node> selectNodes(String xpathExpression);
|
||||
|
||||
Object selectObject(String xpathExpression);
|
||||
|
||||
List<Node> selectNodes(String xpathExpression, String comparisonXPathExpression);
|
||||
|
||||
List<Node> selectNodes(String xpathExpression, String comparisonXPathExpression, boolean removeDuplicates);
|
||||
|
||||
Node selectSingleNode(String xpathExpression);
|
||||
|
||||
String valueOf(String xpathExpression);
|
||||
|
||||
Number numberValueOf(String xpathExpression);
|
||||
|
||||
boolean matches(String xpathExpression);
|
||||
|
||||
XPath createXPath(String xpathExpression) throws InvalidXPathException;
|
||||
|
||||
public interface Node extends Cloneable
|
||||
{
|
||||
Document getDocument();
|
||||
Element getParent();
|
||||
List selectNodes(String p0);
|
||||
List selectNodes(String p0, String p1);
|
||||
List selectNodes(String p0, String p1, boolean p2);
|
||||
Node asXPathResult(Element p0);
|
||||
Node detach();
|
||||
Node selectSingleNode(String p0);
|
||||
Number numberValueOf(String p0);
|
||||
Object clone();
|
||||
Object selectObject(String p0);
|
||||
String asXML();
|
||||
String getName();
|
||||
String getNodeTypeName();
|
||||
String getPath();
|
||||
String getPath(Element p0);
|
||||
String getStringValue();
|
||||
String getText();
|
||||
String getUniquePath();
|
||||
String getUniquePath(Element p0);
|
||||
String valueOf(String p0);
|
||||
XPath createXPath(String p0);
|
||||
boolean hasContent();
|
||||
boolean isReadOnly();
|
||||
boolean matches(String p0);
|
||||
boolean supportsParent();
|
||||
short getNodeType();
|
||||
static short ANY_NODE = 0;
|
||||
static short ATTRIBUTE_NODE = 0;
|
||||
static short CDATA_SECTION_NODE = 0;
|
||||
static short COMMENT_NODE = 0;
|
||||
static short DOCUMENT_NODE = 0;
|
||||
static short DOCUMENT_TYPE_NODE = 0;
|
||||
static short ELEMENT_NODE = 0;
|
||||
static short ENTITY_REFERENCE_NODE = 0;
|
||||
static short MAX_NODE_TYPE = 0;
|
||||
static short NAMESPACE_NODE = 0;
|
||||
static short PROCESSING_INSTRUCTION_NODE = 0;
|
||||
static short TEXT_NODE = 0;
|
||||
static short UNKNOWN_NODE = 0;
|
||||
void accept(Visitor p0);
|
||||
void setDocument(Document p0);
|
||||
void setName(String p0);
|
||||
void setParent(Element p0);
|
||||
void setText(String p0);
|
||||
void write(Writer p0);
|
||||
}
|
||||
|
||||
/*
|
||||
* Redistribution and use of this software and associated documentation
|
||||
* ("Software"), with or without modification, are permitted provided that the
|
||||
* following conditions are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain copyright statements and
|
||||
* notices. Redistributions must also contain a copy of this document.
|
||||
*
|
||||
* 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 name "DOM4J" must not be used to endorse or promote products derived
|
||||
* from this Software without prior written permission of MetaStuff, Ltd. For
|
||||
* written permission, please contact dom4j-info@metastuff.com.
|
||||
*
|
||||
* 4. Products derived from this Software may not be called "DOM4J" nor may
|
||||
* "DOM4J" appear in their names without prior written permission of MetaStuff,
|
||||
* Ltd. DOM4J is a registered trademark of MetaStuff, Ltd.
|
||||
*
|
||||
* 5. Due credit should be given to the DOM4J Project - http://www.dom4j.org
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY METASTUFF, LTD. AND CONTRIBUTORS ``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 METASTUFF, LTD. 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.
|
||||
*
|
||||
* Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.
|
||||
*/
|
||||
@@ -1,56 +1,10 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
// Generated automatically from org.dom4j.NodeFilter for testing purposes
|
||||
|
||||
package org.dom4j;
|
||||
|
||||
public interface NodeFilter {
|
||||
boolean matches(Node node);
|
||||
import org.dom4j.Node;
|
||||
|
||||
public interface NodeFilter
|
||||
{
|
||||
boolean matches(Node p0);
|
||||
}
|
||||
|
||||
/*
|
||||
* Redistribution and use of this software and associated documentation
|
||||
* ("Software"), with or without modification, are permitted provided that the
|
||||
* following conditions are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain copyright statements and
|
||||
* notices. Redistributions must also contain a copy of this document.
|
||||
*
|
||||
* 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 name "DOM4J" must not be used to endorse or promote products derived
|
||||
* from this Software without prior written permission of MetaStuff, Ltd. For
|
||||
* written permission, please contact dom4j-info@metastuff.com.
|
||||
*
|
||||
* 4. Products derived from this Software may not be called "DOM4J" nor may
|
||||
* "DOM4J" appear in their names without prior written permission of MetaStuff,
|
||||
* Ltd. DOM4J is a registered trademark of MetaStuff, Ltd.
|
||||
*
|
||||
* 5. Due credit should be given to the DOM4J Project - http://www.dom4j.org
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY METASTUFF, LTD. AND CONTRIBUTORS ``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 METASTUFF, LTD. 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.
|
||||
*
|
||||
* Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.
|
||||
*/
|
||||
18
java/ql/test/stubs/dom4j-2.1.1/org/dom4j/ProcessingInstruction.java
generated
Normal file
18
java/ql/test/stubs/dom4j-2.1.1/org/dom4j/ProcessingInstruction.java
generated
Normal file
@@ -0,0 +1,18 @@
|
||||
// Generated automatically from org.dom4j.ProcessingInstruction for testing purposes
|
||||
|
||||
package org.dom4j;
|
||||
|
||||
import java.util.Map;
|
||||
import org.dom4j.Node;
|
||||
|
||||
public interface ProcessingInstruction extends Node
|
||||
{
|
||||
Map getValues();
|
||||
String getTarget();
|
||||
String getText();
|
||||
String getValue(String p0);
|
||||
boolean removeValue(String p0);
|
||||
void setTarget(String p0);
|
||||
void setValue(String p0, String p1);
|
||||
void setValues(Map p0);
|
||||
}
|
||||
31
java/ql/test/stubs/dom4j-2.1.1/org/dom4j/QName.java
generated
Normal file
31
java/ql/test/stubs/dom4j-2.1.1/org/dom4j/QName.java
generated
Normal file
@@ -0,0 +1,31 @@
|
||||
// Generated automatically from org.dom4j.QName for testing purposes
|
||||
|
||||
package org.dom4j;
|
||||
|
||||
import java.io.Serializable;
|
||||
import org.dom4j.DocumentFactory;
|
||||
import org.dom4j.Namespace;
|
||||
|
||||
public class QName implements Serializable
|
||||
{
|
||||
protected QName() {}
|
||||
protected static ThreadLocal cachePerThread = null;
|
||||
public DocumentFactory getDocumentFactory(){ return null; }
|
||||
public Namespace getNamespace(){ return null; }
|
||||
public QName(String p0){}
|
||||
public QName(String p0, Namespace p1){}
|
||||
public QName(String p0, Namespace p1, String p2){}
|
||||
public String getName(){ return null; }
|
||||
public String getNamespacePrefix(){ return null; }
|
||||
public String getNamespaceURI(){ return null; }
|
||||
public String getQualifiedName(){ return null; }
|
||||
public String toString(){ return null; }
|
||||
public boolean equals(Object p0){ return false; }
|
||||
public int hashCode(){ return 0; }
|
||||
public static QName get(String p0){ return null; }
|
||||
public static QName get(String p0, Namespace p1){ return null; }
|
||||
public static QName get(String p0, Namespace p1, String p2){ return null; }
|
||||
public static QName get(String p0, String p1){ return null; }
|
||||
public static QName get(String p0, String p1, String p2){ return null; }
|
||||
public void setDocumentFactory(DocumentFactory p0){}
|
||||
}
|
||||
9
java/ql/test/stubs/dom4j-2.1.1/org/dom4j/Text.java
generated
Normal file
9
java/ql/test/stubs/dom4j-2.1.1/org/dom4j/Text.java
generated
Normal file
@@ -0,0 +1,9 @@
|
||||
// Generated automatically from org.dom4j.Text for testing purposes
|
||||
|
||||
package org.dom4j;
|
||||
|
||||
import org.dom4j.CharacterData;
|
||||
|
||||
public interface Text extends CharacterData
|
||||
{
|
||||
}
|
||||
@@ -1,60 +1,28 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
// Generated automatically from org.dom4j.Visitor for testing purposes
|
||||
|
||||
package org.dom4j;
|
||||
|
||||
public interface Visitor {
|
||||
void visit(Document document);
|
||||
|
||||
void visit(Element node);
|
||||
|
||||
void visit(Namespace namespace);
|
||||
import org.dom4j.Attribute;
|
||||
import org.dom4j.CDATA;
|
||||
import org.dom4j.Comment;
|
||||
import org.dom4j.Document;
|
||||
import org.dom4j.DocumentType;
|
||||
import org.dom4j.Element;
|
||||
import org.dom4j.Entity;
|
||||
import org.dom4j.Namespace;
|
||||
import org.dom4j.ProcessingInstruction;
|
||||
import org.dom4j.Text;
|
||||
|
||||
public interface Visitor
|
||||
{
|
||||
void visit(Attribute p0);
|
||||
void visit(CDATA p0);
|
||||
void visit(Comment p0);
|
||||
void visit(Document p0);
|
||||
void visit(DocumentType p0);
|
||||
void visit(Element p0);
|
||||
void visit(Entity p0);
|
||||
void visit(Namespace p0);
|
||||
void visit(ProcessingInstruction p0);
|
||||
void visit(Text p0);
|
||||
}
|
||||
|
||||
/*
|
||||
* Redistribution and use of this software and associated documentation
|
||||
* ("Software"), with or without modification, are permitted provided that the
|
||||
* following conditions are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain copyright statements and
|
||||
* notices. Redistributions must also contain a copy of this document.
|
||||
*
|
||||
* 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 name "DOM4J" must not be used to endorse or promote products derived
|
||||
* from this Software without prior written permission of MetaStuff, Ltd. For
|
||||
* written permission, please contact dom4j-info@metastuff.com.
|
||||
*
|
||||
* 4. Products derived from this Software may not be called "DOM4J" nor may
|
||||
* "DOM4J" appear in their names without prior written permission of MetaStuff,
|
||||
* Ltd. DOM4J is a registered trademark of MetaStuff, Ltd.
|
||||
*
|
||||
* 5. Due credit should be given to the DOM4J Project - http://www.dom4j.org
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY METASTUFF, LTD. AND CONTRIBUTORS ``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 METASTUFF, LTD. 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.
|
||||
*
|
||||
* Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.
|
||||
*/
|
||||
107
java/ql/test/stubs/dom4j-2.1.1/org/dom4j/XPath.java
generated
107
java/ql/test/stubs/dom4j-2.1.1/org/dom4j/XPath.java
generated
@@ -1,86 +1,35 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
// Generated automatically from org.dom4j.XPath for testing purposes
|
||||
|
||||
package org.dom4j;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import org.dom4j.Node;
|
||||
import org.dom4j.NodeFilter;
|
||||
import org.jaxen.FunctionContext;
|
||||
import org.jaxen.NamespaceContext;
|
||||
import org.jaxen.VariableContext;
|
||||
|
||||
public interface XPath extends NodeFilter {
|
||||
String getText();
|
||||
|
||||
boolean matches(Node node);
|
||||
|
||||
Object evaluate(Object context);
|
||||
|
||||
Object selectObject(Object context);
|
||||
|
||||
List<Node> selectNodes(Object context);
|
||||
|
||||
List<Node> selectNodes(Object context, XPath sortXPath);
|
||||
|
||||
List<Node> selectNodes(Object context, XPath sortXPath, boolean distinct);
|
||||
|
||||
Node selectSingleNode(Object context);
|
||||
|
||||
String valueOf(Object context);
|
||||
|
||||
Number numberValueOf(Object context);
|
||||
|
||||
boolean booleanValueOf(Object context);
|
||||
|
||||
void sort(List<Node> list);
|
||||
|
||||
void sort(List<Node> list, boolean distinct);
|
||||
|
||||
void setNamespaceURIs(Map<String, String> map);
|
||||
|
||||
void setVariableContext(org.jaxen.VariableContext variableContext);
|
||||
public interface XPath extends NodeFilter
|
||||
{
|
||||
FunctionContext getFunctionContext();
|
||||
List selectNodes(Object p0);
|
||||
List selectNodes(Object p0, XPath p1);
|
||||
List selectNodes(Object p0, XPath p1, boolean p2);
|
||||
NamespaceContext getNamespaceContext();
|
||||
Node selectSingleNode(Object p0);
|
||||
Number numberValueOf(Object p0);
|
||||
Object evaluate(Object p0);
|
||||
Object selectObject(Object p0);
|
||||
String getText();
|
||||
String valueOf(Object p0);
|
||||
VariableContext getVariableContext();
|
||||
boolean booleanValueOf(Object p0);
|
||||
boolean matches(Node p0);
|
||||
void setFunctionContext(FunctionContext p0);
|
||||
void setNamespaceContext(NamespaceContext p0);
|
||||
void setNamespaceURIs(Map p0);
|
||||
void setVariableContext(VariableContext p0);
|
||||
void sort(List p0);
|
||||
void sort(List p0, boolean p1);
|
||||
}
|
||||
|
||||
/*
|
||||
* Redistribution and use of this software and associated documentation
|
||||
* ("Software"), with or without modification, are permitted provided that the
|
||||
* following conditions are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain copyright statements and
|
||||
* notices. Redistributions must also contain a copy of this document.
|
||||
*
|
||||
* 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 name "DOM4J" must not be used to endorse or promote products derived
|
||||
* from this Software without prior written permission of MetaStuff, Ltd. For
|
||||
* written permission, please contact dom4j-info@metastuff.com.
|
||||
*
|
||||
* 4. Products derived from this Software may not be called "DOM4J" nor may
|
||||
* "DOM4J" appear in their names without prior written permission of MetaStuff,
|
||||
* Ltd. DOM4J is a registered trademark of MetaStuff, Ltd.
|
||||
*
|
||||
* 5. Due credit should be given to the DOM4J Project - http://www.dom4j.org
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY METASTUFF, LTD. AND CONTRIBUTORS ``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 METASTUFF, LTD. 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.
|
||||
*
|
||||
* Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.
|
||||
*/
|
||||
44
java/ql/test/stubs/dom4j-2.1.1/org/dom4j/io/OutputFormat.java
generated
Normal file
44
java/ql/test/stubs/dom4j-2.1.1/org/dom4j/io/OutputFormat.java
generated
Normal file
@@ -0,0 +1,44 @@
|
||||
// Generated automatically from org.dom4j.io.OutputFormat for testing purposes
|
||||
|
||||
package org.dom4j.io;
|
||||
|
||||
|
||||
public class OutputFormat implements Cloneable
|
||||
{
|
||||
protected static String STANDARD_INDENT = null;
|
||||
public OutputFormat(){}
|
||||
public OutputFormat(String p0){}
|
||||
public OutputFormat(String p0, boolean p1){}
|
||||
public OutputFormat(String p0, boolean p1, String p2){}
|
||||
public String getEncoding(){ return null; }
|
||||
public String getIndent(){ return null; }
|
||||
public String getLineSeparator(){ return null; }
|
||||
public boolean isExpandEmptyElements(){ return false; }
|
||||
public boolean isNewLineAfterDeclaration(){ return false; }
|
||||
public boolean isNewlines(){ return false; }
|
||||
public boolean isOmitEncoding(){ return false; }
|
||||
public boolean isPadText(){ return false; }
|
||||
public boolean isSuppressDeclaration(){ return false; }
|
||||
public boolean isTrimText(){ return false; }
|
||||
public boolean isXHTML(){ return false; }
|
||||
public char getAttributeQuoteCharacter(){ return '0'; }
|
||||
public int getNewLineAfterNTags(){ return 0; }
|
||||
public int parseOptions(String[] p0, int p1){ return 0; }
|
||||
public static OutputFormat createCompactFormat(){ return null; }
|
||||
public static OutputFormat createPrettyPrint(){ return null; }
|
||||
public void setAttributeQuoteCharacter(char p0){}
|
||||
public void setEncoding(String p0){}
|
||||
public void setExpandEmptyElements(boolean p0){}
|
||||
public void setIndent(String p0){}
|
||||
public void setIndent(boolean p0){}
|
||||
public void setIndentSize(int p0){}
|
||||
public void setLineSeparator(String p0){}
|
||||
public void setNewLineAfterDeclaration(boolean p0){}
|
||||
public void setNewLineAfterNTags(int p0){}
|
||||
public void setNewlines(boolean p0){}
|
||||
public void setOmitEncoding(boolean p0){}
|
||||
public void setPadText(boolean p0){}
|
||||
public void setSuppressDeclaration(boolean p0){}
|
||||
public void setTrimText(boolean p0){}
|
||||
public void setXHTML(boolean p0){}
|
||||
}
|
||||
126
java/ql/test/stubs/dom4j-2.1.1/org/dom4j/io/XMLWriter.java
generated
Normal file
126
java/ql/test/stubs/dom4j-2.1.1/org/dom4j/io/XMLWriter.java
generated
Normal file
@@ -0,0 +1,126 @@
|
||||
// Generated automatically from org.dom4j.io.XMLWriter for testing purposes
|
||||
|
||||
package org.dom4j.io;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.OutputStream;
|
||||
import java.io.Writer;
|
||||
import org.dom4j.Attribute;
|
||||
import org.dom4j.CDATA;
|
||||
import org.dom4j.Comment;
|
||||
import org.dom4j.Document;
|
||||
import org.dom4j.DocumentType;
|
||||
import org.dom4j.Element;
|
||||
import org.dom4j.Entity;
|
||||
import org.dom4j.Namespace;
|
||||
import org.dom4j.Node;
|
||||
import org.dom4j.ProcessingInstruction;
|
||||
import org.dom4j.Text;
|
||||
import org.dom4j.io.OutputFormat;
|
||||
import org.xml.sax.Attributes;
|
||||
import org.xml.sax.InputSource;
|
||||
import org.xml.sax.Locator;
|
||||
import org.xml.sax.ext.LexicalHandler;
|
||||
import org.xml.sax.helpers.XMLFilterImpl;
|
||||
|
||||
public class XMLWriter extends XMLFilterImpl implements LexicalHandler
|
||||
{
|
||||
protected OutputFormat getOutputFormat(){ return null; }
|
||||
protected String escapeAttributeEntities(String p0){ return null; }
|
||||
protected String escapeElementEntities(String p0){ return null; }
|
||||
protected Writer createWriter(OutputStream p0, String p1){ return null; }
|
||||
protected Writer writer = null;
|
||||
protected boolean isExpandEmptyElements(){ return false; }
|
||||
protected boolean isNamespaceDeclaration(Namespace p0){ return false; }
|
||||
protected boolean preserve = false;
|
||||
protected boolean shouldEncodeChar(char p0){ return false; }
|
||||
protected final boolean isElementSpacePreserved(Element p0){ return false; }
|
||||
protected int defaultMaximumAllowedCharacter(){ return 0; }
|
||||
protected int lastOutputNodeType = 0;
|
||||
protected static OutputFormat DEFAULT_FORMAT = null;
|
||||
protected static String[] LEXICAL_HANDLER_NAMES = null;
|
||||
protected void handleException(IOException p0){}
|
||||
protected void indent(){}
|
||||
protected void installLexicalHandler(){}
|
||||
protected void writeAttribute(Attribute p0){}
|
||||
protected void writeAttribute(Attributes p0, int p1){}
|
||||
protected void writeAttributes(Attributes p0){}
|
||||
protected void writeAttributes(Element p0){}
|
||||
protected void writeCDATA(String p0){}
|
||||
protected void writeClose(String p0){}
|
||||
protected void writeComment(String p0){}
|
||||
protected void writeDeclaration(){}
|
||||
protected void writeDocType(DocumentType p0){}
|
||||
protected void writeDocType(String p0, String p1, String p2){}
|
||||
protected void writeElement(Element p0){}
|
||||
protected void writeElementContent(Element p0){}
|
||||
protected void writeEmptyElementClose(String p0){}
|
||||
protected void writeEntity(Entity p0){}
|
||||
protected void writeEntityRef(String p0){}
|
||||
protected void writeEscapeAttributeEntities(String p0){}
|
||||
protected void writeNamespace(Namespace p0){}
|
||||
protected void writeNamespace(String p0, String p1){}
|
||||
protected void writeNamespaces(){}
|
||||
protected void writeNode(Node p0){}
|
||||
protected void writeNodeText(Node p0){}
|
||||
protected void writePrintln(){}
|
||||
protected void writeProcessingInstruction(ProcessingInstruction p0){}
|
||||
protected void writeString(String p0){}
|
||||
public LexicalHandler getLexicalHandler(){ return null; }
|
||||
public Object getProperty(String p0){ return null; }
|
||||
public XMLWriter(){}
|
||||
public XMLWriter(OutputFormat p0){}
|
||||
public XMLWriter(OutputStream p0){}
|
||||
public XMLWriter(OutputStream p0, OutputFormat p1){}
|
||||
public XMLWriter(Writer p0){}
|
||||
public XMLWriter(Writer p0, OutputFormat p1){}
|
||||
public boolean isEscapeText(){ return false; }
|
||||
public boolean resolveEntityRefs(){ return false; }
|
||||
public int getMaximumAllowedCharacter(){ return 0; }
|
||||
public void characters(char[] p0, int p1, int p2){}
|
||||
public void close(){}
|
||||
public void comment(char[] p0, int p1, int p2){}
|
||||
public void endCDATA(){}
|
||||
public void endDTD(){}
|
||||
public void endDocument(){}
|
||||
public void endElement(String p0, String p1, String p2){}
|
||||
public void endEntity(String p0){}
|
||||
public void endPrefixMapping(String p0){}
|
||||
public void flush(){}
|
||||
public void ignorableWhitespace(char[] p0, int p1, int p2){}
|
||||
public void notationDecl(String p0, String p1, String p2){}
|
||||
public void parse(InputSource p0){}
|
||||
public void println(){}
|
||||
public void processingInstruction(String p0, String p1){}
|
||||
public void setDocumentLocator(Locator p0){}
|
||||
public void setEscapeText(boolean p0){}
|
||||
public void setIndentLevel(int p0){}
|
||||
public void setLexicalHandler(LexicalHandler p0){}
|
||||
public void setMaximumAllowedCharacter(int p0){}
|
||||
public void setOutputStream(OutputStream p0){}
|
||||
public void setProperty(String p0, Object p1){}
|
||||
public void setResolveEntityRefs(boolean p0){}
|
||||
public void setWriter(Writer p0){}
|
||||
public void startCDATA(){}
|
||||
public void startDTD(String p0, String p1, String p2){}
|
||||
public void startDocument(){}
|
||||
public void startElement(String p0, String p1, String p2, Attributes p3){}
|
||||
public void startEntity(String p0){}
|
||||
public void startPrefixMapping(String p0, String p1){}
|
||||
public void unparsedEntityDecl(String p0, String p1, String p2, String p3){}
|
||||
public void write(Attribute p0){}
|
||||
public void write(CDATA p0){}
|
||||
public void write(Comment p0){}
|
||||
public void write(Document p0){}
|
||||
public void write(DocumentType p0){}
|
||||
public void write(Element p0){}
|
||||
public void write(Entity p0){}
|
||||
public void write(Namespace p0){}
|
||||
public void write(Node p0){}
|
||||
public void write(Object p0){}
|
||||
public void write(ProcessingInstruction p0){}
|
||||
public void write(String p0){}
|
||||
public void write(Text p0){}
|
||||
public void writeClose(Element p0){}
|
||||
public void writeOpen(Element p0){}
|
||||
}
|
||||
@@ -1,67 +1,19 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
// Generated automatically from org.dom4j.rule.Pattern for testing purposes
|
||||
|
||||
package org.dom4j.rule;
|
||||
|
||||
import org.dom4j.Node;
|
||||
import org.dom4j.NodeFilter;
|
||||
|
||||
public interface Pattern extends NodeFilter {
|
||||
boolean matches(Node node);
|
||||
|
||||
double getPriority();
|
||||
|
||||
public interface Pattern extends NodeFilter
|
||||
{
|
||||
Pattern[] getUnionPatterns();
|
||||
|
||||
short getMatchType();
|
||||
|
||||
String getMatchesNodeName();
|
||||
|
||||
boolean matches(Node p0);
|
||||
double getPriority();
|
||||
short getMatchType();
|
||||
static double DEFAULT_PRIORITY = 0;
|
||||
static short ANY_NODE = 0;
|
||||
static short NONE = 0;
|
||||
static short NUMBER_OF_TYPES = 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* Redistribution and use of this software and associated documentation
|
||||
* ("Software"), with or without modification, are permitted provided that the
|
||||
* following conditions are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain copyright statements and
|
||||
* notices. Redistributions must also contain a copy of this document.
|
||||
*
|
||||
* 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 name "DOM4J" must not be used to endorse or promote products derived
|
||||
* from this Software without prior written permission of MetaStuff, Ltd. For
|
||||
* written permission, please contact dom4j-info@metastuff.com.
|
||||
*
|
||||
* 4. Products derived from this Software may not be called "DOM4J" nor may
|
||||
* "DOM4J" appear in their names without prior written permission of MetaStuff,
|
||||
* Ltd. DOM4J is a registered trademark of MetaStuff, Ltd.
|
||||
*
|
||||
* 5. Due credit should be given to the DOM4J Project - http://www.dom4j.org
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY METASTUFF, LTD. AND CONTRIBUTORS ``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 METASTUFF, LTD. 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.
|
||||
*
|
||||
* Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.
|
||||
*/
|
||||
@@ -1,183 +1,53 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
// Generated automatically from org.dom4j.tree.AbstractNode for testing purposes
|
||||
|
||||
package org.dom4j.tree;
|
||||
|
||||
import org.dom4j.*;
|
||||
import org.dom4j.rule.Pattern;
|
||||
import java.io.IOException;
|
||||
import java.io.Serializable;
|
||||
import java.io.Writer;
|
||||
import java.util.List;
|
||||
import org.dom4j.Document;
|
||||
import org.dom4j.DocumentFactory;
|
||||
import org.dom4j.Element;
|
||||
import org.dom4j.Node;
|
||||
import org.dom4j.NodeFilter;
|
||||
import org.dom4j.XPath;
|
||||
import org.dom4j.rule.Pattern;
|
||||
|
||||
public abstract class AbstractNode implements Node, Cloneable, Serializable {
|
||||
public AbstractNode() {
|
||||
}
|
||||
|
||||
public short getNodeType() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public String getNodeTypeName() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public Document getDocument() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public void setDocument(Document document) {
|
||||
}
|
||||
|
||||
public Element getParent() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public void setParent(Element parent) {
|
||||
}
|
||||
|
||||
public boolean supportsParent() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public boolean isReadOnly() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public boolean hasContent() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public String getPath() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public String getUniquePath() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public Object clone() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public Node detach() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
}
|
||||
|
||||
public String getText() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public String getStringValue() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public void setText(String text) {
|
||||
}
|
||||
|
||||
public void write(Writer writer) throws IOException {
|
||||
}
|
||||
|
||||
public Object selectObject(String xpathExpression) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public List<Node> selectNodes(String xpathExpression) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public List<Node> selectNodes(String xpathExpression, String comparisonXPathExpression) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public List<Node> selectNodes(String xpathExpression, String comparisonXPathExpression, boolean removeDuplicates) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public Node selectSingleNode(String xpathExpression) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public String valueOf(String xpathExpression) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public Number numberValueOf(String xpathExpression) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public boolean matches(String patternText) {
|
||||
return false;
|
||||
}
|
||||
|
||||
public XPath createXPath(String xpathExpression) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public NodeFilter createXPathFilter(String patternText) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public Pattern createPattern(String patternText) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public Node asXPathResult(Element parent) {
|
||||
return null;
|
||||
}
|
||||
|
||||
abstract public class AbstractNode implements Cloneable, Node, Serializable
|
||||
{
|
||||
protected DocumentFactory getDocumentFactory(){ return null; }
|
||||
protected Node createXPathResult(Element p0){ return null; }
|
||||
protected static String[] NODE_TYPE_NAMES = null;
|
||||
public AbstractNode(){}
|
||||
public Document getDocument(){ return null; }
|
||||
public Element getParent(){ return null; }
|
||||
public List selectNodes(String p0){ return null; }
|
||||
public List selectNodes(String p0, String p1){ return null; }
|
||||
public List selectNodes(String p0, String p1, boolean p2){ return null; }
|
||||
public Node asXPathResult(Element p0){ return null; }
|
||||
public Node detach(){ return null; }
|
||||
public Node selectSingleNode(String p0){ return null; }
|
||||
public NodeFilter createXPathFilter(String p0){ return null; }
|
||||
public Number numberValueOf(String p0){ return null; }
|
||||
public Object clone(){ return null; }
|
||||
public Object selectObject(String p0){ return null; }
|
||||
public Pattern createPattern(String p0){ return null; }
|
||||
public String getName(){ return null; }
|
||||
public String getNodeTypeName(){ return null; }
|
||||
public String getPath(){ return null; }
|
||||
public String getStringValue(){ return null; }
|
||||
public String getText(){ return null; }
|
||||
public String getUniquePath(){ return null; }
|
||||
public String valueOf(String p0){ return null; }
|
||||
public XPath createXPath(String p0){ return null; }
|
||||
public boolean hasContent(){ return false; }
|
||||
public boolean isReadOnly(){ return false; }
|
||||
public boolean matches(String p0){ return false; }
|
||||
public boolean supportsParent(){ return false; }
|
||||
public short getNodeType(){ return 0; }
|
||||
public void setDocument(Document p0){}
|
||||
public void setName(String p0){}
|
||||
public void setParent(Element p0){}
|
||||
public void setText(String p0){}
|
||||
public void write(Writer p0){}
|
||||
}
|
||||
|
||||
/*
|
||||
* Redistribution and use of this software and associated documentation
|
||||
* ("Software"), with or without modification, are permitted provided that the
|
||||
* following conditions are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain copyright statements and
|
||||
* notices. Redistributions must also contain a copy of this document.
|
||||
*
|
||||
* 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 name "DOM4J" must not be used to endorse or promote products derived
|
||||
* from this Software without prior written permission of MetaStuff, Ltd. For
|
||||
* written permission, please contact dom4j-info@metastuff.com.
|
||||
*
|
||||
* 4. Products derived from this Software may not be called "DOM4J" nor may
|
||||
* "DOM4J" appear in their names without prior written permission of MetaStuff,
|
||||
* Ltd. DOM4J is a registered trademark of MetaStuff, Ltd.
|
||||
*
|
||||
* 5. Due credit should be given to the DOM4J Project - http://www.dom4j.org
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY METASTUFF, LTD. AND CONTRIBUTORS ``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 METASTUFF, LTD. 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.
|
||||
*
|
||||
* Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.
|
||||
*/
|
||||
17
java/ql/test/stubs/dom4j-2.1.1/org/dom4j/tree/NamespaceCache.java
generated
Normal file
17
java/ql/test/stubs/dom4j-2.1.1/org/dom4j/tree/NamespaceCache.java
generated
Normal file
@@ -0,0 +1,17 @@
|
||||
// Generated automatically from org.dom4j.tree.NamespaceCache for testing purposes
|
||||
|
||||
package org.dom4j.tree;
|
||||
|
||||
import java.util.Map;
|
||||
import org.dom4j.Namespace;
|
||||
|
||||
public class NamespaceCache
|
||||
{
|
||||
protected Map getURICache(String p0){ return null; }
|
||||
protected Namespace createNamespace(String p0, String p1){ return null; }
|
||||
protected static Map cache = null;
|
||||
protected static Map noPrefixCache = null;
|
||||
public Namespace get(String p0){ return null; }
|
||||
public Namespace get(String p0, String p1){ return null; }
|
||||
public NamespaceCache(){}
|
||||
}
|
||||
28
java/ql/test/stubs/dom4j-2.1.1/org/dom4j/tree/QNameCache.java
generated
Normal file
28
java/ql/test/stubs/dom4j-2.1.1/org/dom4j/tree/QNameCache.java
generated
Normal file
@@ -0,0 +1,28 @@
|
||||
// Generated automatically from org.dom4j.tree.QNameCache for testing purposes
|
||||
|
||||
package org.dom4j.tree;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import org.dom4j.DocumentFactory;
|
||||
import org.dom4j.Namespace;
|
||||
import org.dom4j.QName;
|
||||
|
||||
public class QNameCache
|
||||
{
|
||||
protected Map createMap(){ return null; }
|
||||
protected Map getNamespaceCache(Namespace p0){ return null; }
|
||||
protected Map namespaceCache = null;
|
||||
protected Map noNamespaceCache = null;
|
||||
protected QName createQName(String p0){ return null; }
|
||||
protected QName createQName(String p0, Namespace p1){ return null; }
|
||||
protected QName createQName(String p0, Namespace p1, String p2){ return null; }
|
||||
public List getQNames(){ return null; }
|
||||
public QName get(String p0){ return null; }
|
||||
public QName get(String p0, Namespace p1){ return null; }
|
||||
public QName get(String p0, Namespace p1, String p2){ return null; }
|
||||
public QName get(String p0, String p1){ return null; }
|
||||
public QName intern(QName p0){ return null; }
|
||||
public QNameCache(){}
|
||||
public QNameCache(DocumentFactory p0){}
|
||||
}
|
||||
28
java/ql/test/stubs/jaxen-1.2.0/org/jaxen/Context.java
generated
Normal file
28
java/ql/test/stubs/jaxen-1.2.0/org/jaxen/Context.java
generated
Normal file
@@ -0,0 +1,28 @@
|
||||
// Generated automatically from org.jaxen.Context for testing purposes
|
||||
|
||||
package org.jaxen;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
import org.jaxen.ContextSupport;
|
||||
import org.jaxen.Function;
|
||||
import org.jaxen.Navigator;
|
||||
|
||||
public class Context implements Serializable
|
||||
{
|
||||
protected Context() {}
|
||||
public Context duplicate(){ return null; }
|
||||
public Context(ContextSupport p0){}
|
||||
public ContextSupport getContextSupport(){ return null; }
|
||||
public Function getFunction(String p0, String p1, String p2){ return null; }
|
||||
public List getNodeSet(){ return null; }
|
||||
public Navigator getNavigator(){ return null; }
|
||||
public Object getVariableValue(String p0, String p1, String p2){ return null; }
|
||||
public String translateNamespacePrefixToUri(String p0){ return null; }
|
||||
public int getPosition(){ return 0; }
|
||||
public int getSize(){ return 0; }
|
||||
public void setContextSupport(ContextSupport p0){}
|
||||
public void setNodeSet(List p0){}
|
||||
public void setPosition(int p0){}
|
||||
public void setSize(int p0){}
|
||||
}
|
||||
26
java/ql/test/stubs/jaxen-1.2.0/org/jaxen/ContextSupport.java
generated
Normal file
26
java/ql/test/stubs/jaxen-1.2.0/org/jaxen/ContextSupport.java
generated
Normal file
@@ -0,0 +1,26 @@
|
||||
// Generated automatically from org.jaxen.ContextSupport for testing purposes
|
||||
|
||||
package org.jaxen;
|
||||
|
||||
import java.io.Serializable;
|
||||
import org.jaxen.Function;
|
||||
import org.jaxen.FunctionContext;
|
||||
import org.jaxen.NamespaceContext;
|
||||
import org.jaxen.Navigator;
|
||||
import org.jaxen.VariableContext;
|
||||
|
||||
public class ContextSupport implements Serializable
|
||||
{
|
||||
public ContextSupport(){}
|
||||
public ContextSupport(NamespaceContext p0, FunctionContext p1, VariableContext p2, Navigator p3){}
|
||||
public Function getFunction(String p0, String p1, String p2){ return null; }
|
||||
public FunctionContext getFunctionContext(){ return null; }
|
||||
public NamespaceContext getNamespaceContext(){ return null; }
|
||||
public Navigator getNavigator(){ return null; }
|
||||
public Object getVariableValue(String p0, String p1, String p2){ return null; }
|
||||
public String translateNamespacePrefixToUri(String p0){ return null; }
|
||||
public VariableContext getVariableContext(){ return null; }
|
||||
public void setFunctionContext(FunctionContext p0){}
|
||||
public void setNamespaceContext(NamespaceContext p0){}
|
||||
public void setVariableContext(VariableContext p0){}
|
||||
}
|
||||
11
java/ql/test/stubs/jaxen-1.2.0/org/jaxen/Function.java
generated
Normal file
11
java/ql/test/stubs/jaxen-1.2.0/org/jaxen/Function.java
generated
Normal file
@@ -0,0 +1,11 @@
|
||||
// Generated automatically from org.jaxen.Function for testing purposes
|
||||
|
||||
package org.jaxen;
|
||||
|
||||
import java.util.List;
|
||||
import org.jaxen.Context;
|
||||
|
||||
public interface Function
|
||||
{
|
||||
Object call(Context p0, List p1);
|
||||
}
|
||||
10
java/ql/test/stubs/jaxen-1.2.0/org/jaxen/FunctionContext.java
generated
Normal file
10
java/ql/test/stubs/jaxen-1.2.0/org/jaxen/FunctionContext.java
generated
Normal file
@@ -0,0 +1,10 @@
|
||||
// Generated automatically from org.jaxen.FunctionContext for testing purposes
|
||||
|
||||
package org.jaxen;
|
||||
|
||||
import org.jaxen.Function;
|
||||
|
||||
public interface FunctionContext
|
||||
{
|
||||
Function getFunction(String p0, String p1, String p2);
|
||||
}
|
||||
9
java/ql/test/stubs/jaxen-1.2.0/org/jaxen/NamespaceContext.java
generated
Normal file
9
java/ql/test/stubs/jaxen-1.2.0/org/jaxen/NamespaceContext.java
generated
Normal file
@@ -0,0 +1,9 @@
|
||||
// Generated automatically from org.jaxen.NamespaceContext for testing purposes
|
||||
|
||||
package org.jaxen;
|
||||
|
||||
|
||||
public interface NamespaceContext
|
||||
{
|
||||
String translateNamespacePrefixToUri(String p0);
|
||||
}
|
||||
52
java/ql/test/stubs/jaxen-1.2.0/org/jaxen/Navigator.java
generated
Normal file
52
java/ql/test/stubs/jaxen-1.2.0/org/jaxen/Navigator.java
generated
Normal file
@@ -0,0 +1,52 @@
|
||||
// Generated automatically from org.jaxen.Navigator for testing purposes
|
||||
|
||||
package org.jaxen;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Iterator;
|
||||
import org.jaxen.XPath;
|
||||
|
||||
public interface Navigator extends Serializable
|
||||
{
|
||||
Iterator getAncestorAxisIterator(Object p0);
|
||||
Iterator getAncestorOrSelfAxisIterator(Object p0);
|
||||
Iterator getAttributeAxisIterator(Object p0);
|
||||
Iterator getChildAxisIterator(Object p0);
|
||||
Iterator getDescendantAxisIterator(Object p0);
|
||||
Iterator getDescendantOrSelfAxisIterator(Object p0);
|
||||
Iterator getFollowingAxisIterator(Object p0);
|
||||
Iterator getFollowingSiblingAxisIterator(Object p0);
|
||||
Iterator getNamespaceAxisIterator(Object p0);
|
||||
Iterator getParentAxisIterator(Object p0);
|
||||
Iterator getPrecedingAxisIterator(Object p0);
|
||||
Iterator getPrecedingSiblingAxisIterator(Object p0);
|
||||
Iterator getSelfAxisIterator(Object p0);
|
||||
Object getDocument(String p0);
|
||||
Object getDocumentNode(Object p0);
|
||||
Object getElementById(Object p0, String p1);
|
||||
Object getParentNode(Object p0);
|
||||
String getAttributeName(Object p0);
|
||||
String getAttributeNamespaceUri(Object p0);
|
||||
String getAttributeQName(Object p0);
|
||||
String getAttributeStringValue(Object p0);
|
||||
String getCommentStringValue(Object p0);
|
||||
String getElementName(Object p0);
|
||||
String getElementNamespaceUri(Object p0);
|
||||
String getElementQName(Object p0);
|
||||
String getElementStringValue(Object p0);
|
||||
String getNamespacePrefix(Object p0);
|
||||
String getNamespaceStringValue(Object p0);
|
||||
String getProcessingInstructionData(Object p0);
|
||||
String getProcessingInstructionTarget(Object p0);
|
||||
String getTextStringValue(Object p0);
|
||||
String translateNamespacePrefixToUri(String p0, Object p1);
|
||||
XPath parseXPath(String p0);
|
||||
boolean isAttribute(Object p0);
|
||||
boolean isComment(Object p0);
|
||||
boolean isDocument(Object p0);
|
||||
boolean isElement(Object p0);
|
||||
boolean isNamespace(Object p0);
|
||||
boolean isProcessingInstruction(Object p0);
|
||||
boolean isText(Object p0);
|
||||
short getNodeType(Object p0);
|
||||
}
|
||||
9
java/ql/test/stubs/jaxen-1.2.0/org/jaxen/VariableContext copy.java
generated
Normal file
9
java/ql/test/stubs/jaxen-1.2.0/org/jaxen/VariableContext copy.java
generated
Normal file
@@ -0,0 +1,9 @@
|
||||
// Generated automatically from org.jaxen.VariableContext for testing purposes
|
||||
|
||||
package org.jaxen;
|
||||
|
||||
|
||||
public interface VariableContext
|
||||
{
|
||||
Object getVariableValue(String p0, String p1, String p2);
|
||||
}
|
||||
28
java/ql/test/stubs/jaxen-1.2.0/org/jaxen/XPath.java
generated
Normal file
28
java/ql/test/stubs/jaxen-1.2.0/org/jaxen/XPath.java
generated
Normal file
@@ -0,0 +1,28 @@
|
||||
// Generated automatically from org.jaxen.XPath for testing purposes
|
||||
|
||||
package org.jaxen;
|
||||
|
||||
import java.util.List;
|
||||
import org.jaxen.FunctionContext;
|
||||
import org.jaxen.NamespaceContext;
|
||||
import org.jaxen.Navigator;
|
||||
import org.jaxen.VariableContext;
|
||||
|
||||
public interface XPath
|
||||
{
|
||||
FunctionContext getFunctionContext();
|
||||
List selectNodes(Object p0);
|
||||
NamespaceContext getNamespaceContext();
|
||||
Navigator getNavigator();
|
||||
Number numberValueOf(Object p0);
|
||||
Object evaluate(Object p0);
|
||||
Object selectSingleNode(Object p0);
|
||||
String stringValueOf(Object p0);
|
||||
String valueOf(Object p0);
|
||||
VariableContext getVariableContext();
|
||||
boolean booleanValueOf(Object p0);
|
||||
void addNamespace(String p0, String p1);
|
||||
void setFunctionContext(FunctionContext p0);
|
||||
void setNamespaceContext(NamespaceContext p0);
|
||||
void setVariableContext(VariableContext p0);
|
||||
}
|
||||
Reference in New Issue
Block a user