(Node parent)
| 982 | * 'plugin' StdActionContent | 'element' StdActionContent |
| 983 | */ |
| 984 | private void parseStandardAction(Node parent) throws JasperException { |
| 985 | Mark start = reader.mark(); |
| 986 | |
| 987 | if (reader.matches(INCLUDE_ACTION)) { |
| 988 | parseInclude(parent); |
| 989 | } else if (reader.matches(FORWARD_ACTION)) { |
| 990 | parseForward(parent); |
| 991 | } else if (reader.matches(INVOKE_ACTION)) { |
| 992 | if (!isTagFile) { |
| 993 | err.jspError(reader.mark(), "jsp.error.action.isnottagfile", "<jsp:invoke"); |
| 994 | } |
| 995 | parseInvoke(parent); |
| 996 | } else if (reader.matches(DOBODY_ACTION)) { |
| 997 | if (!isTagFile) { |
| 998 | err.jspError(reader.mark(), "jsp.error.action.isnottagfile", "<jsp:doBody"); |
| 999 | } |
| 1000 | parseDoBody(parent); |
| 1001 | } else if (reader.matches(GET_PROPERTY_ACTION)) { |
| 1002 | parseGetProperty(parent); |
| 1003 | } else if (reader.matches(SET_PROPERTY_ACTION)) { |
| 1004 | parseSetProperty(parent); |
| 1005 | } else if (reader.matches(USE_BEAN_ACTION)) { |
| 1006 | parseUseBean(parent); |
| 1007 | } else if (reader.matches(ELEMENT_ACTION)) { |
| 1008 | parseElement(parent); |
| 1009 | } else if (reader.matches(ATTRIBUTE_ACTION)) { |
| 1010 | err.jspError(start, "jsp.error.namedAttribute.invalidUse"); |
| 1011 | } else if (reader.matches(BODY_ACTION)) { |
| 1012 | err.jspError(start, "jsp.error.jspbody.invalidUse"); |
| 1013 | } else if (reader.matches(PARAM_ACTION)) { |
| 1014 | err.jspError(start, "jsp.error.param.invalidUse"); |
| 1015 | } else if (reader.matches(OUTPUT_ACTION)) { |
| 1016 | err.jspError(start, "jsp.error.jspoutput.invalidUse"); |
| 1017 | } else { |
| 1018 | err.jspError(start, "jsp.error.badStandardAction"); |
| 1019 | } |
| 1020 | } |
| 1021 | |
| 1022 | /* |
| 1023 | * # '<' CustomAction CustomActionBody |
no test coverage detected