blob: 1d07269bbf1514756cfb40d457c9c280d3dec161 [file] [log] [blame]
package org.eclipse.jst.jsf.core.internal.contenttype;
import java.util.regex.Pattern;
/**
* Content Describer for a "facelet" (document element has an xmlns attribute with a value that
* matches ".*jsf.*" or ".*faces.*").
*
*/
public class ContentDescriberForFacelet extends AbstractContentDescriberForFacelets {
@Override
protected Pattern[] getNSValuePatterns() {
return new Pattern[] {
Pattern.compile(".*jsf.*"), //$NON-NLS-1$
Pattern.compile(".*faces.*") //$NON-NLS-1$
};
}
}