Package com.ben12.reta.api
Interface RETAParser
public interface RETAParser
- Author:
- BenoƮt Moreau (ben.12)
-
Method Summary
Modifier and TypeMethodDescriptionvoidparseSource(RequirementSourceManager manager) Parse the source and usemanagerfor add requirements and references found.voidparseSourcePreview(RequirementSourceManager manager, StringBuilder output, int limit) Parse the source and usemanagerfor add requirements and references found.
Print the requirement source parsed inoutputand stop parsing when limit is reached.
-
Method Details
-
parseSource
Parse the source and usemanagerfor 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 usemanagerfor add requirements and references found.
Print the requirement source parsed inoutputand stop parsing when limit is reached.- Parameters:
manager- requirement source manageroutput- source content parsedlimit- source limit size to parse- Throws:
RETAParseException- Parsing exception
-