// javadoc inherited
protected int exprElementStart(
MarinerRequestContext context,
PAPIAttributes papiAttributes) throws PAPIException {
StyleAttributes attributes = (StyleAttributes) papiAttributes;
String typeAttribute = attributes.getType();
if (!"text/css".equals(typeAttribute)) {
throw new IllegalArgumentException(
"Style element must have type=\"text/css\"");
}