|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
See:
Description
| Class Summary | |
|---|---|
| ResultBuffer | This class represents a buffer for result candidates. |
| ResultCandidate | Messageswhich can be
(the beginning of) Spex results, such as OpeningTagMessage and
TextMessage, must
extend this class. |
Provides means for buffering possible result messages and printing them.
During Spex processing Messages get
forwarded from one Transducer to
another. During this time they may have been annotated by a head transducer
with a head annotation. Only such messages which also are extending ResultCandidate
are capable of getting annotated by that head annotations. Getting annotated by
such an head annotation does mean, that that message is possibly (a beginning
of) a result. Whether it is a result or not depends on the head annotation. It
may indicate it to be a result, or no result, or it may just not yet be determinated
whether it is a result or not. Such result candidate for whom it is not yet known
if they are results or not, will be kept stored in the ResultBuffer.
Results will always be printed in first-in first-out order, regardless of which
result candidate became a result first. This means that results may have to wait
for preceeding result candidates for which it is not yet known if they are results
or not.
Code Authors: Fatih Coskun Design Authors: Fatih Coskun, Dan Olteanu This SPEX version is based on previous versions developped by Dan Olteanu and on research articles that can be found at http://www.pms.informatik.uni-muenchen.de/publikationen/ The material distributed here have been provided by the contributing authors as a means to ensure timely dissemination of technical and scholarly work on a noncommercial basis. Copyright and all rights therein are maintained by the authors. It is understood that all persons copying material distributed here will adhere to the terms and constraints implied by the applicable copyrights. The code distributed here may not be redistributed -- in particular may not be electronically reposted -- without the explicit permission of the copyright holders. The material made available here is exclusively for private use. No part of it may be distributed in classes or in publications, reproduced, stored in a retrieval system, or published, in any form or by means electronic, mechanical, photocopying, or otherwise, without prior written permission of the authors and of the copyright holders.
|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||