use of org.eclipse.wst.xml.core.internal.contentmodel.util.NamespaceTable in project webtools.sourceediting by eclipse.
the class AbstractXSLContentAssistRequest method getNamespaces.
protected Collection<NamespaceInfo> getNamespaces(IDOMElement element) {
NamespaceTable table = new NamespaceTable(element.getOwnerDocument());
table.visitElement(element);
Collection<NamespaceInfo> namespaceInfoList = table.getNamespaceInfoCollection();
return namespaceInfoList;
}
Aggregations