📄 validationprocessor.html
字号:
ValidationProcessor constructor. </TD></TR></TABLE> <!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/validation/ValidationProcessor.html#addValidation(org.geotools.validation.FeatureValidation)">addValidation</A></B>(<A HREF="../../../org/geotools/validation/FeatureValidation.html" title="interface in org.geotools.validation">FeatureValidation</A> validation)</CODE><BR> addValidation Add a FeatureValidation to the list of Feature tests </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/validation/ValidationProcessor.html#addValidation(org.geotools.validation.IntegrityValidation)">addValidation</A></B>(<A HREF="../../../org/geotools/validation/IntegrityValidation.html" title="interface in org.geotools.validation">IntegrityValidation</A> validation)</CODE><BR> addValidation Add an IntegrityValidation to the list of Integrity tests </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/validation/ValidationProcessor.html#getDependencies(java.lang.String)">getDependencies</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> typeName)</CODE><BR> getDependencies purpose. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/validation/ValidationProcessor.html#load(java.io.File, java.io.File)">load</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/File.html" title="class or interface in java.io">File</A> plugins, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/File.html" title="class or interface in java.io">File</A> testsuites)</CODE><BR> Load testsuites from provided directories. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/validation/ValidationProcessor.html#load(java.util.Map, java.util.Map)">load</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> plugInDTOs, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> testSuiteDTOs)</CODE><BR> Populates this validation processor against the provided DTO objects. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/validation/ValidationProcessor.html#queryPlugInNames(java.util.Map)">queryPlugInNames</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> testSuiteDTOs)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/validation/ValidationProcessor.html#runFeatureTests(java.lang.String, org.geotools.feature.FeatureType, org.geotools.data.FeatureReader, org.geotools.validation.ValidationResults)">runFeatureTests</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> dsID, <A HREF="../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A> type, <A HREF="../../../org/geotools/data/FeatureReader.html" title="interface in org.geotools.data">FeatureReader</A> reader, <A HREF="../../../org/geotools/validation/ValidationResults.html" title="interface in org.geotools.validation">ValidationResults</A> results)</CODE><BR> runFeatureTests Change: Uses a FeatureReader now instead of a FeatureCollection. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/validation/ValidationProcessor.html#runIntegrityTests(java.util.Set, java.util.Map, com.vividsolutions.jts.geom.Envelope, org.geotools.validation.ValidationResults)">runIntegrityTests</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A> typeRefs, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> stores, <A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Envelope.html" title="class or interface in com.vividsolutions.jts.geom">Envelope</A> envelope, <A HREF="../../../org/geotools/validation/ValidationResults.html" title="interface in org.geotools.validation">ValidationResults</A> results)</CODE><BR> runIntegrityTests Performs a lookup on the FeatureTypeInfo name to determine what IntegrityTests need to be performed. </TD></TR></TABLE> <A NAME="methods_inherited_from_class_Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="featureLookup"><!-- --></A><H3>featureLookup</H3><PRE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> <B>featureLookup</B></PRE><DL><DD>Stores Lists of FeatureTests by featureType. <p> Map of ArrayLists by featureType (the lists contain FeatureValidation instances) </p><P><DL></DL></DL><HR><A NAME="integrityLookup"><!-- --></A><H3>integrityLookup</H3><PRE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> <B>integrityLookup</B></PRE><DL><DD>Stores Lists of IntegrityValidation by featureType. <p> A Map with featureTypes as keys that map to array lists of integrity validation tests. </p> <p> How are tests that map against all FeatureTypes stored? </p><P><DL></DL></DL><HR><A NAME="modifiedFeatureTypes"><!-- --></A><H3>modifiedFeatureTypes</H3><PRE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/ArrayList.html" title="class or interface in java.util">ArrayList</A> <B>modifiedFeatureTypes</B></PRE><DL><DD>List of feature types that have been modified.<P><DL></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="ValidationProcessor()"><!-- --></A><H3>ValidationProcessor</H3><PRE>public <B>ValidationProcessor</B>()</PRE><DL><DD>ValidationProcessor constructor. <p> Initializes the data structure to hold the validations. </p><P></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="addValidation(org.geotools.validation.FeatureValidation)"><!-- --></A><H3>addValidation</H3><PRE>public void <B>addValidation</B>(<A HREF="../../../org/geotools/validation/FeatureValidation.html" title="interface in org.geotools.validation">FeatureValidation</A> validation)</PRE><DL><DD>addValidation <p> Add a FeatureValidation to the list of Feature tests </p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>validation</CODE> - </DL></DD></DL><HR><A NAME="addValidation(org.geotools.validation.IntegrityValidation)"><!-- --></A><H3>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -