<h2>org.autoplot.datasource.jython.JythonDataSourceFactory</h2><p></p>
<h2>JythonDataSourceFactory( )</h2>
<p></p>

<hr>
<a name="addExeceptionListener"></a>
<h2>addExeceptionListener</h2>
addExeceptionListener( <a href='https://docs.oracle.com/javase/8/docs/api/java/beans/ExceptionListener.html'>java.beans.ExceptionListener</a> listener ) &rarr; void

<p>provide the script panel with a method for getting errors when they 
 occur, so it can mark where they have occurred.</p>

<h3>Parameters</h3>
listener - an ExceptionListener

<h3>Returns:</h3>
void (returns nothing)

<br><br>
<a href="https://github.com/autoplot/dev/search?q=addExeceptionListener&unscoped_q=addExeceptionListener">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/datasource/jython/JythonDataSourceFactory.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/datasource/jython/JythonDataSourceFactory.html#addExeceptionListener">[view on old javadoc]</a>
 <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/DataSource/src/org/autoplot/datasource/jython/JythonDataSourceFactory.java#l339">[view source]</a>
<br>
<br>
<hr>
<a name="getCapability"></a>
<h2>getCapability</h2>
getCapability( <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html'>java.lang.Class</a> clazz ) &rarr; <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html'>Object</a>

<p></p>

<h3>Parameters</h3>
clazz - a java.lang.Class

<h3>Returns:</h3>
java.lang.Object

<br><br>
<a href="https://github.com/autoplot/dev/search?q=getCapability&unscoped_q=getCapability">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/datasource/jython/JythonDataSourceFactory.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/datasource/jython/JythonDataSourceFactory.html#getCapability">[view on old javadoc]</a>
 <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/DataSource/src/org/autoplot/datasource/jython/JythonDataSourceFactory.java#l344">[view source]</a>
<br>
<br>
<hr>
<a name="getCompletions"></a>
<h2>getCompletions</h2>
getCompletions( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/autoplot/datasource/CompletionContext.html'>org.autoplot.datasource.CompletionContext</a> cc, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/util/monitor/ProgressMonitor.html'>ProgressMonitor</a> mon ) &rarr; <a href='https://docs.oracle.com/javase/8/docs/api/java/util/List.html'>java.util.List</a>

<p></p>

<h3>Parameters</h3>
cc - a CompletionContext
<br>
mon - a ProgressMonitor

<h3>Returns:</h3>
java.util.List

<br><br>
<a href="https://github.com/autoplot/dev/search?q=getCompletions&unscoped_q=getCompletions">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/datasource/jython/JythonDataSourceFactory.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/datasource/jython/JythonDataSourceFactory.html#getCompletions">[view on old javadoc]</a>
 <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/DataSource/src/org/autoplot/datasource/jython/JythonDataSourceFactory.java#l147">[view source]</a>
<br>
<br>
<hr>
<a name="getDataSource"></a>
<h2>getDataSource</h2>
getDataSource( <a href='https://docs.oracle.com/javase/8/docs/api/java/net/URI.html'>java.net.URI</a> uri ) &rarr; <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/autoplot/datasource/DataSource.html'>org.autoplot.datasource.DataSource</a>

<p></p>

<h3>Parameters</h3>
uri - an URI

<h3>Returns:</h3>
org.autoplot.datasource.DataSource

<br><br>
<a href="https://github.com/autoplot/dev/search?q=getDataSource&unscoped_q=getDataSource">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/datasource/jython/JythonDataSourceFactory.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/datasource/jython/JythonDataSourceFactory.html#getDataSource">[view on old javadoc]</a>
 <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/DataSource/src/org/autoplot/datasource/jython/JythonDataSourceFactory.java#l52">[view source]</a>
<br>
<br>
<hr>
<a name="jydsHasLocalReferences"></a>
<h2>jydsHasLocalReferences</h2>
jydsHasLocalReferences( <a href='https://docs.oracle.com/javase/8/docs/api/java/net/URI.html'>java.net.URI</a> uri ) &rarr; boolean

<p>this is a non-trivial problem, and for now we will
 assume any .jyds has local references and therefore cannot
 be run from a remote .vap file from the server.  Further, it's 
 probably better to look into creating a sandboxed thread on which 
 to run the script.</p>

<h3>Parameters</h3>
uri - an URI

<h3>Returns:</h3>
true if the jyds has local resource references
<br><br>
<a href="https://github.com/autoplot/dev/search?q=jydsHasLocalReferences&unscoped_q=jydsHasLocalReferences">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/datasource/jython/JythonDataSourceFactory.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/datasource/jython/JythonDataSourceFactory.html#jydsHasLocalReferences">[view on old javadoc]</a>
 <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/DataSource/src/org/autoplot/datasource/jython/JythonDataSourceFactory.java#l362">[view source]</a>
<br>
<br>
<hr>
<a name="reject"></a>
<h2>reject</h2>
reject( <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> surl, <a href='https://docs.oracle.com/javase/8/docs/api/java/util/List.html'>java.util.List</a> problems, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/util/monitor/ProgressMonitor.html'>ProgressMonitor</a> mon ) &rarr; boolean

<p>Reject when:
   - the URI doesn't contain a timerange but the data source has TimeSeriesBrowse</p>

<h3>Parameters</h3>
surl - a String
<br>
problems - a java.util.List
<br>
mon - a ProgressMonitor

<h3>Returns:</h3>
a boolean

<br><br>
<a href="https://github.com/autoplot/dev/search?q=reject&unscoped_q=reject">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/datasource/jython/JythonDataSourceFactory.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/datasource/jython/JythonDataSourceFactory.html#reject">[view on old javadoc]</a>
 <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/DataSource/src/org/autoplot/datasource/jython/JythonDataSourceFactory.java#l200">[view source]</a>
<br>
<br>