code: @FactoryMethod
      public static OgnlExpectation create( String expected )
      {
  
          if (!OgnlExpectation.conditionalExpression( expected ) &&
              !OgnlExpectation.extractExpression( expected )) return null;
          return new OgnlExpectation( expected );
      }
docs: <p>create.</p>
  
  @param expected a {@link java.lang.String} object.
  @return a {@link com.greenpepper.extensions.ognl.OgnlExpectation} object.