public MatchNoDocsQuery build(QueryNode queryNode) throws QueryNodeException {if (!(queryNode instanceof MatchNoDocsQueryNode)) {throw new QueryNodeException(new MessageImpl(QueryParserMessages.LUCENE_QUERY_CONVERSION_ERROR, queryNode.toQueryString(new EscapeQuerySyntaxImpl()), queryNode.getClass().getName()));}return new MatchNoDocsQuery();}

public MatchNoDocsQuery build ( QueryNode queryNode ) throws QueryNodeException { if ( ! ( queryNode instanceof MatchNoDocsQueryNode ) ) { throw new QueryNodeException ( new MessageImpl ( QueryParserMessages . LUCENE_QUERY_CONVERSION_ERROR , queryNode . toQueryString ( new EscapeQuerySyntaxImpl ( ) ) , queryNode . getClass ( ) . getName ( ) ) ) ; } return new MatchNoDocsQuery ( ) ; }
public virtual Query Build(IQueryNode queryNode){if (!(queryNode is MatchNoDocsQueryNode)){throw new QueryNodeException(new Message(QueryParserMessages.LUCENE_QUERY_CONVERSION_ERROR, queryNode.ToQueryString(new EscapeQuerySyntax()), queryNode.GetType().Name));}return new BooleanQuery();}
