You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by ge...@apache.org on 2006/04/13 17:49:21 UTC
svn commit: r393846 - in
/incubator/harmony/enhanced/classlib/trunk/doc/regex: Regexp.htm
conventions.htm drl.css harmony.css
Author: geirm
Date: Thu Apr 13 08:49:19 2006
New Revision: 393846
URL: http://svn.apache.org/viewcvs?rev=393846&view=rev
Log:
s/DRL/Harmony
Added:
incubator/harmony/enhanced/classlib/trunk/doc/regex/harmony.css
- copied, changed from r393843, incubator/harmony/enhanced/classlib/trunk/doc/regex/drl.css
Removed:
incubator/harmony/enhanced/classlib/trunk/doc/regex/drl.css
Modified:
incubator/harmony/enhanced/classlib/trunk/doc/regex/Regexp.htm
incubator/harmony/enhanced/classlib/trunk/doc/regex/conventions.htm
Modified: incubator/harmony/enhanced/classlib/trunk/doc/regex/Regexp.htm
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/doc/regex/Regexp.htm?rev=393846&r1=393845&r2=393846&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/doc/regex/Regexp.htm (original)
+++ incubator/harmony/enhanced/classlib/trunk/doc/regex/Regexp.htm Thu Apr 13 08:49:19 2006
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
-<LINK rel="Stylesheet" type="text/css" media="all" href="drl.css">
+<LINK rel="Stylesheet" type="text/css" media="all" href="harmony.css">
<title>Design of the regex processing framework</title>
</head>
<body>
@@ -51,7 +51,7 @@
<h1><a name="About_this_document"></a>About This Document</h1>
<h2><a name="Purpose"></a>Purpose</h2>
<p>This document describes the <code>java.util.regex</code> package delivered as part of
- the DRL (Dynamic Run-time Layer) initiative. This document provides an overview
+ the Harmony classlibrary project. This document provides an overview
of the overall architecture with focus on the aspects improving performance.
</p>
<h2><a name="Intended_Audience"></a>Intended Audience</h2>
@@ -65,7 +65,7 @@
href="#*">*</a> programming language [<a href="#JavaSite">5</a>]. </p>
<h2><a name="Documentation_Conventions"></a>Documentation Conventions</h2>
<p>This document uses the <a
-href="conventions.htm">unified conventions</a> for the DRL documentation kit.</p>
+href="conventions.htm">unified conventions</a> for the Harmony documentation kit.</p>
<P class="backtotop"><A href="#Top">Back to Top</A></P>
<h1><a name="Introduction"></a>Introduction to Pattern Matching </h1>
@@ -81,21 +81,21 @@
last instance of <i>world</i> in a sentence. The BM string searching algorithm is more
appropriate for solving the task than the RE technique, and is more effective
from the performance perspective. To optimize using pattern matching techniques
- with different tasks, DRL provides a unified interface that applies to any part
+ with different tasks, Harmony provides a unified interface that applies to any part
of a regular expression, including the whole expression. </p>
<p>In terms of the Finite Automata theory, which is the basis of regular expression
- processing, a part of regular expression is a <i>node</i>. The DRL regex framework
+ processing, a part of regular expression is a <i>node</i>. The Harmony regex framework
treats every distinctive part of a regular expression and the whole expression
as a node. Each node implements the unified interface adjusted for a specific
- technique. For instance, for the regular expression in the example, the DRL
+ technique. For instance, for the regular expression in the example, the Harmony
framework includes a special class SequenceSet, which has a unified interface
called <code>AbstractSet</code>, and implements the Boyer-Moore algorithm in
searching for a word.</p>
<P class="backtotop"><A href="#Top">Back to Top</A></P>
<h1><a name="AbstractSetIntro"></a>AbstractSet Interface</h1>
-<p>The key feature of the DRL regex framework the single super interface, <code>AbstractSet</code>,
+<p>The key feature of the Harmony regex framework the single super interface, <code>AbstractSet</code>,
shared by all types of nodes. Individual nodes are independent, so that every
node of the automaton incorporates its own find-match algorithm optimized for
a specific type of nodes. You can use methods implemented in the <code>AbstractSet</code>
@@ -232,7 +232,7 @@
<P class="backtotop"><A href="#Top">Back to Top</A></P>
<h1><a name="UsageExamples"></a>Usage Examples</h1>
-<P>This part on the document illustrates usage of the DRL regex framework. </P>
+<P>This part on the document illustrates usage of the Harmony regex framework. </P>
<h3><a name="Example1"></a>Example 1</h3>
<p>This example illustrates using the <code>CharSet</code> class, which includes all nodes accepting characters to create a new type of tokens. For that, the class uses the <code>LeafSet</code> class, which is the basic class for tokens. This example shows that the only method you need to override in order to present a new type of tokens is the <code>accept()</code> method. </p>
<pre>class CharSet extends LeafSet {
Modified: incubator/harmony/enhanced/classlib/trunk/doc/regex/conventions.htm
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/doc/regex/conventions.htm?rev=393846&r1=393845&r2=393846&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/doc/regex/conventions.htm (original)
+++ incubator/harmony/enhanced/classlib/trunk/doc/regex/conventions.htm Thu Apr 13 08:49:19 2006
@@ -19,12 +19,12 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Documentation Conventions</title>
-<link rel=Stylesheet type="text/css" media=all href=drl.css>
+<link rel=Stylesheet type="text/css" media=all href=harmony.css>
<body>
<h1><a name="Notation_Conventions">Documentation Conventions</a></h1>
-<P> The DRL (dynamic run-time layer) documentation set uses the following conventions. </P>
+<P> The Harmony documentation set uses the following conventions. </P>
<table border=1 width="100%">
<tr>
<td class="TableHeading">Convention </td>
Copied: incubator/harmony/enhanced/classlib/trunk/doc/regex/harmony.css (from r393843, incubator/harmony/enhanced/classlib/trunk/doc/regex/drl.css)
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/doc/regex/harmony.css?p2=incubator/harmony/enhanced/classlib/trunk/doc/regex/harmony.css&p1=incubator/harmony/enhanced/classlib/trunk/doc/regex/drl.css&r1=393843&r2=393846&rev=393846&view=diff
==============================================================================
(empty)