commons-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brit...@apache.org
Subject svn commit: r941823 [6/21] - in /websites/production/commons/content/sandbox/commons-text: ./ apidocs/ apidocs/org/apache/commons/text/diff/ apidocs/org/apache/commons/text/diff/class-use/ apidocs/org/apache/commons/text/similarity/ apidocs/org/apache/...
Date Sun, 01 Mar 2015 12:14:31 GMT
Modified: websites/production/commons/content/sandbox/commons-text/apidocs/org/apache/commons/text/similarity/package-use.html
==============================================================================
--- websites/production/commons/content/sandbox/commons-text/apidocs/org/apache/commons/text/similarity/package-use.html (original)
+++ websites/production/commons/content/sandbox/commons-text/apidocs/org/apache/commons/text/similarity/package-use.html Sun Mar  1 12:14:29 2015
@@ -23,7 +23,8 @@
 <!--   -->
 </a>
 <ul class="navList" title="Navigation">
-<li><a href="../../../../../org/apache/commons/text/similarity/package-summary.html">Package</a></li>
+<li><a href="../../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
 <li>Class</li>
 <li class="navBarCell1Rev">Use</li>
 <li><a href="package-tree.html">Tree</a></li>
@@ -65,6 +66,23 @@
 </div>
 <div class="contentContainer">
 <ul class="blockList">
+<li class="blockList">
+<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
+<caption><span>Packages that use <a href="../../../../../org/apache/commons/text/similarity/package-summary.html">org.apache.commons.text.similarity</a></span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Package</th>
+<th class="colLast" scope="col">Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><a href="#org.apache.commons.text.similarity">org.apache.commons.text.similarity</a></td>
+<td class="colLast">
+<div class="block">Provides algorithms for string similarity.</div>
+</td>
+</tr>
+</tbody>
+</table>
+</li>
 <li class="blockList"><a name="org.apache.commons.text.similarity">
 <!--   -->
 </a>
@@ -76,13 +94,7 @@
 <tbody>
 <tr class="altColor">
 <td class="colOne"><a href="../../../../../org/apache/commons/text/similarity/class-use/StringMetric.html#org.apache.commons.text.similarity">StringMetric</a>
-<div class="block">
- Marker interface for <a
- href=../../../../../org/apache/commons/text/similarity/'http://en.wikipedia.org/wiki/String_metric'>String Metrics</a>
- 
-
- 
- A string metric measures the distance between two text strings.</div>
+<div class="block">Interface for <a href=../../../../../org/apache/commons/text/similarity/'http://en.wikipedia.org/wiki/String_metric'>String Metrics</a>.</div>
 </td>
 </tr>
 </tbody>
@@ -97,7 +109,8 @@
 <!--   -->
 </a>
 <ul class="navList" title="Navigation">
-<li><a href="../../../../../org/apache/commons/text/similarity/package-summary.html">Package</a></li>
+<li><a href="../../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
 <li>Class</li>
 <li class="navBarCell1Rev">Use</li>
 <li><a href="package-tree.html">Tree</a></li>
@@ -134,6 +147,6 @@
 <!--   -->
 </a></div>
 <!-- ======== END OF BOTTOM NAVBAR ======= -->
-<p class="legalCopy"><small>Copyright &#169; 2014 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
+<p class="legalCopy"><small>Copyright &#169; 2014&#x2013;2015 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
 </body>
-</html>
+</html>
\ No newline at end of file

Added: websites/production/commons/content/sandbox/commons-text/apidocs/overview-frame.html
==============================================================================
--- websites/production/commons/content/sandbox/commons-text/apidocs/overview-frame.html (added)
+++ websites/production/commons/content/sandbox/commons-text/apidocs/overview-frame.html Sun Mar  1 12:14:29 2015
@@ -0,0 +1,20 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="de">
+<head>
+<meta http-equiv="Content-Type" content="text/html" charset="iso-8859-1">
+<title>Overview List (Apache Commons Text 0.1-SNAPSHOT API)</title>
+<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
+</head>
+<body>
+<div class="indexHeader"><a href="allclasses-frame.html" target="packageFrame">All Classes</a></div>
+<div class="indexContainer">
+<h2 title="Packages">Packages</h2>
+<ul title="Packages">
+<li><a href="org/apache/commons/text/diff/package-frame.html" target="packageFrame">org.apache.commons.text.diff</a></li>
+<li><a href="org/apache/commons/text/similarity/package-frame.html" target="packageFrame">org.apache.commons.text.similarity</a></li>
+</ul>
+</div>
+<p>&nbsp;</p>
+</body>
+</html>
\ No newline at end of file

Propchange: websites/production/commons/content/sandbox/commons-text/apidocs/overview-frame.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: websites/production/commons/content/sandbox/commons-text/apidocs/overview-summary.html
==============================================================================
--- websites/production/commons/content/sandbox/commons-text/apidocs/overview-summary.html (added)
+++ websites/production/commons/content/sandbox/commons-text/apidocs/overview-summary.html Sun Mar  1 12:14:29 2015
@@ -0,0 +1,137 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="de">
+<head>
+<meta http-equiv="Content-Type" content="text/html" charset="iso-8859-1">
+<title>Overview (Apache Commons Text 0.1-SNAPSHOT API)</title>
+<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="Overview (Apache Commons Text 0.1-SNAPSHOT API)";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li class="navBarCell1Rev">Overview</li>
+<li>Package</li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="overview-tree.html">Tree</a></li>
+<li><a href="deprecated-list.html">Deprecated</a></li>
+<li><a href="index-all.html">Index</a></li>
+<li><a href="help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="index.html?overview-summary.html" target="_top">Frames</a></li>
+<li><a href="overview-summary.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="header">
+<h1 class="title">Apache Commons Text 0.1-SNAPSHOT API</h1>
+</div>
+<div class="contentContainer">
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Packages table, listing packages, and an explanation">
+<caption><span>Packages</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Package</th>
+<th class="colLast" scope="col">Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><a href="org/apache/commons/text/diff/package-summary.html">org.apache.commons.text.diff</a></td>
+<td class="colLast">
+<div class="block">Provides algorithms for diff between strings.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><a href="org/apache/commons/text/similarity/package-summary.html">org.apache.commons.text.similarity</a></td>
+<td class="colLast">
+<div class="block">Provides algorithms for string similarity.</div>
+</td>
+</tr>
+</tbody>
+</table>
+</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li class="navBarCell1Rev">Overview</li>
+<li>Package</li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="overview-tree.html">Tree</a></li>
+<li><a href="deprecated-list.html">Deprecated</a></li>
+<li><a href="index-all.html">Index</a></li>
+<li><a href="help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="index.html?overview-summary.html" target="_top">Frames</a></li>
+<li><a href="overview-summary.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2014&#x2013;2015 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
+</body>
+</html>
\ No newline at end of file

Propchange: websites/production/commons/content/sandbox/commons-text/apidocs/overview-summary.html
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: websites/production/commons/content/sandbox/commons-text/apidocs/overview-tree.html
==============================================================================
--- websites/production/commons/content/sandbox/commons-text/apidocs/overview-tree.html (original)
+++ websites/production/commons/content/sandbox/commons-text/apidocs/overview-tree.html Sun Mar  1 12:14:29 2015
@@ -23,7 +23,8 @@
 <!--   -->
 </a>
 <ul class="navList" title="Navigation">
-<li><a href="org/apache/commons/text/similarity/package-summary.html">Package</a></li>
+<li><a href="overview-summary.html">Overview</a></li>
+<li>Package</li>
 <li>Class</li>
 <li>Use</li>
 <li class="navBarCell1Rev">Tree</li>
@@ -64,6 +65,7 @@
 <h1 class="title">Hierarchy For All Packages</h1>
 <span class="strong">Package Hierarchies:</span>
 <ul class="horizontal">
+<li><a href="org/apache/commons/text/diff/package-tree.html">org.apache.commons.text.diff</a>, </li>
 <li><a href="org/apache/commons/text/similarity/package-tree.html">org.apache.commons.text.similarity</a></li>
 </ul>
 </div>
@@ -72,14 +74,27 @@
 <ul>
 <li type="circle">java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><span class="strong">Object</span></a>
 <ul>
-<li type="circle">org.apache.commons.text.similarity.<a href="org/apache/commons/text/similarity/FuzzyDistance.html" title="class in org.apache.commons.text.similarity"><span class="strong">FuzzyDistance</span></a> (implements org.apache.commons.text.similarity.<a href="org/apache/commons/text/similarity/StringMetric.html" title="interface in org.apache.commons.text.similarity">StringMetric</a>&lt;R&gt;)</li>
+<li type="circle">org.apache.commons.text.diff.<a href="org/apache/commons/text/diff/EditCommand.html" title="class in org.apache.commons.text.diff"><span class="strong">EditCommand</span></a>&lt;T&gt;
+<ul>
+<li type="circle">org.apache.commons.text.diff.<a href="org/apache/commons/text/diff/DeleteCommand.html" title="class in org.apache.commons.text.diff"><span class="strong">DeleteCommand</span></a>&lt;T&gt;</li>
+<li type="circle">org.apache.commons.text.diff.<a href="org/apache/commons/text/diff/InsertCommand.html" title="class in org.apache.commons.text.diff"><span class="strong">InsertCommand</span></a>&lt;T&gt;</li>
+<li type="circle">org.apache.commons.text.diff.<a href="org/apache/commons/text/diff/KeepCommand.html" title="class in org.apache.commons.text.diff"><span class="strong">KeepCommand</span></a>&lt;T&gt;</li>
+</ul>
+</li>
+<li type="circle">org.apache.commons.text.diff.<a href="org/apache/commons/text/diff/EditScript.html" title="class in org.apache.commons.text.diff"><span class="strong">EditScript</span></a>&lt;T&gt;</li>
+<li type="circle">org.apache.commons.text.similarity.<a href="org/apache/commons/text/similarity/FuzzyScore.html" title="class in org.apache.commons.text.similarity"><span class="strong">FuzzyScore</span></a> (implements org.apache.commons.text.similarity.<a href="org/apache/commons/text/similarity/StringMetric.html" title="interface in org.apache.commons.text.similarity">StringMetric</a>&lt;R&gt;)</li>
+<li type="circle">org.apache.commons.text.similarity.<a href="org/apache/commons/text/similarity/HammingDistance.html" title="class in org.apache.commons.text.similarity"><span class="strong">HammingDistance</span></a> (implements org.apache.commons.text.similarity.<a href="org/apache/commons/text/similarity/StringMetric.html" title="interface in org.apache.commons.text.similarity">StringMetric</a>&lt;R&gt;)</li>
 <li type="circle">org.apache.commons.text.similarity.<a href="org/apache/commons/text/similarity/JaroWrinklerDistance.html" title="class in org.apache.commons.text.similarity"><span class="strong">JaroWrinklerDistance</span></a> (implements org.apache.commons.text.similarity.<a href="org/apache/commons/text/similarity/StringMetric.html" title="interface in org.apache.commons.text.similarity">StringMetric</a>&lt;R&gt;)</li>
 <li type="circle">org.apache.commons.text.similarity.<a href="org/apache/commons/text/similarity/LevenshteinDistance.html" title="class in org.apache.commons.text.similarity"><span class="strong">LevenshteinDistance</span></a> (implements org.apache.commons.text.similarity.<a href="org/apache/commons/text/similarity/StringMetric.html" title="interface in org.apache.commons.text.similarity">StringMetric</a>&lt;R&gt;)</li>
+<li type="circle">org.apache.commons.text.diff.<a href="org/apache/commons/text/diff/ReplacementsFinder.html" title="class in org.apache.commons.text.diff"><span class="strong">ReplacementsFinder</span></a>&lt;T&gt; (implements org.apache.commons.text.diff.<a href="org/apache/commons/text/diff/CommandVisitor.html" title="interface in org.apache.commons.text.diff">CommandVisitor</a>&lt;T&gt;)</li>
+<li type="circle">org.apache.commons.text.diff.<a href="org/apache/commons/text/diff/StringsComparator.html" title="class in org.apache.commons.text.diff"><span class="strong">StringsComparator</span></a></li>
 </ul>
 </li>
 </ul>
 <h2 title="Interface Hierarchy">Interface Hierarchy</h2>
 <ul>
+<li type="circle">org.apache.commons.text.diff.<a href="org/apache/commons/text/diff/CommandVisitor.html" title="interface in org.apache.commons.text.diff"><span class="strong">CommandVisitor</span></a>&lt;T&gt;</li>
+<li type="circle">org.apache.commons.text.diff.<a href="org/apache/commons/text/diff/ReplacementsHandler.html" title="interface in org.apache.commons.text.diff"><span class="strong">ReplacementsHandler</span></a>&lt;T&gt;</li>
 <li type="circle">org.apache.commons.text.similarity.<a href="org/apache/commons/text/similarity/StringMetric.html" title="interface in org.apache.commons.text.similarity"><span class="strong">StringMetric</span></a>&lt;R&gt;</li>
 </ul>
 </div>
@@ -90,7 +105,8 @@
 <!--   -->
 </a>
 <ul class="navList" title="Navigation">
-<li><a href="org/apache/commons/text/similarity/package-summary.html">Package</a></li>
+<li><a href="overview-summary.html">Overview</a></li>
+<li>Package</li>
 <li>Class</li>
 <li>Use</li>
 <li class="navBarCell1Rev">Tree</li>
@@ -127,6 +143,6 @@
 <!--   -->
 </a></div>
 <!-- ======== END OF BOTTOM NAVBAR ======= -->
-<p class="legalCopy"><small>Copyright &#169; 2014 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
+<p class="legalCopy"><small>Copyright &#169; 2014&#x2013;2015 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
 </body>
-</html>
+</html>
\ No newline at end of file

Modified: websites/production/commons/content/sandbox/commons-text/apidocs/package-list
==============================================================================
--- websites/production/commons/content/sandbox/commons-text/apidocs/package-list (original)
+++ websites/production/commons/content/sandbox/commons-text/apidocs/package-list Sun Mar  1 12:14:29 2015
@@ -1 +1,2 @@
+org.apache.commons.text.diff
 org.apache.commons.text.similarity

Added: websites/production/commons/content/sandbox/commons-text/apidocs/src-html/org/apache/commons/text/diff/CommandVisitor.html
==============================================================================
--- websites/production/commons/content/sandbox/commons-text/apidocs/src-html/org/apache/commons/text/diff/CommandVisitor.html (added)
+++ websites/production/commons/content/sandbox/commons-text/apidocs/src-html/org/apache/commons/text/diff/CommandVisitor.html Sun Mar  1 12:14:29 2015
@@ -0,0 +1,217 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="de">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>/*<a name="line.1"></a>
+<span class="sourceLineNo">002</span> * Licensed to the Apache Software Foundation (ASF) under one or more<a name="line.2"></a>
+<span class="sourceLineNo">003</span> * contributor license agreements.  See the NOTICE file distributed with<a name="line.3"></a>
+<span class="sourceLineNo">004</span> * this work for additional information regarding copyright ownership.<a name="line.4"></a>
+<span class="sourceLineNo">005</span> * The ASF licenses this file to You under the Apache License, Version 2.0<a name="line.5"></a>
+<span class="sourceLineNo">006</span> * (the "License"); you may not use this file except in compliance with<a name="line.6"></a>
+<span class="sourceLineNo">007</span> * the License.  You may obtain a copy of the License at<a name="line.7"></a>
+<span class="sourceLineNo">008</span> *<a name="line.8"></a>
+<span class="sourceLineNo">009</span> *      http://www.apache.org/licenses/LICENSE-2.0<a name="line.9"></a>
+<span class="sourceLineNo">010</span> *<a name="line.10"></a>
+<span class="sourceLineNo">011</span> * Unless required by applicable law or agreed to in writing, software<a name="line.11"></a>
+<span class="sourceLineNo">012</span> * distributed under the License is distributed on an "AS IS" BASIS,<a name="line.12"></a>
+<span class="sourceLineNo">013</span> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.<a name="line.13"></a>
+<span class="sourceLineNo">014</span> * See the License for the specific language governing permissions and<a name="line.14"></a>
+<span class="sourceLineNo">015</span> * limitations under the License.<a name="line.15"></a>
+<span class="sourceLineNo">016</span> */<a name="line.16"></a>
+<span class="sourceLineNo">017</span>package org.apache.commons.text.diff;<a name="line.17"></a>
+<span class="sourceLineNo">018</span><a name="line.18"></a>
+<span class="sourceLineNo">019</span>/**<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * This interface should be implemented by user object to walk<a name="line.20"></a>
+<span class="sourceLineNo">021</span> * through {@link EditScript EditScript} objects.<a name="line.21"></a>
+<span class="sourceLineNo">022</span> * &lt;p&gt;<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * Users should implement this interface in order to walk through<a name="line.23"></a>
+<span class="sourceLineNo">024</span> * the {@link EditScript EditScript} object created by the comparison<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * of two sequences. This is a direct application of the visitor<a name="line.25"></a>
+<span class="sourceLineNo">026</span> * design pattern. The {@link EditScript#visit EditScript.visit}<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * method takes an object implementing this interface as an argument,<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * it will perform the loop over all commands in the script and the<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * proper methods of the user class will be called as the commands are<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * encountered.<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * &lt;/p&gt;<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * &lt;p&gt;<a name="line.32"></a>
+<span class="sourceLineNo">033</span> * The implementation of the user visitor class will depend on the<a name="line.33"></a>
+<span class="sourceLineNo">034</span> * need. Here are two examples.<a name="line.34"></a>
+<span class="sourceLineNo">035</span> * &lt;/p&gt;<a name="line.35"></a>
+<span class="sourceLineNo">036</span> * &lt;p&gt;<a name="line.36"></a>
+<span class="sourceLineNo">037</span> * The first example is a visitor that build the longest common<a name="line.37"></a>
+<span class="sourceLineNo">038</span> * subsequence:<a name="line.38"></a>
+<span class="sourceLineNo">039</span> * &lt;/p&gt;<a name="line.39"></a>
+<span class="sourceLineNo">040</span> * &lt;pre&gt;<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * import org.apache.commons.text.diff.CommandVisitor;<a name="line.41"></a>
+<span class="sourceLineNo">042</span> *<a name="line.42"></a>
+<span class="sourceLineNo">043</span> * import java.util.ArrayList;<a name="line.43"></a>
+<span class="sourceLineNo">044</span> *<a name="line.44"></a>
+<span class="sourceLineNo">045</span> * public class LongestCommonSubSequence implements CommandVisitor {<a name="line.45"></a>
+<span class="sourceLineNo">046</span> *<a name="line.46"></a>
+<span class="sourceLineNo">047</span> *   public LongestCommonSubSequence() {<a name="line.47"></a>
+<span class="sourceLineNo">048</span> *     a = new ArrayList();<a name="line.48"></a>
+<span class="sourceLineNo">049</span> *   }<a name="line.49"></a>
+<span class="sourceLineNo">050</span> *<a name="line.50"></a>
+<span class="sourceLineNo">051</span> *   public void visitInsertCommand(Object object) {<a name="line.51"></a>
+<span class="sourceLineNo">052</span> *   }<a name="line.52"></a>
+<span class="sourceLineNo">053</span> *<a name="line.53"></a>
+<span class="sourceLineNo">054</span> *   public void visitKeepCommand(Object object) {<a name="line.54"></a>
+<span class="sourceLineNo">055</span> *     a.add(object);<a name="line.55"></a>
+<span class="sourceLineNo">056</span> *   }<a name="line.56"></a>
+<span class="sourceLineNo">057</span> *<a name="line.57"></a>
+<span class="sourceLineNo">058</span> *   public void visitDeleteCommand(Object object) {<a name="line.58"></a>
+<span class="sourceLineNo">059</span> *   }<a name="line.59"></a>
+<span class="sourceLineNo">060</span> *<a name="line.60"></a>
+<span class="sourceLineNo">061</span> *   public Object[] getSubSequence() {<a name="line.61"></a>
+<span class="sourceLineNo">062</span> *     return a.toArray();<a name="line.62"></a>
+<span class="sourceLineNo">063</span> *   }<a name="line.63"></a>
+<span class="sourceLineNo">064</span> *<a name="line.64"></a>
+<span class="sourceLineNo">065</span> *   private ArrayList a;<a name="line.65"></a>
+<span class="sourceLineNo">066</span> *<a name="line.66"></a>
+<span class="sourceLineNo">067</span> * }<a name="line.67"></a>
+<span class="sourceLineNo">068</span> * &lt;/pre&gt;<a name="line.68"></a>
+<span class="sourceLineNo">069</span> * &lt;p&gt;<a name="line.69"></a>
+<span class="sourceLineNo">070</span> * The second example is a visitor that shows the commands and the way<a name="line.70"></a>
+<span class="sourceLineNo">071</span> * they transform the first sequence into the second one:<a name="line.71"></a>
+<span class="sourceLineNo">072</span> * &lt;pre&gt;<a name="line.72"></a>
+<span class="sourceLineNo">073</span> * import org.apache.commons.text.diff.CommandVisitor;<a name="line.73"></a>
+<span class="sourceLineNo">074</span> *<a name="line.74"></a>
+<span class="sourceLineNo">075</span> * import java.util.Arrays;<a name="line.75"></a>
+<span class="sourceLineNo">076</span> * import java.util.ArrayList;<a name="line.76"></a>
+<span class="sourceLineNo">077</span> * import java.util.Iterator;<a name="line.77"></a>
+<span class="sourceLineNo">078</span> *<a name="line.78"></a>
+<span class="sourceLineNo">079</span> * public class ShowVisitor implements CommandVisitor {<a name="line.79"></a>
+<span class="sourceLineNo">080</span> *<a name="line.80"></a>
+<span class="sourceLineNo">081</span> *   public ShowVisitor(Object[] sequence1) {<a name="line.81"></a>
+<span class="sourceLineNo">082</span> *     v = new ArrayList();<a name="line.82"></a>
+<span class="sourceLineNo">083</span> *     v.addAll(Arrays.asList(sequence1));<a name="line.83"></a>
+<span class="sourceLineNo">084</span> *     index = 0;<a name="line.84"></a>
+<span class="sourceLineNo">085</span> *   }<a name="line.85"></a>
+<span class="sourceLineNo">086</span> *<a name="line.86"></a>
+<span class="sourceLineNo">087</span> *   public void visitInsertCommand(Object object) {<a name="line.87"></a>
+<span class="sourceLineNo">088</span> *     v.insertElementAt(object, index++);<a name="line.88"></a>
+<span class="sourceLineNo">089</span> *     display("insert", object);<a name="line.89"></a>
+<span class="sourceLineNo">090</span> *   }<a name="line.90"></a>
+<span class="sourceLineNo">091</span> *<a name="line.91"></a>
+<span class="sourceLineNo">092</span> *   public void visitKeepCommand(Object object) {<a name="line.92"></a>
+<span class="sourceLineNo">093</span> *     ++index;<a name="line.93"></a>
+<span class="sourceLineNo">094</span> *     display("keep  ", object);<a name="line.94"></a>
+<span class="sourceLineNo">095</span> *   }<a name="line.95"></a>
+<span class="sourceLineNo">096</span> *<a name="line.96"></a>
+<span class="sourceLineNo">097</span> *   public void visitDeleteCommand(Object object) {<a name="line.97"></a>
+<span class="sourceLineNo">098</span> *     v.remove(index);<a name="line.98"></a>
+<span class="sourceLineNo">099</span> *     display("delete", object);<a name="line.99"></a>
+<span class="sourceLineNo">100</span> *   }<a name="line.100"></a>
+<span class="sourceLineNo">101</span> *<a name="line.101"></a>
+<span class="sourceLineNo">102</span> *   private void display(String commandName, Object object) {<a name="line.102"></a>
+<span class="sourceLineNo">103</span> *     System.out.println(commandName + " " + object + ": " + this);<a name="line.103"></a>
+<span class="sourceLineNo">104</span> *   }<a name="line.104"></a>
+<span class="sourceLineNo">105</span> *<a name="line.105"></a>
+<span class="sourceLineNo">106</span> *   public String toString() {<a name="line.106"></a>
+<span class="sourceLineNo">107</span> *     StringBuffer buffer = new StringBuffer();<a name="line.107"></a>
+<span class="sourceLineNo">108</span> *     for (Iterator iter = v.iterator(); iter.hasNext();) {<a name="line.108"></a>
+<span class="sourceLineNo">109</span> *       buffer.append(' ').append(iter.next());<a name="line.109"></a>
+<span class="sourceLineNo">110</span> *     }<a name="line.110"></a>
+<span class="sourceLineNo">111</span> *     return buffer.toString();<a name="line.111"></a>
+<span class="sourceLineNo">112</span> *   }<a name="line.112"></a>
+<span class="sourceLineNo">113</span> *<a name="line.113"></a>
+<span class="sourceLineNo">114</span> *   private ArrayList v;<a name="line.114"></a>
+<span class="sourceLineNo">115</span> *   private int index;<a name="line.115"></a>
+<span class="sourceLineNo">116</span> *<a name="line.116"></a>
+<span class="sourceLineNo">117</span> * }<a name="line.117"></a>
+<span class="sourceLineNo">118</span> * &lt;/pre&gt;<a name="line.118"></a>
+<span class="sourceLineNo">119</span> *<a name="line.119"></a>
+<span class="sourceLineNo">120</span> * @since 1.0<a name="line.120"></a>
+<span class="sourceLineNo">121</span> */<a name="line.121"></a>
+<span class="sourceLineNo">122</span>public interface CommandVisitor&lt;T&gt; {<a name="line.122"></a>
+<span class="sourceLineNo">123</span><a name="line.123"></a>
+<span class="sourceLineNo">124</span>    /**<a name="line.124"></a>
+<span class="sourceLineNo">125</span>     * Method called when an insert command is encountered.<a name="line.125"></a>
+<span class="sourceLineNo">126</span>     *<a name="line.126"></a>
+<span class="sourceLineNo">127</span>     * @param object object to insert (this object comes from the second sequence)<a name="line.127"></a>
+<span class="sourceLineNo">128</span>     */<a name="line.128"></a>
+<span class="sourceLineNo">129</span>    void visitInsertCommand(T object);<a name="line.129"></a>
+<span class="sourceLineNo">130</span><a name="line.130"></a>
+<span class="sourceLineNo">131</span>    /**<a name="line.131"></a>
+<span class="sourceLineNo">132</span>     * Method called when a keep command is encountered.<a name="line.132"></a>
+<span class="sourceLineNo">133</span>     *<a name="line.133"></a>
+<span class="sourceLineNo">134</span>     * @param object object to keep (this object comes from the first sequence)<a name="line.134"></a>
+<span class="sourceLineNo">135</span>     */<a name="line.135"></a>
+<span class="sourceLineNo">136</span>    void visitKeepCommand(T object);<a name="line.136"></a>
+<span class="sourceLineNo">137</span><a name="line.137"></a>
+<span class="sourceLineNo">138</span>    /**<a name="line.138"></a>
+<span class="sourceLineNo">139</span>     * Method called when a delete command is encountered.<a name="line.139"></a>
+<span class="sourceLineNo">140</span>     *<a name="line.140"></a>
+<span class="sourceLineNo">141</span>     * @param object object to delete (this object comes from the first sequence)<a name="line.141"></a>
+<span class="sourceLineNo">142</span>     */<a name="line.142"></a>
+<span class="sourceLineNo">143</span>    void visitDeleteCommand(T object);<a name="line.143"></a>
+<span class="sourceLineNo">144</span><a name="line.144"></a>
+<span class="sourceLineNo">145</span>}<a name="line.145"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
\ No newline at end of file

Propchange: websites/production/commons/content/sandbox/commons-text/apidocs/src-html/org/apache/commons/text/diff/CommandVisitor.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: websites/production/commons/content/sandbox/commons-text/apidocs/src-html/org/apache/commons/text/diff/DeleteCommand.html
==============================================================================
--- websites/production/commons/content/sandbox/commons-text/apidocs/src-html/org/apache/commons/text/diff/DeleteCommand.html (added)
+++ websites/production/commons/content/sandbox/commons-text/apidocs/src-html/org/apache/commons/text/diff/DeleteCommand.html Sun Mar  1 12:14:29 2015
@@ -0,0 +1,127 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="de">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>/*<a name="line.1"></a>
+<span class="sourceLineNo">002</span> * Licensed to the Apache Software Foundation (ASF) under one or more<a name="line.2"></a>
+<span class="sourceLineNo">003</span> * contributor license agreements.  See the NOTICE file distributed with<a name="line.3"></a>
+<span class="sourceLineNo">004</span> * this work for additional information regarding copyright ownership.<a name="line.4"></a>
+<span class="sourceLineNo">005</span> * The ASF licenses this file to You under the Apache License, Version 2.0<a name="line.5"></a>
+<span class="sourceLineNo">006</span> * (the "License"); you may not use this file except in compliance with<a name="line.6"></a>
+<span class="sourceLineNo">007</span> * the License.  You may obtain a copy of the License at<a name="line.7"></a>
+<span class="sourceLineNo">008</span> *<a name="line.8"></a>
+<span class="sourceLineNo">009</span> *      http://www.apache.org/licenses/LICENSE-2.0<a name="line.9"></a>
+<span class="sourceLineNo">010</span> *<a name="line.10"></a>
+<span class="sourceLineNo">011</span> * Unless required by applicable law or agreed to in writing, software<a name="line.11"></a>
+<span class="sourceLineNo">012</span> * distributed under the License is distributed on an "AS IS" BASIS,<a name="line.12"></a>
+<span class="sourceLineNo">013</span> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.<a name="line.13"></a>
+<span class="sourceLineNo">014</span> * See the License for the specific language governing permissions and<a name="line.14"></a>
+<span class="sourceLineNo">015</span> * limitations under the License.<a name="line.15"></a>
+<span class="sourceLineNo">016</span> */<a name="line.16"></a>
+<span class="sourceLineNo">017</span>package org.apache.commons.text.diff;<a name="line.17"></a>
+<span class="sourceLineNo">018</span><a name="line.18"></a>
+<span class="sourceLineNo">019</span>/**<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * Command representing the deletion of one object of the first sequence.<a name="line.20"></a>
+<span class="sourceLineNo">021</span> * &lt;p&gt;<a name="line.21"></a>
+<span class="sourceLineNo">022</span> * When one object of the first sequence has no corresponding object in the<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * second sequence at the right place, the {@link EditScript edit script}<a name="line.23"></a>
+<span class="sourceLineNo">024</span> * transforming the first sequence into the second sequence uses an instance of<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * this class to represent the deletion of this object. The objects embedded in<a name="line.25"></a>
+<span class="sourceLineNo">026</span> * these type of commands always come from the first sequence.<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * &lt;/p&gt;<a name="line.27"></a>
+<span class="sourceLineNo">028</span> *<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * @see StringsComparator<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * @see EditScript<a name="line.30"></a>
+<span class="sourceLineNo">031</span> *<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * @since 1.0<a name="line.32"></a>
+<span class="sourceLineNo">033</span> */<a name="line.33"></a>
+<span class="sourceLineNo">034</span>public class DeleteCommand&lt;T&gt; extends EditCommand&lt;T&gt; {<a name="line.34"></a>
+<span class="sourceLineNo">035</span><a name="line.35"></a>
+<span class="sourceLineNo">036</span>    /**<a name="line.36"></a>
+<span class="sourceLineNo">037</span>     * Simple constructor. Creates a new instance of {@link DeleteCommand}.<a name="line.37"></a>
+<span class="sourceLineNo">038</span>     *<a name="line.38"></a>
+<span class="sourceLineNo">039</span>     * @param object  the object of the first sequence that should be deleted<a name="line.39"></a>
+<span class="sourceLineNo">040</span>     */<a name="line.40"></a>
+<span class="sourceLineNo">041</span>    public DeleteCommand(final T object) {<a name="line.41"></a>
+<span class="sourceLineNo">042</span>        super(object);<a name="line.42"></a>
+<span class="sourceLineNo">043</span>    }<a name="line.43"></a>
+<span class="sourceLineNo">044</span><a name="line.44"></a>
+<span class="sourceLineNo">045</span>    /**<a name="line.45"></a>
+<span class="sourceLineNo">046</span>     * Accept a visitor. When a &lt;code&gt;DeleteCommand&lt;/code&gt; accepts a visitor, it calls<a name="line.46"></a>
+<span class="sourceLineNo">047</span>     * its {@link CommandVisitor#visitDeleteCommand visitDeleteCommand} method.<a name="line.47"></a>
+<span class="sourceLineNo">048</span>     *<a name="line.48"></a>
+<span class="sourceLineNo">049</span>     * @param visitor  the visitor to be accepted<a name="line.49"></a>
+<span class="sourceLineNo">050</span>     */<a name="line.50"></a>
+<span class="sourceLineNo">051</span>    @Override<a name="line.51"></a>
+<span class="sourceLineNo">052</span>    public void accept(final CommandVisitor&lt;T&gt; visitor) {<a name="line.52"></a>
+<span class="sourceLineNo">053</span>        visitor.visitDeleteCommand(getObject());<a name="line.53"></a>
+<span class="sourceLineNo">054</span>    }<a name="line.54"></a>
+<span class="sourceLineNo">055</span>}<a name="line.55"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
\ No newline at end of file

Propchange: websites/production/commons/content/sandbox/commons-text/apidocs/src-html/org/apache/commons/text/diff/DeleteCommand.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: websites/production/commons/content/sandbox/commons-text/apidocs/src-html/org/apache/commons/text/diff/EditCommand.html
==============================================================================
--- websites/production/commons/content/sandbox/commons-text/apidocs/src-html/org/apache/commons/text/diff/EditCommand.html (added)
+++ websites/production/commons/content/sandbox/commons-text/apidocs/src-html/org/apache/commons/text/diff/EditCommand.html Sun Mar  1 12:14:29 2015
@@ -0,0 +1,159 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="de">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>/*<a name="line.1"></a>
+<span class="sourceLineNo">002</span> * Licensed to the Apache Software Foundation (ASF) under one or more<a name="line.2"></a>
+<span class="sourceLineNo">003</span> * contributor license agreements.  See the NOTICE file distributed with<a name="line.3"></a>
+<span class="sourceLineNo">004</span> * this work for additional information regarding copyright ownership.<a name="line.4"></a>
+<span class="sourceLineNo">005</span> * The ASF licenses this file to You under the Apache License, Version 2.0<a name="line.5"></a>
+<span class="sourceLineNo">006</span> * (the "License"); you may not use this file except in compliance with<a name="line.6"></a>
+<span class="sourceLineNo">007</span> * the License.  You may obtain a copy of the License at<a name="line.7"></a>
+<span class="sourceLineNo">008</span> *<a name="line.8"></a>
+<span class="sourceLineNo">009</span> *      http://www.apache.org/licenses/LICENSE-2.0<a name="line.9"></a>
+<span class="sourceLineNo">010</span> *<a name="line.10"></a>
+<span class="sourceLineNo">011</span> * Unless required by applicable law or agreed to in writing, software<a name="line.11"></a>
+<span class="sourceLineNo">012</span> * distributed under the License is distributed on an "AS IS" BASIS,<a name="line.12"></a>
+<span class="sourceLineNo">013</span> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.<a name="line.13"></a>
+<span class="sourceLineNo">014</span> * See the License for the specific language governing permissions and<a name="line.14"></a>
+<span class="sourceLineNo">015</span> * limitations under the License.<a name="line.15"></a>
+<span class="sourceLineNo">016</span> */<a name="line.16"></a>
+<span class="sourceLineNo">017</span>package org.apache.commons.text.diff;<a name="line.17"></a>
+<span class="sourceLineNo">018</span><a name="line.18"></a>
+<span class="sourceLineNo">019</span>/**<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * Abstract base class for all commands used to transform an objects sequence<a name="line.20"></a>
+<span class="sourceLineNo">021</span> * into another one.<a name="line.21"></a>
+<span class="sourceLineNo">022</span> * &lt;p&gt;<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * When two objects sequences are compared through the<a name="line.23"></a>
+<span class="sourceLineNo">024</span> * {@link StringsComparator#getScript StringsComparator.getScript} method,<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * the result is provided has a {@link EditScript script} containing the commands<a name="line.25"></a>
+<span class="sourceLineNo">026</span> * that progressively transform the first sequence into the second one.<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * &lt;/p&gt;<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * &lt;p&gt;<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * There are only three types of commands, all of which are subclasses of this<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * abstract class. Each command is associated with one object belonging to at<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * least one of the sequences. These commands are {@link InsertCommand<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * InsertCommand} which correspond to an object of the second sequence being<a name="line.32"></a>
+<span class="sourceLineNo">033</span> * inserted into the first sequence, {@link DeleteCommand DeleteCommand} which<a name="line.33"></a>
+<span class="sourceLineNo">034</span> * correspond to an object of the first sequence being removed and<a name="line.34"></a>
+<span class="sourceLineNo">035</span> * {@link KeepCommand KeepCommand} which correspond to an object of the first<a name="line.35"></a>
+<span class="sourceLineNo">036</span> * sequence which &lt;code&gt;equals&lt;/code&gt; an object in the second sequence. It is<a name="line.36"></a>
+<span class="sourceLineNo">037</span> * guaranteed that comparison is always performed this way (i.e. the<a name="line.37"></a>
+<span class="sourceLineNo">038</span> * &lt;code&gt;equals&lt;/code&gt; method of the object from the first sequence is used and<a name="line.38"></a>
+<span class="sourceLineNo">039</span> * the object passed as an argument comes from the second sequence) ; this can<a name="line.39"></a>
+<span class="sourceLineNo">040</span> * be important if subclassing is used for some elements in the first sequence<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * and the &lt;code&gt;equals&lt;/code&gt; method is specialized.<a name="line.41"></a>
+<span class="sourceLineNo">042</span> * &lt;/p&gt;<a name="line.42"></a>
+<span class="sourceLineNo">043</span> *<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * &lt;p&gt;<a name="line.44"></a>
+<span class="sourceLineNo">045</span> * This code has been adapted from Apache Commons Collections 4.0.<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * &lt;/p&gt;<a name="line.46"></a>
+<span class="sourceLineNo">047</span> *<a name="line.47"></a>
+<span class="sourceLineNo">048</span> * @see StringsComparator<a name="line.48"></a>
+<span class="sourceLineNo">049</span> * @see EditScript<a name="line.49"></a>
+<span class="sourceLineNo">050</span> *<a name="line.50"></a>
+<span class="sourceLineNo">051</span> * @since 1.0<a name="line.51"></a>
+<span class="sourceLineNo">052</span> */<a name="line.52"></a>
+<span class="sourceLineNo">053</span>public abstract class EditCommand&lt;T&gt; {<a name="line.53"></a>
+<span class="sourceLineNo">054</span><a name="line.54"></a>
+<span class="sourceLineNo">055</span>    /** Object on which the command should be applied. */<a name="line.55"></a>
+<span class="sourceLineNo">056</span>    private final T object;<a name="line.56"></a>
+<span class="sourceLineNo">057</span><a name="line.57"></a>
+<span class="sourceLineNo">058</span>    /**<a name="line.58"></a>
+<span class="sourceLineNo">059</span>     * Simple constructor. Creates a new instance of EditCommand<a name="line.59"></a>
+<span class="sourceLineNo">060</span>     *<a name="line.60"></a>
+<span class="sourceLineNo">061</span>     * @param object  reference to the object associated with this command, this<a name="line.61"></a>
+<span class="sourceLineNo">062</span>     *   refers to an element of one of the sequences being compared<a name="line.62"></a>
+<span class="sourceLineNo">063</span>     */<a name="line.63"></a>
+<span class="sourceLineNo">064</span>    protected EditCommand(final T object) {<a name="line.64"></a>
+<span class="sourceLineNo">065</span>        this.object = object;<a name="line.65"></a>
+<span class="sourceLineNo">066</span>    }<a name="line.66"></a>
+<span class="sourceLineNo">067</span><a name="line.67"></a>
+<span class="sourceLineNo">068</span>    /**<a name="line.68"></a>
+<span class="sourceLineNo">069</span>     * Returns the object associated with this command.<a name="line.69"></a>
+<span class="sourceLineNo">070</span>     *<a name="line.70"></a>
+<span class="sourceLineNo">071</span>     * @return the object on which the command is applied<a name="line.71"></a>
+<span class="sourceLineNo">072</span>     */<a name="line.72"></a>
+<span class="sourceLineNo">073</span>    protected T getObject() {<a name="line.73"></a>
+<span class="sourceLineNo">074</span>        return object;<a name="line.74"></a>
+<span class="sourceLineNo">075</span>    }<a name="line.75"></a>
+<span class="sourceLineNo">076</span><a name="line.76"></a>
+<span class="sourceLineNo">077</span>    /**<a name="line.77"></a>
+<span class="sourceLineNo">078</span>     * Accept a visitor.<a name="line.78"></a>
+<span class="sourceLineNo">079</span>     * &lt;p&gt;<a name="line.79"></a>
+<span class="sourceLineNo">080</span>     * This method is invoked for each commands belonging to<a name="line.80"></a>
+<span class="sourceLineNo">081</span>     * an {@link EditScript EditScript}, in order to implement the visitor design pattern<a name="line.81"></a>
+<span class="sourceLineNo">082</span>     *<a name="line.82"></a>
+<span class="sourceLineNo">083</span>     * @param visitor  the visitor to be accepted<a name="line.83"></a>
+<span class="sourceLineNo">084</span>     */<a name="line.84"></a>
+<span class="sourceLineNo">085</span>    public abstract void accept(CommandVisitor&lt;T&gt; visitor);<a name="line.85"></a>
+<span class="sourceLineNo">086</span><a name="line.86"></a>
+<span class="sourceLineNo">087</span>}<a name="line.87"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
\ No newline at end of file

Propchange: websites/production/commons/content/sandbox/commons-text/apidocs/src-html/org/apache/commons/text/diff/EditCommand.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: websites/production/commons/content/sandbox/commons-text/apidocs/src-html/org/apache/commons/text/diff/EditScript.html
==============================================================================
--- websites/production/commons/content/sandbox/commons-text/apidocs/src-html/org/apache/commons/text/diff/EditScript.html (added)
+++ websites/production/commons/content/sandbox/commons-text/apidocs/src-html/org/apache/commons/text/diff/EditScript.html Sun Mar  1 12:14:29 2015
@@ -0,0 +1,204 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="de">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>/*<a name="line.1"></a>
+<span class="sourceLineNo">002</span> * Licensed to the Apache Software Foundation (ASF) under one or more<a name="line.2"></a>
+<span class="sourceLineNo">003</span> * contributor license agreements.  See the NOTICE file distributed with<a name="line.3"></a>
+<span class="sourceLineNo">004</span> * this work for additional information regarding copyright ownership.<a name="line.4"></a>
+<span class="sourceLineNo">005</span> * The ASF licenses this file to You under the Apache License, Version 2.0<a name="line.5"></a>
+<span class="sourceLineNo">006</span> * (the "License"); you may not use this file except in compliance with<a name="line.6"></a>
+<span class="sourceLineNo">007</span> * the License.  You may obtain a copy of the License at<a name="line.7"></a>
+<span class="sourceLineNo">008</span> *<a name="line.8"></a>
+<span class="sourceLineNo">009</span> *      http://www.apache.org/licenses/LICENSE-2.0<a name="line.9"></a>
+<span class="sourceLineNo">010</span> *<a name="line.10"></a>
+<span class="sourceLineNo">011</span> * Unless required by applicable law or agreed to in writing, software<a name="line.11"></a>
+<span class="sourceLineNo">012</span> * distributed under the License is distributed on an "AS IS" BASIS,<a name="line.12"></a>
+<span class="sourceLineNo">013</span> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.<a name="line.13"></a>
+<span class="sourceLineNo">014</span> * See the License for the specific language governing permissions and<a name="line.14"></a>
+<span class="sourceLineNo">015</span> * limitations under the License.<a name="line.15"></a>
+<span class="sourceLineNo">016</span> */<a name="line.16"></a>
+<span class="sourceLineNo">017</span>package org.apache.commons.text.diff;<a name="line.17"></a>
+<span class="sourceLineNo">018</span><a name="line.18"></a>
+<span class="sourceLineNo">019</span>import java.util.ArrayList;<a name="line.19"></a>
+<span class="sourceLineNo">020</span>import java.util.List;<a name="line.20"></a>
+<span class="sourceLineNo">021</span><a name="line.21"></a>
+<span class="sourceLineNo">022</span>/**<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * This class gathers all the {@link EditCommand commands} needed to transform<a name="line.23"></a>
+<span class="sourceLineNo">024</span> * one objects sequence into another objects sequence.<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * &lt;p&gt;<a name="line.25"></a>
+<span class="sourceLineNo">026</span> * An edit script is the most general view of the differences between two<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * sequences. It is built as the result of the comparison between two sequences<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * by the {@link StringsComparator StringsComparator} class. The user can<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * walk through it using the &lt;em&gt;visitor&lt;/em&gt; design pattern.<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * &lt;p&gt;<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * It is guaranteed that the objects embedded in the {@link InsertCommand insert<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * commands} come from the second sequence and that the objects embedded in<a name="line.32"></a>
+<span class="sourceLineNo">033</span> * either the {@link DeleteCommand delete commands} or {@link KeepCommand keep<a name="line.33"></a>
+<span class="sourceLineNo">034</span> * commands} come from the first sequence. This can be important if subclassing<a name="line.34"></a>
+<span class="sourceLineNo">035</span> * is used for some elements in the first sequence and the &lt;code&gt;equals&lt;/code&gt;<a name="line.35"></a>
+<span class="sourceLineNo">036</span> * method is specialized.<a name="line.36"></a>
+<span class="sourceLineNo">037</span> *<a name="line.37"></a>
+<span class="sourceLineNo">038</span> * @see StringsComparator<a name="line.38"></a>
+<span class="sourceLineNo">039</span> * @see EditCommand<a name="line.39"></a>
+<span class="sourceLineNo">040</span> * @see CommandVisitor<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * @see ReplacementsHandler<a name="line.41"></a>
+<span class="sourceLineNo">042</span> *<a name="line.42"></a>
+<span class="sourceLineNo">043</span> * @since 1.0<a name="line.43"></a>
+<span class="sourceLineNo">044</span> */<a name="line.44"></a>
+<span class="sourceLineNo">045</span>public class EditScript&lt;T&gt; {<a name="line.45"></a>
+<span class="sourceLineNo">046</span><a name="line.46"></a>
+<span class="sourceLineNo">047</span>    /** Container for the commands. */<a name="line.47"></a>
+<span class="sourceLineNo">048</span>    private final List&lt;EditCommand&lt;T&gt;&gt; commands;<a name="line.48"></a>
+<span class="sourceLineNo">049</span><a name="line.49"></a>
+<span class="sourceLineNo">050</span>    /** Length of the longest common subsequence. */<a name="line.50"></a>
+<span class="sourceLineNo">051</span>    private int lcsLength;<a name="line.51"></a>
+<span class="sourceLineNo">052</span><a name="line.52"></a>
+<span class="sourceLineNo">053</span>    /** Number of modifications. */<a name="line.53"></a>
+<span class="sourceLineNo">054</span>    private int modifications;<a name="line.54"></a>
+<span class="sourceLineNo">055</span><a name="line.55"></a>
+<span class="sourceLineNo">056</span>    /**<a name="line.56"></a>
+<span class="sourceLineNo">057</span>     * Simple constructor. Creates a new empty script.<a name="line.57"></a>
+<span class="sourceLineNo">058</span>     */<a name="line.58"></a>
+<span class="sourceLineNo">059</span>    public EditScript() {<a name="line.59"></a>
+<span class="sourceLineNo">060</span>        commands = new ArrayList&lt;EditCommand&lt;T&gt;&gt;();<a name="line.60"></a>
+<span class="sourceLineNo">061</span>        lcsLength = 0;<a name="line.61"></a>
+<span class="sourceLineNo">062</span>        modifications = 0;<a name="line.62"></a>
+<span class="sourceLineNo">063</span>    }<a name="line.63"></a>
+<span class="sourceLineNo">064</span><a name="line.64"></a>
+<span class="sourceLineNo">065</span>    /**<a name="line.65"></a>
+<span class="sourceLineNo">066</span>     * Add a keep command to the script.<a name="line.66"></a>
+<span class="sourceLineNo">067</span>     *<a name="line.67"></a>
+<span class="sourceLineNo">068</span>     * @param command  command to add<a name="line.68"></a>
+<span class="sourceLineNo">069</span>     */<a name="line.69"></a>
+<span class="sourceLineNo">070</span>    public void append(final KeepCommand&lt;T&gt; command) {<a name="line.70"></a>
+<span class="sourceLineNo">071</span>        commands.add(command);<a name="line.71"></a>
+<span class="sourceLineNo">072</span>        ++lcsLength;<a name="line.72"></a>
+<span class="sourceLineNo">073</span>    }<a name="line.73"></a>
+<span class="sourceLineNo">074</span><a name="line.74"></a>
+<span class="sourceLineNo">075</span>    /**<a name="line.75"></a>
+<span class="sourceLineNo">076</span>     * Add an insert command to the script.<a name="line.76"></a>
+<span class="sourceLineNo">077</span>     *<a name="line.77"></a>
+<span class="sourceLineNo">078</span>     * @param command  command to add<a name="line.78"></a>
+<span class="sourceLineNo">079</span>     */<a name="line.79"></a>
+<span class="sourceLineNo">080</span>    public void append(final InsertCommand&lt;T&gt; command) {<a name="line.80"></a>
+<span class="sourceLineNo">081</span>        commands.add(command);<a name="line.81"></a>
+<span class="sourceLineNo">082</span>        ++modifications;<a name="line.82"></a>
+<span class="sourceLineNo">083</span>    }<a name="line.83"></a>
+<span class="sourceLineNo">084</span><a name="line.84"></a>
+<span class="sourceLineNo">085</span>    /**<a name="line.85"></a>
+<span class="sourceLineNo">086</span>     * Add a delete command to the script.<a name="line.86"></a>
+<span class="sourceLineNo">087</span>     *<a name="line.87"></a>
+<span class="sourceLineNo">088</span>     * @param command  command to add<a name="line.88"></a>
+<span class="sourceLineNo">089</span>     */<a name="line.89"></a>
+<span class="sourceLineNo">090</span>    public void append(final DeleteCommand&lt;T&gt; command) {<a name="line.90"></a>
+<span class="sourceLineNo">091</span>        commands.add(command);<a name="line.91"></a>
+<span class="sourceLineNo">092</span>        ++modifications;<a name="line.92"></a>
+<span class="sourceLineNo">093</span>    }<a name="line.93"></a>
+<span class="sourceLineNo">094</span><a name="line.94"></a>
+<span class="sourceLineNo">095</span>    /**<a name="line.95"></a>
+<span class="sourceLineNo">096</span>     * Visit the script. The script implements the &lt;em&gt;visitor&lt;/em&gt; design<a name="line.96"></a>
+<span class="sourceLineNo">097</span>     * pattern, this method is the entry point to which the user supplies its<a name="line.97"></a>
+<span class="sourceLineNo">098</span>     * own visitor, the script will be responsible to drive it through the<a name="line.98"></a>
+<span class="sourceLineNo">099</span>     * commands in order and call the appropriate method as each command is<a name="line.99"></a>
+<span class="sourceLineNo">100</span>     * encountered.<a name="line.100"></a>
+<span class="sourceLineNo">101</span>     *<a name="line.101"></a>
+<span class="sourceLineNo">102</span>     * @param visitor  the visitor that will visit all commands in turn<a name="line.102"></a>
+<span class="sourceLineNo">103</span>     */<a name="line.103"></a>
+<span class="sourceLineNo">104</span>    public void visit(final CommandVisitor&lt;T&gt; visitor) {<a name="line.104"></a>
+<span class="sourceLineNo">105</span>        for (final EditCommand&lt;T&gt; command : commands) {<a name="line.105"></a>
+<span class="sourceLineNo">106</span>            command.accept(visitor);<a name="line.106"></a>
+<span class="sourceLineNo">107</span>        }<a name="line.107"></a>
+<span class="sourceLineNo">108</span>    }<a name="line.108"></a>
+<span class="sourceLineNo">109</span><a name="line.109"></a>
+<span class="sourceLineNo">110</span>    /**<a name="line.110"></a>
+<span class="sourceLineNo">111</span>     * Get the length of the Longest Common Subsequence (LCS). The length of the<a name="line.111"></a>
+<span class="sourceLineNo">112</span>     * longest common subsequence is the number of {@link KeepCommand keep<a name="line.112"></a>
+<span class="sourceLineNo">113</span>     * commands} in the script.<a name="line.113"></a>
+<span class="sourceLineNo">114</span>     *<a name="line.114"></a>
+<span class="sourceLineNo">115</span>     * @return length of the Longest Common Subsequence<a name="line.115"></a>
+<span class="sourceLineNo">116</span>     */<a name="line.116"></a>
+<span class="sourceLineNo">117</span>    public int getLCSLength() {<a name="line.117"></a>
+<span class="sourceLineNo">118</span>        return lcsLength;<a name="line.118"></a>
+<span class="sourceLineNo">119</span>    }<a name="line.119"></a>
+<span class="sourceLineNo">120</span><a name="line.120"></a>
+<span class="sourceLineNo">121</span>    /**<a name="line.121"></a>
+<span class="sourceLineNo">122</span>     * Get the number of effective modifications. The number of effective<a name="line.122"></a>
+<span class="sourceLineNo">123</span>     * modification is the number of {@link DeleteCommand delete} and<a name="line.123"></a>
+<span class="sourceLineNo">124</span>     * {@link InsertCommand insert} commands in the script.<a name="line.124"></a>
+<span class="sourceLineNo">125</span>     *<a name="line.125"></a>
+<span class="sourceLineNo">126</span>     * @return number of effective modifications<a name="line.126"></a>
+<span class="sourceLineNo">127</span>     */<a name="line.127"></a>
+<span class="sourceLineNo">128</span>    public int getModifications() {<a name="line.128"></a>
+<span class="sourceLineNo">129</span>        return modifications;<a name="line.129"></a>
+<span class="sourceLineNo">130</span>    }<a name="line.130"></a>
+<span class="sourceLineNo">131</span><a name="line.131"></a>
+<span class="sourceLineNo">132</span>}<a name="line.132"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
\ No newline at end of file

Propchange: websites/production/commons/content/sandbox/commons-text/apidocs/src-html/org/apache/commons/text/diff/EditScript.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: websites/production/commons/content/sandbox/commons-text/apidocs/src-html/org/apache/commons/text/diff/InsertCommand.html
==============================================================================
--- websites/production/commons/content/sandbox/commons-text/apidocs/src-html/org/apache/commons/text/diff/InsertCommand.html (added)
+++ websites/production/commons/content/sandbox/commons-text/apidocs/src-html/org/apache/commons/text/diff/InsertCommand.html Sun Mar  1 12:14:29 2015
@@ -0,0 +1,129 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="de">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>/*<a name="line.1"></a>
+<span class="sourceLineNo">002</span> * Licensed to the Apache Software Foundation (ASF) under one or more<a name="line.2"></a>
+<span class="sourceLineNo">003</span> * contributor license agreements.  See the NOTICE file distributed with<a name="line.3"></a>
+<span class="sourceLineNo">004</span> * this work for additional information regarding copyright ownership.<a name="line.4"></a>
+<span class="sourceLineNo">005</span> * The ASF licenses this file to You under the Apache License, Version 2.0<a name="line.5"></a>
+<span class="sourceLineNo">006</span> * (the "License"); you may not use this file except in compliance with<a name="line.6"></a>
+<span class="sourceLineNo">007</span> * the License.  You may obtain a copy of the License at<a name="line.7"></a>
+<span class="sourceLineNo">008</span> *<a name="line.8"></a>
+<span class="sourceLineNo">009</span> *      http://www.apache.org/licenses/LICENSE-2.0<a name="line.9"></a>
+<span class="sourceLineNo">010</span> *<a name="line.10"></a>
+<span class="sourceLineNo">011</span> * Unless required by applicable law or agreed to in writing, software<a name="line.11"></a>
+<span class="sourceLineNo">012</span> * distributed under the License is distributed on an "AS IS" BASIS,<a name="line.12"></a>
+<span class="sourceLineNo">013</span> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.<a name="line.13"></a>
+<span class="sourceLineNo">014</span> * See the License for the specific language governing permissions and<a name="line.14"></a>
+<span class="sourceLineNo">015</span> * limitations under the License.<a name="line.15"></a>
+<span class="sourceLineNo">016</span> */<a name="line.16"></a>
+<span class="sourceLineNo">017</span>package org.apache.commons.text.diff;<a name="line.17"></a>
+<span class="sourceLineNo">018</span><a name="line.18"></a>
+<span class="sourceLineNo">019</span>/**<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * Command representing the insertion of one object of the second sequence.<a name="line.20"></a>
+<span class="sourceLineNo">021</span> * &lt;p&gt;<a name="line.21"></a>
+<span class="sourceLineNo">022</span> * When one object of the second sequence has no corresponding object in the<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * first sequence at the right place, the {@link EditScript edit script}<a name="line.23"></a>
+<span class="sourceLineNo">024</span> * transforming the first sequence into the second sequence uses an instance of<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * this class to represent the insertion of this object. The objects embedded in<a name="line.25"></a>
+<span class="sourceLineNo">026</span> * these type of commands always come from the second sequence.<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * &lt;/p&gt;<a name="line.27"></a>
+<span class="sourceLineNo">028</span> *<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * @see StringsComparator<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * @see EditScript<a name="line.30"></a>
+<span class="sourceLineNo">031</span> *<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * @since 1.0<a name="line.32"></a>
+<span class="sourceLineNo">033</span> */<a name="line.33"></a>
+<span class="sourceLineNo">034</span>public class InsertCommand&lt;T&gt; extends EditCommand&lt;T&gt; {<a name="line.34"></a>
+<span class="sourceLineNo">035</span><a name="line.35"></a>
+<span class="sourceLineNo">036</span>    /**<a name="line.36"></a>
+<span class="sourceLineNo">037</span>     * Simple constructor. Creates a new instance of InsertCommand<a name="line.37"></a>
+<span class="sourceLineNo">038</span>     *<a name="line.38"></a>
+<span class="sourceLineNo">039</span>     * @param object  the object of the second sequence that should be inserted<a name="line.39"></a>
+<span class="sourceLineNo">040</span>     */<a name="line.40"></a>
+<span class="sourceLineNo">041</span>    public InsertCommand(final T object) {<a name="line.41"></a>
+<span class="sourceLineNo">042</span>        super(object);<a name="line.42"></a>
+<span class="sourceLineNo">043</span>    }<a name="line.43"></a>
+<span class="sourceLineNo">044</span><a name="line.44"></a>
+<span class="sourceLineNo">045</span>    /**<a name="line.45"></a>
+<span class="sourceLineNo">046</span>     * Accept a visitor. When an &lt;code&gt;InsertCommand&lt;/code&gt; accepts a visitor,<a name="line.46"></a>
+<span class="sourceLineNo">047</span>     * it calls its {@link CommandVisitor#visitInsertCommand visitInsertCommand}<a name="line.47"></a>
+<span class="sourceLineNo">048</span>     * method.<a name="line.48"></a>
+<span class="sourceLineNo">049</span>     *<a name="line.49"></a>
+<span class="sourceLineNo">050</span>     * @param visitor  the visitor to be accepted<a name="line.50"></a>
+<span class="sourceLineNo">051</span>     */<a name="line.51"></a>
+<span class="sourceLineNo">052</span>    @Override<a name="line.52"></a>
+<span class="sourceLineNo">053</span>    public void accept(final CommandVisitor&lt;T&gt; visitor) {<a name="line.53"></a>
+<span class="sourceLineNo">054</span>        visitor.visitInsertCommand(getObject());<a name="line.54"></a>
+<span class="sourceLineNo">055</span>    }<a name="line.55"></a>
+<span class="sourceLineNo">056</span><a name="line.56"></a>
+<span class="sourceLineNo">057</span>}<a name="line.57"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
\ No newline at end of file

Propchange: websites/production/commons/content/sandbox/commons-text/apidocs/src-html/org/apache/commons/text/diff/InsertCommand.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: websites/production/commons/content/sandbox/commons-text/apidocs/src-html/org/apache/commons/text/diff/KeepCommand.html
==============================================================================
--- websites/production/commons/content/sandbox/commons-text/apidocs/src-html/org/apache/commons/text/diff/KeepCommand.html (added)
+++ websites/production/commons/content/sandbox/commons-text/apidocs/src-html/org/apache/commons/text/diff/KeepCommand.html Sun Mar  1 12:14:29 2015
@@ -0,0 +1,129 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="de">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>/*<a name="line.1"></a>
+<span class="sourceLineNo">002</span> * Licensed to the Apache Software Foundation (ASF) under one or more<a name="line.2"></a>
+<span class="sourceLineNo">003</span> * contributor license agreements.  See the NOTICE file distributed with<a name="line.3"></a>
+<span class="sourceLineNo">004</span> * this work for additional information regarding copyright ownership.<a name="line.4"></a>
+<span class="sourceLineNo">005</span> * The ASF licenses this file to You under the Apache License, Version 2.0<a name="line.5"></a>
+<span class="sourceLineNo">006</span> * (the "License"); you may not use this file except in compliance with<a name="line.6"></a>
+<span class="sourceLineNo">007</span> * the License.  You may obtain a copy of the License at<a name="line.7"></a>
+<span class="sourceLineNo">008</span> *<a name="line.8"></a>
+<span class="sourceLineNo">009</span> *      http://www.apache.org/licenses/LICENSE-2.0<a name="line.9"></a>
+<span class="sourceLineNo">010</span> *<a name="line.10"></a>
+<span class="sourceLineNo">011</span> * Unless required by applicable law or agreed to in writing, software<a name="line.11"></a>
+<span class="sourceLineNo">012</span> * distributed under the License is distributed on an "AS IS" BASIS,<a name="line.12"></a>
+<span class="sourceLineNo">013</span> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.<a name="line.13"></a>
+<span class="sourceLineNo">014</span> * See the License for the specific language governing permissions and<a name="line.14"></a>
+<span class="sourceLineNo">015</span> * limitations under the License.<a name="line.15"></a>
+<span class="sourceLineNo">016</span> */<a name="line.16"></a>
+<span class="sourceLineNo">017</span>package org.apache.commons.text.diff;<a name="line.17"></a>
+<span class="sourceLineNo">018</span><a name="line.18"></a>
+<span class="sourceLineNo">019</span>/**<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * Command representing the keeping of one object present in both sequences.<a name="line.20"></a>
+<span class="sourceLineNo">021</span> * &lt;p&gt;<a name="line.21"></a>
+<span class="sourceLineNo">022</span> * When one object of the first sequence &lt;code&gt;equals&lt;/code&gt; another objects in<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * the second sequence at the right place, the {@link EditScript edit script}<a name="line.23"></a>
+<span class="sourceLineNo">024</span> * transforming the first sequence into the second sequence uses an instance of<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * this class to represent the keeping of this object. The objects embedded in<a name="line.25"></a>
+<span class="sourceLineNo">026</span> * these type of commands always come from the first sequence.<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * &lt;/p&gt;<a name="line.27"></a>
+<span class="sourceLineNo">028</span> *<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * @see StringsComparator<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * @see EditScript<a name="line.30"></a>
+<span class="sourceLineNo">031</span> *<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * @since 1.0<a name="line.32"></a>
+<span class="sourceLineNo">033</span> */<a name="line.33"></a>
+<span class="sourceLineNo">034</span>public class KeepCommand&lt;T&gt; extends EditCommand&lt;T&gt; {<a name="line.34"></a>
+<span class="sourceLineNo">035</span><a name="line.35"></a>
+<span class="sourceLineNo">036</span>    /**<a name="line.36"></a>
+<span class="sourceLineNo">037</span>     * Simple constructor. Creates a new instance of KeepCommand<a name="line.37"></a>
+<span class="sourceLineNo">038</span>     *<a name="line.38"></a>
+<span class="sourceLineNo">039</span>     * @param object  the object belonging to both sequences (the object is a<a name="line.39"></a>
+<span class="sourceLineNo">040</span>     *   reference to the instance in the first sequence which is known<a name="line.40"></a>
+<span class="sourceLineNo">041</span>     *   to be equal to an instance in the second sequence)<a name="line.41"></a>
+<span class="sourceLineNo">042</span>     */<a name="line.42"></a>
+<span class="sourceLineNo">043</span>    public KeepCommand(final T object) {<a name="line.43"></a>
+<span class="sourceLineNo">044</span>        super(object);<a name="line.44"></a>
+<span class="sourceLineNo">045</span>    }<a name="line.45"></a>
+<span class="sourceLineNo">046</span><a name="line.46"></a>
+<span class="sourceLineNo">047</span>    /**<a name="line.47"></a>
+<span class="sourceLineNo">048</span>     * Accept a visitor. When a &lt;code&gt;KeepCommand&lt;/code&gt; accepts a visitor, it<a name="line.48"></a>
+<span class="sourceLineNo">049</span>     * calls its {@link CommandVisitor#visitKeepCommand visitKeepCommand} method.<a name="line.49"></a>
+<span class="sourceLineNo">050</span>     *<a name="line.50"></a>
+<span class="sourceLineNo">051</span>     * @param visitor  the visitor to be accepted<a name="line.51"></a>
+<span class="sourceLineNo">052</span>     */<a name="line.52"></a>
+<span class="sourceLineNo">053</span>    @Override<a name="line.53"></a>
+<span class="sourceLineNo">054</span>    public void accept(final CommandVisitor&lt;T&gt; visitor) {<a name="line.54"></a>
+<span class="sourceLineNo">055</span>        visitor.visitKeepCommand(getObject());<a name="line.55"></a>
+<span class="sourceLineNo">056</span>    }<a name="line.56"></a>
+<span class="sourceLineNo">057</span>}<a name="line.57"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
\ No newline at end of file

Propchange: websites/production/commons/content/sandbox/commons-text/apidocs/src-html/org/apache/commons/text/diff/KeepCommand.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: websites/production/commons/content/sandbox/commons-text/apidocs/src-html/org/apache/commons/text/diff/ReplacementsFinder.html
==============================================================================
--- websites/production/commons/content/sandbox/commons-text/apidocs/src-html/org/apache/commons/text/diff/ReplacementsFinder.html (added)
+++ websites/production/commons/content/sandbox/commons-text/apidocs/src-html/org/apache/commons/text/diff/ReplacementsFinder.html Sun Mar  1 12:14:29 2015
@@ -0,0 +1,183 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="de">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>/*<a name="line.1"></a>
+<span class="sourceLineNo">002</span> * Licensed to the Apache Software Foundation (ASF) under one or more<a name="line.2"></a>
+<span class="sourceLineNo">003</span> * contributor license agreements.  See the NOTICE file distributed with<a name="line.3"></a>
+<span class="sourceLineNo">004</span> * this work for additional information regarding copyright ownership.<a name="line.4"></a>
+<span class="sourceLineNo">005</span> * The ASF licenses this file to You under the Apache License, Version 2.0<a name="line.5"></a>
+<span class="sourceLineNo">006</span> * (the "License"); you may not use this file except in compliance with<a name="line.6"></a>
+<span class="sourceLineNo">007</span> * the License.  You may obtain a copy of the License at<a name="line.7"></a>
+<span class="sourceLineNo">008</span> *<a name="line.8"></a>
+<span class="sourceLineNo">009</span> *      http://www.apache.org/licenses/LICENSE-2.0<a name="line.9"></a>
+<span class="sourceLineNo">010</span> *<a name="line.10"></a>
+<span class="sourceLineNo">011</span> * Unless required by applicable law or agreed to in writing, software<a name="line.11"></a>
+<span class="sourceLineNo">012</span> * distributed under the License is distributed on an "AS IS" BASIS,<a name="line.12"></a>
+<span class="sourceLineNo">013</span> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.<a name="line.13"></a>
+<span class="sourceLineNo">014</span> * See the License for the specific language governing permissions and<a name="line.14"></a>
+<span class="sourceLineNo">015</span> * limitations under the License.<a name="line.15"></a>
+<span class="sourceLineNo">016</span> */<a name="line.16"></a>
+<span class="sourceLineNo">017</span>package org.apache.commons.text.diff;<a name="line.17"></a>
+<span class="sourceLineNo">018</span><a name="line.18"></a>
+<span class="sourceLineNo">019</span>import java.util.ArrayList;<a name="line.19"></a>
+<span class="sourceLineNo">020</span>import java.util.List;<a name="line.20"></a>
+<span class="sourceLineNo">021</span><a name="line.21"></a>
+<span class="sourceLineNo">022</span>/**<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * This class handles sequences of replacements resulting from a comparison.<a name="line.23"></a>
+<span class="sourceLineNo">024</span> * &lt;p&gt;<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * The comparison of two objects sequences leads to the identification of common<a name="line.25"></a>
+<span class="sourceLineNo">026</span> * parts and parts which only belong to the first or to the second sequence. The<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * common parts appear in the edit script in the form of &lt;em&gt;keep&lt;/em&gt; commands,<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * they can be considered as synchronization objects between the two sequences.<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * These synchronization objects split the two sequences in synchronized<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * sub-sequences. The first sequence can be transformed into the second one by<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * replacing each synchronized sub-sequence of the first sequence by the<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * corresponding sub-sequence of the second sequence. This is a synthetic way to<a name="line.32"></a>
+<span class="sourceLineNo">033</span> * see an {@link EditScript edit script}, replacing individual<a name="line.33"></a>
+<span class="sourceLineNo">034</span> * {@link DeleteCommand delete}, {@link KeepCommand keep} and<a name="line.34"></a>
+<span class="sourceLineNo">035</span> * {@link InsertCommand insert} commands by fewer replacements acting on<a name="line.35"></a>
+<span class="sourceLineNo">036</span> * complete sub-sequences.<a name="line.36"></a>
+<span class="sourceLineNo">037</span> * &lt;/p&gt;<a name="line.37"></a>
+<span class="sourceLineNo">038</span> * &lt;p&gt;<a name="line.38"></a>
+<span class="sourceLineNo">039</span> * This class is devoted to perform this interpretation. It visits an<a name="line.39"></a>
+<span class="sourceLineNo">040</span> * {@link EditScript edit script} (because it implements the<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * {@link CommandVisitor CommandVisitor} interface) and calls a user-supplied<a name="line.41"></a>
+<span class="sourceLineNo">042</span> * handler implementing the {@link ReplacementsHandler ReplacementsHandler}<a name="line.42"></a>
+<span class="sourceLineNo">043</span> * interface to process the sub-sequences.<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * &lt;/p&gt;<a name="line.44"></a>
+<span class="sourceLineNo">045</span> *<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * @see ReplacementsHandler<a name="line.46"></a>
+<span class="sourceLineNo">047</span> * @see EditScript<a name="line.47"></a>
+<span class="sourceLineNo">048</span> * @see StringsComparator<a name="line.48"></a>
+<span class="sourceLineNo">049</span> *<a name="line.49"></a>
+<span class="sourceLineNo">050</span> * @since 1.0<a name="line.50"></a>
+<span class="sourceLineNo">051</span> */<a name="line.51"></a>
+<span class="sourceLineNo">052</span>public class ReplacementsFinder&lt;T&gt; implements CommandVisitor&lt;T&gt; {<a name="line.52"></a>
+<span class="sourceLineNo">053</span><a name="line.53"></a>
+<span class="sourceLineNo">054</span>    private final List&lt;T&gt; pendingInsertions;<a name="line.54"></a>
+<span class="sourceLineNo">055</span>    private final List&lt;T&gt; pendingDeletions;<a name="line.55"></a>
+<span class="sourceLineNo">056</span>    private int skipped;<a name="line.56"></a>
+<span class="sourceLineNo">057</span><a name="line.57"></a>
+<span class="sourceLineNo">058</span>    /** Handler to call when synchronized sequences are found. */<a name="line.58"></a>
+<span class="sourceLineNo">059</span>    private final ReplacementsHandler&lt;T&gt; handler;<a name="line.59"></a>
+<span class="sourceLineNo">060</span><a name="line.60"></a>
+<span class="sourceLineNo">061</span>    /**<a name="line.61"></a>
+<span class="sourceLineNo">062</span>     * Simple constructor. Creates a new instance of {@link ReplacementsFinder}.<a name="line.62"></a>
+<span class="sourceLineNo">063</span>     *<a name="line.63"></a>
+<span class="sourceLineNo">064</span>     * @param handler  handler to call when synchronized sequences are found<a name="line.64"></a>
+<span class="sourceLineNo">065</span>     */<a name="line.65"></a>
+<span class="sourceLineNo">066</span>    public ReplacementsFinder(final ReplacementsHandler&lt;T&gt; handler) {<a name="line.66"></a>
+<span class="sourceLineNo">067</span>        pendingInsertions = new ArrayList&lt;T&gt;();<a name="line.67"></a>
+<span class="sourceLineNo">068</span>        pendingDeletions  = new ArrayList&lt;T&gt;();<a name="line.68"></a>
+<span class="sourceLineNo">069</span>        skipped           = 0;<a name="line.69"></a>
+<span class="sourceLineNo">070</span>        this.handler      = handler;<a name="line.70"></a>
+<span class="sourceLineNo">071</span>    }<a name="line.71"></a>
+<span class="sourceLineNo">072</span><a name="line.72"></a>
+<span class="sourceLineNo">073</span>    /**<a name="line.73"></a>
+<span class="sourceLineNo">074</span>     * Add an object to the pending insertions set.<a name="line.74"></a>
+<span class="sourceLineNo">075</span>     *<a name="line.75"></a>
+<span class="sourceLineNo">076</span>     * @param object  object to insert<a name="line.76"></a>
+<span class="sourceLineNo">077</span>     */<a name="line.77"></a>
+<span class="sourceLineNo">078</span>    public void visitInsertCommand(final T object) {<a name="line.78"></a>
+<span class="sourceLineNo">079</span>        pendingInsertions.add(object);<a name="line.79"></a>
+<span class="sourceLineNo">080</span>    }<a name="line.80"></a>
+<span class="sourceLineNo">081</span><a name="line.81"></a>
+<span class="sourceLineNo">082</span>    /**<a name="line.82"></a>
+<span class="sourceLineNo">083</span>     * Handle a synchronization object.<a name="line.83"></a>
+<span class="sourceLineNo">084</span>     * &lt;p&gt;<a name="line.84"></a>
+<span class="sourceLineNo">085</span>     * When a synchronization object is identified, the pending insertions and<a name="line.85"></a>
+<span class="sourceLineNo">086</span>     * pending deletions sets are provided to the user handler as subsequences.<a name="line.86"></a>
+<span class="sourceLineNo">087</span>     * &lt;/p&gt;<a name="line.87"></a>
+<span class="sourceLineNo">088</span>     *<a name="line.88"></a>
+<span class="sourceLineNo">089</span>     * @param object  synchronization object detected<a name="line.89"></a>
+<span class="sourceLineNo">090</span>     */<a name="line.90"></a>
+<span class="sourceLineNo">091</span>    public void visitKeepCommand(final T object) {<a name="line.91"></a>
+<span class="sourceLineNo">092</span>        if (pendingDeletions.isEmpty() &amp;&amp; pendingInsertions.isEmpty()) {<a name="line.92"></a>
+<span class="sourceLineNo">093</span>            ++skipped;<a name="line.93"></a>
+<span class="sourceLineNo">094</span>        } else {<a name="line.94"></a>
+<span class="sourceLineNo">095</span>            handler.handleReplacement(skipped, pendingDeletions, pendingInsertions);<a name="line.95"></a>
+<span class="sourceLineNo">096</span>            pendingDeletions.clear();<a name="line.96"></a>
+<span class="sourceLineNo">097</span>            pendingInsertions.clear();<a name="line.97"></a>
+<span class="sourceLineNo">098</span>            skipped = 1;<a name="line.98"></a>
+<span class="sourceLineNo">099</span>        }<a name="line.99"></a>
+<span class="sourceLineNo">100</span>    }<a name="line.100"></a>
+<span class="sourceLineNo">101</span><a name="line.101"></a>
+<span class="sourceLineNo">102</span>    /**<a name="line.102"></a>
+<span class="sourceLineNo">103</span>     * Add an object to the pending deletions set.<a name="line.103"></a>
+<span class="sourceLineNo">104</span>     *<a name="line.104"></a>
+<span class="sourceLineNo">105</span>     * @param object  object to delete<a name="line.105"></a>
+<span class="sourceLineNo">106</span>     */<a name="line.106"></a>
+<span class="sourceLineNo">107</span>    public void visitDeleteCommand(final T object) {<a name="line.107"></a>
+<span class="sourceLineNo">108</span>        pendingDeletions.add(object);<a name="line.108"></a>
+<span class="sourceLineNo">109</span>    }<a name="line.109"></a>
+<span class="sourceLineNo">110</span><a name="line.110"></a>
+<span class="sourceLineNo">111</span>}<a name="line.111"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
\ No newline at end of file

Propchange: websites/production/commons/content/sandbox/commons-text/apidocs/src-html/org/apache/commons/text/diff/ReplacementsFinder.html
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message