documentEntry.setKey(name.toString());
documentEntry.setName(name);
document.putEntry(documentEntry);
}
else if(pattern instanceof XMLComponentDeclarationPattern){
ComponentDeclarationEntry documentEntry = new ComponentDeclarationEntry();
documentEntry.setCategory(IXMLSearchConstants.COMPONENT_DECL);
QualifiedName name = new QualifiedName(targetNamespace, attributes.getValue("name")); //$NON-NLS-1$
QualifiedName metaName = new QualifiedName(uri, localName);
documentEntry.setKey(name.toString());
documentEntry.setName(name);
documentEntry.setMetaName(metaName);
document.putEntry(documentEntry);
}
}
}
currentPath.push(localName); //$NON-NLS-1$