public class DefaultXmlNamespaceHelper extends XmlNamespaceHelper
XmlNamespaceHelper.Runner<P,T extends java.lang.Throwable>
DEFAULT_EXTENSION
Constructor and Description |
---|
DefaultXmlNamespaceHelper() |
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.String> |
getNamespacesByTagName(java.lang.String tagName,
XmlFile context) |
java.util.Set<java.lang.String> |
guessUnboundNamespaces(PsiElement element,
XmlFile file) |
void |
insertNamespaceDeclaration(XmlFile file,
Editor editor,
java.util.Set<java.lang.String> possibleNamespaces,
java.lang.String nsPrefix,
XmlNamespaceHelper.Runner<java.lang.String,IncorrectOperationException> runAfter) |
protected boolean |
isAvailable(PsiFile file) |
getHelper, getNamespaceAlias, getNamespacePrefix, qualifyWithPrefix
protected boolean isAvailable(PsiFile file)
isAvailable
in class XmlNamespaceHelper
public void insertNamespaceDeclaration(XmlFile file, Editor editor, java.util.Set<java.lang.String> possibleNamespaces, java.lang.String nsPrefix, XmlNamespaceHelper.Runner<java.lang.String,IncorrectOperationException> runAfter) throws IncorrectOperationException
insertNamespaceDeclaration
in class XmlNamespaceHelper
IncorrectOperationException
public java.util.Set<java.lang.String> guessUnboundNamespaces(PsiElement element, XmlFile file)
guessUnboundNamespaces
in class XmlNamespaceHelper
public java.util.Set<java.lang.String> getNamespacesByTagName(java.lang.String tagName, XmlFile context)
getNamespacesByTagName
in class XmlNamespaceHelper