All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class COM.Lexical.Metaphrase.SourceMatch

java.lang.Object
    |
    +----COM.Lexical.Metaphrase.MatchSet
            |
            +----COM.Lexical.Metaphrase.Match
                    |
                    +----COM.Lexical.Metaphrase.SourceMatch

public class SourceMatch
extends Match
Subclass of Match. Returned in Enumeration from Metaphrase.matches(String, SearchSpec) when the source property of the SearchSpec is non-null.

A SourceMatch contains additional accessor methods sourceAtom() and partition().

Version:
Authority1.1, 11 Apr 2000

Method Index

 o partition()
A Partition of given Source which has one or more atoms in this.concept().
 o Print(PrintStream)
Prints the contents of this SourceMatch to out.
 o sourceAtom()
Highest precedence Atom in concept() which is from partition().

Method Detail

 o partition
public Partition partition()
          A Partition of given Source which has one or more atoms in this.concept().
 o sourceAtom
public Atom sourceAtom()
          Highest precedence Atom in concept() which is from partition().
 o Print
public void Print(java.io.PrintStream out)
          Prints the contents of this SourceMatch to out.
Overrides:
Print in class Match

All Packages  Class Hierarchy  This Package  Previous  Next  Index