// Path: org.eclipse.a.wst.html.webresources.core/src/org/eclipse/wst/html/webresources/core/WebResourcesFinderType.java
// public enum WebResourcesFinderType {
// 
// 	CSS_ID(WebResourceType.css), CSS_CLASS_NAME(WebResourceType.css), SCRIPT_SRC(
// 			WebResourceType.js), LINK_HREF(WebResourceType.css), IMG_SRC(
// 			WebResourceType.img);
// 
// 	private final WebResourceType type;
// 
// 	private WebResourcesFinderType(WebResourceType type) {
// 		this.type = type;
// 	}
// 
// 	public WebResourceType getType() {
// 		return type;
// 	}
// 
// 	public static WebResourcesFinderType get(String value) {
// 		WebResourcesFinderType[] types = WebResourcesFinderType.values();
// 		WebResourcesFinderType type;
// 		for (int i = 0; i < types.length; i++) {
// 			type = types[i];
// 			if (type.name().equalsIgnoreCase(value)) {
// 				return type;
// 			}
// 		}
// 		return null;
// 	}
// 
// }


import org.eclipse.wst.html.core.internal.provisional.HTML40Namespace;
import org.eclipse.wst.html.webresources.core.IWebResourcesFinderTypeProvider;
import org.eclipse.wst.html.webresources.core.WebResourcesFinderType;
import org.eclipse.wst.sse.core.internal.provisional.text.IStructuredDocumentRegion;

/**
 *  Copyright (c) 2013-2014 Angelo ZERR.
 *  All rights reserved. This program and the accompanying materials
 *  are made available under the terms of the Eclipse Public License v1.0
 *  which accompanies this distribution, and is available at
 *  http://www.eclipse.org/legal/epl-v10.html
 *
 *  Contributors:
 *  Angelo Zerr <angelo.zerr@gmail.com> - initial API and implementation
 */
package org.eclipse.wst.html.webresources.internal.core;


/**
 * Standard HTML web resources finder type.
 *
 */
public class HTMLWebResourcesFinderTypeProvider implements
		IWebResourcesFinderTypeProvider {

	@Override

// Path: org.eclipse.a.wst.html.webresources.core/src/org/eclipse/wst/html/webresources/core/WebResourcesFinderType.java
// public enum WebResourcesFinderType {
// 
// 	CSS_ID(WebResourceType.css), CSS_CLASS_NAME(WebResourceType.css), SCRIPT_SRC(
// 			WebResourceType.js), LINK_HREF(WebResourceType.css), IMG_SRC(
// 			WebResourceType.img);
// 
// 	private final WebResourceType type;
// 
// 	private WebResourcesFinderType(WebResourceType type) {
// 		this.type = type;
// 	}
// 
// 	public WebResourceType getType() {
// 		return type;
// 	}
// 
// 	public static WebResourcesFinderType get(String value) {
// 		WebResourcesFinderType[] types = WebResourcesFinderType.values();
// 		WebResourcesFinderType type;
// 		for (int i = 0; i < types.length; i++) {
// 			type = types[i];
// 			if (type.name().equalsIgnoreCase(value)) {
// 				return type;
// 			}
// 		}
// 		return null;
// 	}
// 
// }


// Path: org.eclipse.a.wst.html.webresources.core/src/org/eclipse/wst/html/webresources/internal/core/HTMLWebResourcesFinderTypeProvider.java
import org.eclipse.wst.html.core.internal.provisional.HTML40Namespace;
import org.eclipse.wst.html.webresources.core.IWebResourcesFinderTypeProvider;
import org.eclipse.wst.html.webresources.core.WebResourcesFinderType;
import org.eclipse.wst.sse.core.internal.provisional.text.IStructuredDocumentRegion;

/**
 *  Copyright (c) 2013-2014 Angelo ZERR.
 *  All rights reserved. This program and the accompanying materials
 *  are made available under the terms of the Eclipse Public License v1.0
 *  which accompanies this distribution, and is available at
 *  http://www.eclipse.org/legal/epl-v10.html
 *
 *  Contributors:
 *  Angelo Zerr <angelo.zerr@gmail.com> - initial API and implementation
 */
package org.eclipse.wst.html.webresources.internal.core;


/**
 * Standard HTML web resources finder type.
 *
 */
public class HTMLWebResourcesFinderTypeProvider implements
		IWebResourcesFinderTypeProvider {

	@Override

	public WebResourcesFinderType getWebResourcesFinderType(String elementName,
