# SpanNotBuilder (Lucene 3.6.1 API)
Keywords: org.apache.lucene.xmlparser.builders.SpanNotBuilder class

## org.apache.lucene.xmlparser.builders
Class SpanNotBuilder

    java.lang.Object
      org.apache.lucene.xmlparser.builders.SpanBuilderBase
          org.apache.lucene.xmlparser.builders.SpanNotBuilder

All Implemented Interfaces:
  SpanQueryBuilder, QueryBuilder

    public class SpanNotBuilder

extends SpanBuilderBase

Constructor Summary
`SpanNotBuilder(SpanQueryBuilder factory)`

Method Summary
`org.apache.lucene.search.spans.SpanQuery` `getSpanQuery(Element e)`

Methods inherited from class org.apache.lucene.xmlparser.builders.SpanBuilderBase
`getQuery`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### SpanNotBuilder

    public SpanNotBuilder(SpanQueryBuilder factory)

Parameters:
  `factory` -

Method Detail

### getSpanQuery

    public org.apache.lucene.search.spans.SpanQuery getSpanQuery(Element e)
                                                          throws ParserException

  Throws:
    `ParserException`