/// <summary>Registers this expression with the specified factory.</summary> /// <exception cref="System.IO.IOException"/> public static void RegisterExpression(ExpressionFactory factory) { factory.AddClass(typeof(Org.Apache.Hadoop.FS.Shell.Find.Name), "-name"); factory.AddClass(typeof(Name.Iname), "-iname"); }
/// <summary>Gets an instance of an expression from the factory.</summary> private Expression GetExpression(Type expressionClass) { return(ExpressionFactory.GetExpressionFactory().CreateExpression(expressionClass, GetConf())); }
/// <summary>Asks the factory whether an expression is recognized.</summary> private bool IsExpression(string expressionName) { return(ExpressionFactory.GetExpressionFactory().IsExpression(expressionName)); }
/// <summary>Gets a named expression from the factory.</summary> private Expression GetExpression(string expressionName) { return(ExpressionFactory.GetExpressionFactory().GetExpression(expressionName, GetConf ())); }