|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsrc2xml.Detector
public abstract class Detector
A Detector is an object suitable to identify a particular occurrence in source file. This is an abstract interface to generic occurrence detection in the source stream.
Field Summary | |
---|---|
boolean |
include
Include or exclude triggering pattern |
java.lang.String |
occurrence
Occurrence string |
Constructor Summary | |
---|---|
Detector(boolean inc)
Class constructor |
Method Summary | |
---|---|
abstract boolean |
IsOccurred(Source src)
Read an element from source |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.String occurrence
public boolean include
Constructor Detail |
---|
public Detector(boolean inc)
inc
- A boolean that states if include or
not detected occurrenceMethod Detail |
---|
public abstract boolean IsOccurred(Source src) throws java.io.IOException
src
- The source stream
java.io.IOException
- If an input exception occurred
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |