public class TargetNamespaceFilter extends XmlTextFilter
myValue
EMPTY_ARRAY
Constructor and Description |
---|
TargetNamespaceFilter(java.lang.String str) |
TargetNamespaceFilter(java.lang.String[] strs) |
Modifier and Type | Method and Description |
---|---|
boolean |
isAcceptable(java.lang.Object element,
PsiElement context)
Checks if element in given context is matched by given filter.
|
boolean |
isClassAcceptable(java.lang.Class hintClass)
Quick check if the filter acceptable for elements of given class at all.
|
getTextByElement, toString
public TargetNamespaceFilter(java.lang.String str)
public TargetNamespaceFilter(java.lang.String[] strs)
public boolean isClassAcceptable(java.lang.Class hintClass)
ElementFilter
isClassAcceptable
in interface ElementFilter
isClassAcceptable
in class XmlTextFilter
hintClass
- class for which we are looking for metadatapublic boolean isAcceptable(java.lang.Object element, PsiElement context)
ElementFilter
isAcceptable
in interface ElementFilter
isAcceptable
in class XmlTextFilter
element
- most often PsiElementcontext
- context of the element (if any)