Package com.ben12.reta.api
Interface RETAParser
public interface RETAParser
- Author:
- BenoƮt Moreau (ben.12)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
parseSource
(RequirementSourceManager manager) Parse the source and usemanager
for add requirements and references found.void
parseSourcePreview
(RequirementSourceManager manager, StringBuilder output, int limit) Parse the source and usemanager
for add requirements and references found.
Print the requirement source parsed inoutput
and stop parsing when limit is reached.
-
Method Details
-
parseSource
Parse the source and usemanager
for add requirements and references found.- Parameters:
manager
- requirement source manager- Throws:
RETAParseException
- Parsing exception
-
parseSourcePreview
void parseSourcePreview(RequirementSourceManager manager, StringBuilder output, int limit) throws RETAParseException Parse the source and usemanager
for add requirements and references found.
Print the requirement source parsed inoutput
and stop parsing when limit is reached.- Parameters:
manager
- requirement source manageroutput
- source content parsedlimit
- source limit size to parse- Throws:
RETAParseException
- Parsing exception
-