Class AspectranNodeParser
- java.lang.Object
-
- com.aspectran.core.context.rule.parser.xml.AspectranNodeParser
-
public class AspectranNodeParser extends java.lang.Object
The Class AspectranNodeParser.Created: 2008. 06. 14 AM 4:39:24
-
-
Constructor Summary
Constructors Constructor Description AspectranNodeParser(ContextRuleAssistant assistant)
Instantiates a new AspectranNodeParser.AspectranNodeParser(ContextRuleAssistant assistant, boolean validating, boolean trackingLocation)
Instantiates a new AspectranNodeParser.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContextRuleAssistant
getAssistant()
void
parse(RuleAppender ruleAppender)
Parses the aspectran configuration.void
parsingFailed(java.lang.String message, java.lang.Throwable cause)
-
-
-
Constructor Detail
-
AspectranNodeParser
public AspectranNodeParser(ContextRuleAssistant assistant)
Instantiates a new AspectranNodeParser.- Parameters:
assistant
- the assistant for Context Builder
-
AspectranNodeParser
public AspectranNodeParser(ContextRuleAssistant assistant, boolean validating, boolean trackingLocation)
Instantiates a new AspectranNodeParser.- Parameters:
assistant
- the context builder assistantvalidating
- true if the parser produced will validate documents as they are parsed; false otherwisetrackingLocation
- true if tracing the location of the node being parsed; false otherwise
-
-
Method Detail
-
getAssistant
public ContextRuleAssistant getAssistant()
-
parse
public void parse(RuleAppender ruleAppender) throws java.lang.Exception
Parses the aspectran configuration.- Parameters:
ruleAppender
- the rule appender- Throws:
java.lang.Exception
- the exception
-
parsingFailed
public void parsingFailed(java.lang.String message, java.lang.Throwable cause) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-