public class ElementQuerySpecification extends QuerySpecification
Describes a search query by giving the IJavaScriptElement
to search
for.
This class is not intended to be instantiated or subclassed by clients.
Constructor and Description |
---|
ElementQuerySpecification(IJavaScriptElement javaElement,
int limitTo,
IJavaScriptSearchScope scope,
java.lang.String scopeDescription)
A constructor.
|
Modifier and Type | Method and Description |
---|---|
IJavaScriptElement |
getElement()
Returns the element to search for.
|
getLimitTo, getScope, getScopeDescription
public ElementQuerySpecification(IJavaScriptElement javaElement, int limitTo, IJavaScriptSearchScope scope, java.lang.String scopeDescription)
javaElement
- The JavaScript element the query should search for.limitTo
- The kind of occurrence the query should search for.scope
- The scope to search in.scopeDescription
- A human readable description of the search scope.public IJavaScriptElement getElement()
Copyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.