Package org.wijiscommons.cdcl.rulesheet.language

Examples of org.wijiscommons.cdcl.rulesheet.language.SequenceTypeEnum


     * {@inheritDoc}
     */
    public SequenceTypeEnum getSequenceType(String sourceLine, int sourceLineNumber) throws UnknownSequenceTypeException
    {
        PatternMatcherHelper.validateSourceLine(sourceLine);  
        SequenceTypeEnum sequenceType = null;
       
        if (isReplaceCluase(sourceLine))
        {
            sequenceType = SequenceTypeEnum.ALIAS_REPLACE_CLAUSE_DECALARATION;
        }
View Full Code Here


     */
    public SequenceTypeEnum getSequenceType(String sourceLine,
            int sourceLineNumber) throws UnknownSequenceTypeException
    {
        PatternMatcherHelper.validateSourceLine(sourceLine);  
        SequenceTypeEnum sequenceType = null;
       
        if (isDefaultRuleIDClause(sourceLine))
        {
            sequenceType = SequenceTypeEnum.DEFAULT_RULE_ID_CLAUSE_DECLARATION;
        }
View Full Code Here

    }
   
    public SequenceTypeEnum getSequenceType(String sourceLine, int sourceLineNumber) throws UnknownSequenceTypeException
    {
        PatternMatcherHelper.validateSourceLine(sourceLine);
        SequenceTypeEnum sequenceType = null;
       
        if (isRuleSheetDefaultURIClause(sourceLine))
        {
            sequenceType = SequenceTypeEnum.RULE_SHEET_DEFAULT_URI_CLAUSE_DECLARATION;
        }
View Full Code Here

    }
   
    public SequenceTypeEnum getSequenceType(String sourceLine)
    {
        PatternMatcherHelper.validateSourceLine(sourceLine);
        SequenceTypeEnum sequenceType = null;
       
        if (isRuleSheetDefaultURIDefinition(sourceLine))
        {
            sequenceType = SequenceTypeEnum.RULE_SHEET_DEFAULT_URI_DEFINITION;
        }
View Full Code Here

            }
           
            // Check to see if the passed in source line is a definition
            if (getDefinitionPatternMatcher().isDefinition(sourceLine))
            {
                SequenceTypeEnum sequenceType = getDefinitionPatternMatcher().getSequenceType(sourceLine);
               
                setCurrentRuleSheetContext(sequenceType);
               
                if (sequenceType == SequenceTypeEnum.ALIAS_DEFINITION)
                {      
View Full Code Here

            else
            {
                DeclarationPatternMatcher declarationPatternMatcher = getDeclarationPatternMatcher(getCurrentRuleSheetContext());
                if (declarationPatternMatcher.isDeclaration(sourceLine))
                {
                    SequenceTypeEnum sequenceType = null;
                    try
                    {
                        sequenceType = declarationPatternMatcher.getSequenceType(sourceLine, currentLineNumber);
                    }
                    catch (UnknownSequenceTypeException e)
View Full Code Here

        return sequence;
    }
   
    private Sequence processDefinition(String sourceLine, int sourceLineNumber)
    {
        SequenceTypeEnum sequenceType = getDefinitionPatternMatcher().getSequenceType(sourceLine);
       
        // Set the Rule Sheet context for further processing.
        setCurrentRuleSheetContext(sequenceType);
       
        List<Token> tokens = new ArrayList<Token>();
View Full Code Here

        return new SequenceImpl(sourceLine, sequenceType, sourceLineNumber, tokens);
    }
   
    private Sequence procesDeclaration(String sourceLine, int sourceLineNumber)
    {
        SequenceTypeEnum sequenceType = null;
        try
        {
            DeclarationPatternMatcher declarationPatternMatcher = getDeclarationPatternMatcher(getCurrentRuleSheetContext());
            sequenceType = declarationPatternMatcher.getSequenceType(sourceLine, sourceLineNumber);
        }
View Full Code Here

   
    public SequenceTypeEnum getSequenceType(String sourceLine, int sourceLineNumber)
        throws UnknownSequenceTypeException
    {
        PatternMatcherHelper.validateSourceLine(sourceLine);
        SequenceTypeEnum sequenceType = null;
       
        if (isRuleSheetURIClause(sourceLine))
        {
            sequenceType = SequenceTypeEnum.RULE_SHEET_URI_CLAUSE_DECLARATION;
        }
View Full Code Here

     */
    public SequenceTypeEnum getSequenceType(String sourceLine,
            int sourceLineNumber) throws UnknownSequenceTypeException
    {
        PatternMatcherHelper.validateSourceLine(sourceLine);
        SequenceTypeEnum sequenceType = null;
       
        if (isEmailNotificationClauseDeclaration(sourceLine))
        {
            sequenceType = SequenceTypeEnum.EMAIL_OUTCOME_NOTIFICATION_CLAUSE_DECLARATION;
        }
View Full Code Here

TOP

Related Classes of org.wijiscommons.cdcl.rulesheet.language.SequenceTypeEnum

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.