Package com.clarkparsia.owlwg.testcase.filter

Examples of com.clarkparsia.owlwg.testcase.filter.UnsatisfiedSyntaxConstraintFilter


      }
      else if( splits[i].equalsIgnoreCase( "dl" ) ) {
        filterStack.add( SatisfiedSyntaxConstraintFilter.DL );
      }
      else if( splits[i].equalsIgnoreCase( "!dl" ) ) {
        filterStack.add( new UnsatisfiedSyntaxConstraintFilter( SyntaxConstraint.DL ) );
      }
      else if( splits[i].equalsIgnoreCase( "el" ) ) {
        filterStack.add( SatisfiedSyntaxConstraintFilter.EL );
      }
      else if( splits[i].equalsIgnoreCase( "!el" ) ) {
        filterStack.add( new UnsatisfiedSyntaxConstraintFilter( SyntaxConstraint.EL ) );
      }
      else if( splits[i].equalsIgnoreCase( "extracredit" ) ) {
        filterStack.add( StatusFilter.EXTRACREDIT );
      }
      else if( splits[i].equalsIgnoreCase( "not" ) ) {
        FilterCondition a = filterStack.removeLast();
        filterStack.add( NegationFilter.not( a ) );
      }
      else if( splits[i].equalsIgnoreCase( "or" ) ) {
        DisjunctionFilter or = DisjunctionFilter.or( filterStack );
        filterStack.clear();
        filterStack.add( or );
      }
      else if( splits[i].equalsIgnoreCase( "proposed" ) ) {
        filterStack.add( StatusFilter.PROPOSED );
      }
      else if( splits[i].equalsIgnoreCase( "ql" ) ) {
        filterStack.add( SatisfiedSyntaxConstraintFilter.QL );
      }
      else if( splits[i].equalsIgnoreCase( "!ql" ) ) {
        filterStack.add( new UnsatisfiedSyntaxConstraintFilter( SyntaxConstraint.QL ) );
      }
      else if( splits[i].equalsIgnoreCase( "rdf" ) ) {
        filterStack.add( new SemanticsFilter( Semantics.RDF ) );
      }
      else if( splits[i].equalsIgnoreCase( "rejected" ) ) {
        filterStack.add( StatusFilter.REJECTED );
      }
      else if( splits[i].equalsIgnoreCase( "rl" ) ) {
        filterStack.add( SatisfiedSyntaxConstraintFilter.RL );
      }
      else if( splits[i].equalsIgnoreCase( "!rl" ) ) {
        filterStack.add( new UnsatisfiedSyntaxConstraintFilter( SyntaxConstraint.RL ) );
      }
      else {
        final String msg = format( "Unexpected filter condition argument: \"%s\"",
            splits[i] );
        log.severe( msg );
View Full Code Here

TOP

Related Classes of com.clarkparsia.owlwg.testcase.filter.UnsatisfiedSyntaxConstraintFilter

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.