Code example for NamedNodeMap

Methods: getNamedItem

0
			addFactoryMethodAttributeValueProposals(recorder, context, factoryClassName, isStatic);
		} 
	} 
 
	protected Node getFactoryBeanReferenceNode(NamedNodeMap attributes) {
		return attributes.getNamedItem("factory-bean");
	} 
 
	private void addFactoryMethodAttributeValueProposals(IContentAssistProposalRecorder recorder,
			IContentAssistContext context, final String factoryClassName, boolean isStatic) {
		final IFile file = context.getFile();
 
		IMethodFilter filter = null;
		if (isStatic) {
			filter = new FlagsMethodFilter(FlagsMethodFilter.STATIC | FlagsMethodFilter.NOT_VOID
					| FlagsMethodFilter.NOT_INTERFACE | FlagsMethodFilter.NOT_CONSTRUCTOR); 
		} 
		else { 
			filter = new FlagsMethodFilter(FlagsMethodFilter.NOT_VOID
					| FlagsMethodFilter.NOT_INTERFACE | FlagsMethodFilter.NOT_CONSTRUCTOR); 
		}