public class StixPatternProcessor extends Object implements StixPatternListener, Supplier<Pattern>
| Constructor and Description |
|---|
StixPatternProcessor()
timestampFormatter defaults to "yyyy-MM-dd'T'HH:mm:ss[.SSS]'Z'". |
StixPatternProcessor(DateTimeFormatter timestampFormater)
Initialize a pattern listener.
|
public StixPatternProcessor()
timestampFormatter defaults to "yyyy-MM-dd'T'HH:mm:ss[.SSS]'Z'".StixPatternProcessor(DateTimeFormatter)public StixPatternProcessor(DateTimeFormatter timestampFormater)
timestampFormater - public Pattern get()
public void exitObjectPath(StixPatternParser.ObjectPathContext ctx)
exitObjectPath in interface StixPatternListenerctx - public void exitStringLiteral(StixPatternParser.StringLiteralContext ctx)
exitStringLiteral in interface StixPatternListenerctx - public void exitPropTestLike(StixPatternParser.PropTestLikeContext ctx)
StixPatternListenerpropTestLike labeled alternative in
StixPatternParser.propTest().exitPropTestLike in interface StixPatternListenerctx - the parse treepublic void exitPrimitiveLiteral(StixPatternParser.PrimitiveLiteralContext ctx)
StixPatternListenerStixPatternParser.primitiveLiteral().exitPrimitiveLiteral in interface StixPatternListenerctx - the parse treepublic void exitPropTestRegex(StixPatternParser.PropTestRegexContext ctx)
StixPatternListenerpropTestRegex labeled alternative
in StixPatternParser.propTest().exitPropTestRegex in interface StixPatternListenerctx - the parse treepublic void exitPropTestEqual(StixPatternParser.PropTestEqualContext ctx)
StixPatternListenerpropTestEqual labeled alternative
in StixPatternParser.propTest().exitPropTestEqual in interface StixPatternListenerctx - the parse treepublic void exitPropTestOrder(StixPatternParser.PropTestOrderContext ctx)
StixPatternListenerpropTestOrder labeled alternative
in StixPatternParser.propTest().exitPropTestOrder in interface StixPatternListenerctx - the parse treepublic void exitPropTestSet(StixPatternParser.PropTestSetContext ctx)
StixPatternListenerpropTestSet labeled alternative in
StixPatternParser.propTest().exitPropTestSet in interface StixPatternListenerctx - the parse treepublic void enterSetLiteral(StixPatternParser.SetLiteralContext ctx)
enterSetLiteral in interface StixPatternListenerctx - public void exitSetLiteral(StixPatternParser.SetLiteralContext ctx)
exitSetLiteral in interface StixPatternListenerctx - public void exitOrderableLiteral(StixPatternParser.OrderableLiteralContext ctx)
StixPatternListenerStixPatternParser.orderableLiteral().exitOrderableLiteral in interface StixPatternListenerctx - the parse treepublic void exitComparisonExpressionAnded(StixPatternParser.ComparisonExpressionAndedContext ctx)
StixPatternListenercomparisonExpressionAnded labeled
alternative in StixPatternParser.comparisonExpressionAnd().exitComparisonExpressionAnded in interface StixPatternListenerctx - the parse treepublic void exitComparisonExpressionOred(StixPatternParser.ComparisonExpressionOredContext ctx)
StixPatternListenercomparisonExpressionOred labeled
alternative in StixPatternParser.comparisonExpression().exitComparisonExpressionOred in interface StixPatternListenerctx - the parse treepublic void exitObservationExpressionSimple(StixPatternParser.ObservationExpressionSimpleContext ctx)
StixPatternListenerobservationExpressionSimple labeled
alternative in StixPatternParser.observationExpression().exitObservationExpressionSimple in interface StixPatternListenerctx - the parse treepublic void exitObservationExpressionAnd(StixPatternParser.ObservationExpressionAndContext ctx)
StixPatternListenerStixPatternParser.observationExpressionAnd().exitObservationExpressionAnd in interface StixPatternListenerctx - the parse treepublic void exitObservationExpressionOr(StixPatternParser.ObservationExpressionOrContext ctx)
StixPatternListenerStixPatternParser.observationExpressionOr().exitObservationExpressionOr in interface StixPatternListenerctx - the parse treepublic void exitObservationExpressionStartStop(StixPatternParser.ObservationExpressionStartStopContext ctx)
StixPatternListenerobservationExpressionStartStop
labeled alternative in StixPatternParser.observationExpression().exitObservationExpressionStartStop in interface StixPatternListenerctx - the parse treepublic void exitObservationExpressions(StixPatternParser.ObservationExpressionsContext ctx)
StixPatternListenerStixPatternParser.observationExpressions().exitObservationExpressions in interface StixPatternListenerctx - the parse treepublic void exitPattern(StixPatternParser.PatternContext ctx)
StixPatternListenerStixPatternParser.pattern().exitPattern in interface StixPatternListenerctx - the parse treepublic void enterPattern(StixPatternParser.PatternContext ctx)
StixPatternListenerStixPatternParser.pattern().enterPattern in interface StixPatternListenerctx - public void enterObservationExpressions(StixPatternParser.ObservationExpressionsContext ctx)
StixPatternListenerStixPatternParser.observationExpressions().enterObservationExpressions in interface StixPatternListenerctx - the parse treepublic void enterObservationExpressionOr(StixPatternParser.ObservationExpressionOrContext ctx)
StixPatternListenerStixPatternParser.observationExpressionOr().enterObservationExpressionOr in interface StixPatternListenerctx - the parse treepublic void enterObservationExpressionAnd(StixPatternParser.ObservationExpressionAndContext ctx)
StixPatternListenerStixPatternParser.observationExpressionAnd().enterObservationExpressionAnd in interface StixPatternListenerctx - the parse treepublic void enterObservationExpressionRepeated(StixPatternParser.ObservationExpressionRepeatedContext ctx)
StixPatternListenerobservationExpressionRepeated
labeled alternative in StixPatternParser.observationExpression().enterObservationExpressionRepeated in interface StixPatternListenerctx - the parse treepublic void exitObservationExpressionRepeated(StixPatternParser.ObservationExpressionRepeatedContext ctx)
StixPatternListenerobservationExpressionRepeated
labeled alternative in StixPatternParser.observationExpression().exitObservationExpressionRepeated in interface StixPatternListenerctx - the parse treepublic void enterObservationExpressionSimple(StixPatternParser.ObservationExpressionSimpleContext ctx)
StixPatternListenerobservationExpressionSimple
labeled alternative in StixPatternParser.observationExpression().enterObservationExpressionSimple in interface StixPatternListenerctx - the parse treepublic void enterObservationExpressionCompound(StixPatternParser.ObservationExpressionCompoundContext ctx)
StixPatternListenerobservationExpressionCompound
labeled alternative in StixPatternParser.observationExpression().enterObservationExpressionCompound in interface StixPatternListenerctx - the parse treepublic void exitObservationExpressionCompound(StixPatternParser.ObservationExpressionCompoundContext ctx)
StixPatternListenerobservationExpressionCompound
labeled alternative in StixPatternParser.observationExpression().exitObservationExpressionCompound in interface StixPatternListenerctx - the parse treepublic void enterObservationExpressionWithin(StixPatternParser.ObservationExpressionWithinContext ctx)
StixPatternListenerobservationExpressionWithin
labeled alternative in StixPatternParser.observationExpression().enterObservationExpressionWithin in interface StixPatternListenerctx - the parse treepublic void exitObservationExpressionWithin(StixPatternParser.ObservationExpressionWithinContext ctx)
StixPatternListenerobservationExpressionWithin labeled
alternative in StixPatternParser.observationExpression().exitObservationExpressionWithin in interface StixPatternListenerctx - the parse treepublic void enterObservationExpressionStartStop(StixPatternParser.ObservationExpressionStartStopContext ctx)
StixPatternListenerobservationExpressionStartStop
labeled alternative in StixPatternParser.observationExpression().enterObservationExpressionStartStop in interface StixPatternListenerctx - the parse treepublic void enterPropTestEqual(StixPatternParser.PropTestEqualContext ctx)
StixPatternListenerpropTestEqual labeled alternative
in StixPatternParser.propTest().enterPropTestEqual in interface StixPatternListenerctx - the parse treepublic void enterPropTestOrder(StixPatternParser.PropTestOrderContext ctx)
StixPatternListenerpropTestOrder labeled alternative
in StixPatternParser.propTest().enterPropTestOrder in interface StixPatternListenerctx - the parse treepublic void enterPropTestSet(StixPatternParser.PropTestSetContext ctx)
StixPatternListenerpropTestSet labeled alternative in
StixPatternParser.propTest().enterPropTestSet in interface StixPatternListenerctx - the parse treepublic void enterPropTestLike(StixPatternParser.PropTestLikeContext ctx)
StixPatternListenerpropTestLike labeled alternative
in StixPatternParser.propTest().enterPropTestLike in interface StixPatternListenerctx - the parse treepublic void enterPropTestRegex(StixPatternParser.PropTestRegexContext ctx)
StixPatternListenerpropTestRegex labeled alternative
in StixPatternParser.propTest().enterPropTestRegex in interface StixPatternListenerctx - the parse treepublic void enterPropTestIsSubset(StixPatternParser.PropTestIsSubsetContext ctx)
StixPatternListenerpropTestIsSubset labeled
alternative in StixPatternParser.propTest().enterPropTestIsSubset in interface StixPatternListenerctx - the parse treepublic void exitPropTestIsSubset(StixPatternParser.PropTestIsSubsetContext ctx)
StixPatternListenerpropTestIsSubset labeled
alternative in StixPatternParser.propTest().exitPropTestIsSubset in interface StixPatternListenerctx - the parse treepublic void enterPropTestIsSuperset(StixPatternParser.PropTestIsSupersetContext ctx)
StixPatternListenerpropTestIsSuperset labeled
alternative in StixPatternParser.propTest().enterPropTestIsSuperset in interface StixPatternListenerctx - the parse treepublic void exitPropTestIsSuperset(StixPatternParser.PropTestIsSupersetContext ctx)
StixPatternListenerpropTestIsSuperset labeled
alternative in StixPatternParser.propTest().exitPropTestIsSuperset in interface StixPatternListenerctx - the parse treepublic void enterPropTestParen(StixPatternParser.PropTestParenContext ctx)
StixPatternListenerpropTestParen labeled alternative
in StixPatternParser.propTest().enterPropTestParen in interface StixPatternListenerctx - the parse treepublic void exitPropTestParen(StixPatternParser.PropTestParenContext ctx)
StixPatternListenerpropTestParen labeled alternative
in StixPatternParser.propTest().exitPropTestParen in interface StixPatternListenerctx - the parse treepublic void enterPropTestExists(StixPatternParser.PropTestExistsContext ctx)
StixPatternListenerpropTestExists labeled alternative
in StixPatternParser.propTest().enterPropTestExists in interface StixPatternListenerctx - the parse treepublic void exitPropTestExists(StixPatternParser.PropTestExistsContext ctx)
StixPatternListenerpropTestExists labeled alternative
in StixPatternParser.propTest().exitPropTestExists in interface StixPatternListenerctx - the parse treepublic void enterStartStopQualifier(StixPatternParser.StartStopQualifierContext ctx)
StixPatternListenerStixPatternParser.startStopQualifier().enterStartStopQualifier in interface StixPatternListenerctx - the parse treepublic void exitStartStopQualifier(StixPatternParser.StartStopQualifierContext ctx)
StixPatternListenerStixPatternParser.startStopQualifier().exitStartStopQualifier in interface StixPatternListenerctx - the parse treepublic void enterWithinQualifier(StixPatternParser.WithinQualifierContext ctx)
StixPatternListenerStixPatternParser.withinQualifier().enterWithinQualifier in interface StixPatternListenerctx - the parse treepublic void exitWithinQualifier(StixPatternParser.WithinQualifierContext ctx)
StixPatternListenerStixPatternParser.withinQualifier().exitWithinQualifier in interface StixPatternListenerctx - the parse treepublic void enterRepeatedQualifier(StixPatternParser.RepeatedQualifierContext ctx)
StixPatternListenerStixPatternParser.repeatedQualifier().enterRepeatedQualifier in interface StixPatternListenerctx - the parse treepublic void exitRepeatedQualifier(StixPatternParser.RepeatedQualifierContext ctx)
StixPatternListenerStixPatternParser.repeatedQualifier().exitRepeatedQualifier in interface StixPatternListenerctx - the parse treepublic void enterObjectPath(StixPatternParser.ObjectPathContext ctx)
StixPatternListenerStixPatternParser.objectPath().enterObjectPath in interface StixPatternListenerctx - the parse treepublic void enterObjectType(StixPatternParser.ObjectTypeContext ctx)
StixPatternListenerStixPatternParser.objectType().enterObjectType in interface StixPatternListenerctx - the parse treepublic void exitObjectType(StixPatternParser.ObjectTypeContext ctx)
StixPatternListenerStixPatternParser.objectType().exitObjectType in interface StixPatternListenerctx - the parse treepublic void enterFirstPathComponent(StixPatternParser.FirstPathComponentContext ctx)
StixPatternListenerStixPatternParser.firstPathComponent().enterFirstPathComponent in interface StixPatternListenerctx - the parse treepublic void exitFirstPathComponent(StixPatternParser.FirstPathComponentContext ctx)
StixPatternListenerStixPatternParser.firstPathComponent().exitFirstPathComponent in interface StixPatternListenerctx - the parse treepublic void enterIndexPathStep(StixPatternParser.IndexPathStepContext ctx)
StixPatternListenerindexPathStep labeled alternative
in StixPatternParser.objectPathComponent().enterIndexPathStep in interface StixPatternListenerctx - the parse treepublic void exitIndexPathStep(StixPatternParser.IndexPathStepContext ctx)
StixPatternListenerindexPathStep labeled alternative
in StixPatternParser.objectPathComponent().exitIndexPathStep in interface StixPatternListenerctx - the parse treepublic void enterPathStep(StixPatternParser.PathStepContext ctx)
StixPatternListenerpathStep labeled alternative in
StixPatternParser.objectPathComponent().enterPathStep in interface StixPatternListenerctx - the parse treepublic void exitPathStep(StixPatternParser.PathStepContext ctx)
StixPatternListenerpathStep labeled alternative in
StixPatternParser.objectPathComponent().exitPathStep in interface StixPatternListenerctx - the parse treepublic void enterKeyPathStep(StixPatternParser.KeyPathStepContext ctx)
StixPatternListenerkeyPathStep labeled alternative in
StixPatternParser.objectPathComponent().enterKeyPathStep in interface StixPatternListenerctx - the parse treepublic void exitKeyPathStep(StixPatternParser.KeyPathStepContext ctx)
StixPatternListenerkeyPathStep labeled alternative in
StixPatternParser.objectPathComponent().exitKeyPathStep in interface StixPatternListenerctx - the parse treepublic void enterPrimitiveLiteral(StixPatternParser.PrimitiveLiteralContext ctx)
StixPatternListenerStixPatternParser.primitiveLiteral().enterPrimitiveLiteral in interface StixPatternListenerctx - the parse treepublic void enterOrderableLiteral(StixPatternParser.OrderableLiteralContext ctx)
StixPatternListenerStixPatternParser.orderableLiteral().enterOrderableLiteral in interface StixPatternListenerctx - the parse treepublic void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode tn)
visitTerminal in interface org.antlr.v4.runtime.tree.ParseTreeListenerpublic void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode en)
visitErrorNode in interface org.antlr.v4.runtime.tree.ParseTreeListenerpublic void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext prc)
enterEveryRule in interface org.antlr.v4.runtime.tree.ParseTreeListenerpublic void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext prc)
exitEveryRule in interface org.antlr.v4.runtime.tree.ParseTreeListenerpublic void enterOrderingComparator(StixPatternParser.OrderingComparatorContext ctx)
StixPatternListenerStixPatternParser.orderingComparator().enterOrderingComparator in interface StixPatternListenerctx - the parse treepublic void exitOrderingComparator(StixPatternParser.OrderingComparatorContext ctx)
StixPatternListenerStixPatternParser.orderingComparator().exitOrderingComparator in interface StixPatternListenerctx - the parse treepublic void enterStringLiteral(StixPatternParser.StringLiteralContext ctx)
StixPatternListenerStixPatternParser.stringLiteral().enterStringLiteral in interface StixPatternListenerctx - the parse treepublic void enterComparisonExpressionAnd_(StixPatternParser.ComparisonExpressionAnd_Context ctx)
StixPatternListenercomparisonExpressionAnd_ labeled
alternative in StixPatternParser.comparisonExpression().enterComparisonExpressionAnd_ in interface StixPatternListenerctx - the parse treepublic void exitComparisonExpressionAnd_(StixPatternParser.ComparisonExpressionAnd_Context ctx)
StixPatternListenercomparisonExpressionAnd_ labeled
alternative in StixPatternParser.comparisonExpression().exitComparisonExpressionAnd_ in interface StixPatternListenerctx - the parse treepublic void enterComparisonExpressionOred(StixPatternParser.ComparisonExpressionOredContext ctx)
StixPatternListenercomparisonExpressionOred labeled
alternative in StixPatternParser.comparisonExpression().enterComparisonExpressionOred in interface StixPatternListenerctx - the parse treepublic void enterComparisonExpressionAndPropTest(StixPatternParser.ComparisonExpressionAndPropTestContext ctx)
StixPatternListenercomparisonExpressionAndPropTest
labeled alternative in StixPatternParser.comparisonExpressionAnd().enterComparisonExpressionAndPropTest in interface StixPatternListenerctx - the parse treepublic void exitComparisonExpressionAndPropTest(StixPatternParser.ComparisonExpressionAndPropTestContext ctx)
StixPatternListenercomparisonExpressionAndPropTest
labeled alternative in StixPatternParser.comparisonExpressionAnd().exitComparisonExpressionAndPropTest in interface StixPatternListenerctx - the parse treepublic void enterComparisonExpressionAnded(StixPatternParser.ComparisonExpressionAndedContext ctx)
StixPatternListenercomparisonExpressionAnded labeled
alternative in StixPatternParser.comparisonExpressionAnd().enterComparisonExpressionAnded in interface StixPatternListenerctx - the parse treeCopyright © 2020. All rights reserved.