1 23 24 package org.apache.slide.search.basic.expression; 25 26 import org.apache.slide.search.InvalidQueryException; 27 import org.apache.slide.search.basic.ComparableResourcesPool; 28 import org.apache.slide.search.basic.Literals; 29 import org.jdom.Element; 30 31 37 public class IsPrincipalExpression extends CheckResourceTypeExpression { 38 39 45 public IsPrincipalExpression (Element e, ComparableResourcesPool requestedResourcesPool) throws InvalidQueryException { 46 super(e, requestedResourcesPool); 47 comparedProperty.setLiteral ("principal"); 48 } 49 50 56 public String toString () { 57 return (Literals.ISPRINCIPAL); 58 } 59 } 60 61 | Popular Tags |