org.apache.jasper.compiler.Node.getAttributes()方法的使用及代码示例

x33g5p2x  于2022-01-25 转载在 其他  
字(6.5k)|赞(0)|评价(0)|浏览(178)

本文整理了Java中org.apache.jasper.compiler.Node.getAttributes()方法的一些代码示例,展示了Node.getAttributes()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Node.getAttributes()方法的具体详情如下:
包路径:org.apache.jasper.compiler.Node
类名称:Node
方法名:getAttributes

Node.getAttributes介绍

暂无

代码示例

代码示例来源:origin: jboss.web/jbossweb

  1. private void throwErrorIfExpression(Node n, String attrName,
  2. String actionName) throws JasperException {
  3. if (n.getAttributes() != null
  4. && n.getAttributes().getValue(attrName) != null
  5. && isExpression(n, n.getAttributes().getValue(attrName), true)) {
  6. err.jspError(n,
  7. "jsp.error.attribute.standard.non_rt_with_expr",
  8. attrName, actionName);
  9. }
  10. }

代码示例来源:origin: org.apache.tomcat/tomcat-jasper

  1. private void throwErrorIfExpression(Node n, String attrName,
  2. String actionName) throws JasperException {
  3. if (n.getAttributes() != null
  4. && n.getAttributes().getValue(attrName) != null
  5. && isExpression(n, n.getAttributes().getValue(attrName), true)) {
  6. err.jspError(n,
  7. "jsp.error.attribute.standard.non_rt_with_expr",
  8. attrName, actionName);
  9. }
  10. }

代码示例来源:origin: org.apache.geronimo.ext.tomcat/jasper

  1. private void throwErrorIfExpression(Node n, String attrName,
  2. String actionName) throws JasperException {
  3. if (n.getAttributes() != null
  4. && n.getAttributes().getValue(attrName) != null
  5. && isExpression(n, n.getAttributes().getValue(attrName), true)) {
  6. err.jspError(n,
  7. "jsp.error.attribute.standard.non_rt_with_expr",
  8. attrName, actionName);
  9. }
  10. }

代码示例来源:origin: org.eclipse.jetty.toolchain/jetty-jsp-fragment

  1. private void throwErrorIfExpression(Node n, String attrName,
  2. String actionName)
  3. throws JasperException {
  4. if (n.getAttributes() != null
  5. && n.getAttributes().getValue(attrName) != null
  6. && getLiteral(n, n.getAttributes().getValue(attrName))==null) {
  7. err.jspError(n,
  8. "jsp.error.attribute.standard.non_rt_with_expr",
  9. attrName, actionName);
  10. }
  11. }

代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7

  1. private void throwErrorIfExpression(Node n, String attrName,
  2. String actionName) throws JasperException {
  3. if (n.getAttributes() != null
  4. && n.getAttributes().getValue(attrName) != null
  5. && isExpression(n, n.getAttributes().getValue(attrName), true)) {
  6. err.jspError(n,
  7. "jsp.error.attribute.standard.non_rt_with_expr",
  8. attrName, actionName);
  9. }
  10. }

代码示例来源:origin: org.glassfish.web/jakarta.servlet.jsp

  1. private void throwErrorIfExpression(Node n, String attrName,
  2. String actionName)
  3. throws JasperException {
  4. if (n.getAttributes() != null
  5. && n.getAttributes().getValue(attrName) != null
  6. && getLiteral(n, n.getAttributes().getValue(attrName))==null) {
  7. err.jspError(n,
  8. "jsp.error.attribute.standard.non_rt_with_expr",
  9. attrName, actionName);
  10. }
  11. }

代码示例来源:origin: org.bluestemsoftware.open.maven.tparty/jsp-2.1

  1. private void throwErrorIfExpression(Node n, String attrName,
  2. String actionName)
  3. throws JasperException {
  4. if (n.getAttributes() != null
  5. && n.getAttributes().getValue(attrName) != null
  6. && getLiteral(n, n.getAttributes().getValue(attrName))==null) {
  7. err.jspError(n,
  8. "jsp.error.attribute.standard.non_rt_with_expr",
  9. attrName, actionName);
  10. }
  11. }

代码示例来源:origin: codefollower/Tomcat-Research

  1. private void throwErrorIfExpression(Node n, String attrName,
  2. String actionName) throws JasperException {
  3. if (n.getAttributes() != null
  4. && n.getAttributes().getValue(attrName) != null
  5. && isExpression(n, n.getAttributes().getValue(attrName), true)) {
  6. err.jspError(n,
  7. "jsp.error.attribute.standard.non_rt_with_expr",
  8. attrName, actionName);
  9. }
  10. }

代码示例来源:origin: org.eclipse.jetty.orbit/org.apache.jasper.glassfish

  1. private void throwErrorIfExpression(Node n, String attrName,
  2. String actionName)
  3. throws JasperException {
  4. if (n.getAttributes() != null
  5. && n.getAttributes().getValue(attrName) != null
  6. && getLiteral(n, n.getAttributes().getValue(attrName))==null) {
  7. err.jspError(n,
  8. "jsp.error.attribute.standard.non_rt_with_expr",
  9. attrName, actionName);
  10. }
  11. }

代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.apache.jasper.glassfish

  1. private void throwErrorIfExpression(Node n, String attrName,
  2. String actionName)
  3. throws JasperException {
  4. if (n.getAttributes() != null
  5. && n.getAttributes().getValue(attrName) != null
  6. && getLiteral(n, n.getAttributes().getValue(attrName))==null) {
  7. err.jspError(n,
  8. "jsp.error.attribute.standard.non_rt_with_expr",
  9. attrName, actionName);
  10. }
  11. }

代码示例来源:origin: org.glassfish.web/javax.servlet.jsp

  1. private void throwErrorIfExpression(Node n, String attrName,
  2. String actionName)
  3. throws JasperException {
  4. if (n.getAttributes() != null
  5. && n.getAttributes().getValue(attrName) != null
  6. && getLiteral(n, n.getAttributes().getValue(attrName))==null) {
  7. err.jspError(n,
  8. "jsp.error.attribute.standard.non_rt_with_expr",
  9. attrName, actionName);
  10. }
  11. }

代码示例来源:origin: org.glassfish.web/jsp-impl

  1. private void throwErrorIfExpression(Node n, String attrName,
  2. String actionName)
  3. throws JasperException {
  4. if (n.getAttributes() != null
  5. && n.getAttributes().getValue(attrName) != null
  6. && getLiteral(n, n.getAttributes().getValue(attrName))==null) {
  7. err.jspError(n,
  8. "jsp.error.attribute.standard.non_rt_with_expr",
  9. attrName, actionName);
  10. }
  11. }

代码示例来源:origin: io.undertow.jastow/jastow

  1. private void throwErrorIfExpression(Node n, String attrName,
  2. String actionName) throws JasperException {
  3. if (n.getAttributes() != null
  4. && n.getAttributes().getValue(attrName) != null
  5. && isExpression(n, n.getAttributes().getValue(attrName), true)) {
  6. err.jspError(n,
  7. MESSAGES.noExpressionAllowedForAttributeInAction(attrName, actionName));
  8. }
  9. }

代码示例来源:origin: org.jboss.web/jbossweb

  1. private void throwErrorIfExpression(Node n, String attrName,
  2. String actionName) throws JasperException {
  3. if (n.getAttributes() != null
  4. && n.getAttributes().getValue(attrName) != null
  5. && isExpression(n, n.getAttributes().getValue(attrName), true)) {
  6. err.jspError(n.getStart(),
  7. MESSAGES.noExpressionAllowedForAttributeInAction(attrName, actionName));
  8. }
  9. }

代码示例来源:origin: org.eclipse.jetty.orbit/org.apache.jasper.glassfish

  1. attrs = n.getAttributes();
  2. len = (attrs == null) ? 0 : attrs.getLength();
  3. for (int i=0; i<len; i++) {

代码示例来源:origin: org.glassfish.web/jsp-impl

  1. attrs = n.getAttributes();
  2. len = (attrs == null) ? 0 : attrs.getLength();
  3. for (int i=0; i<len; i++) {

代码示例来源:origin: org.bluestemsoftware.open.maven.tparty/jsp-2.1

  1. attrs = n.getAttributes();
  2. len = (attrs == null) ? 0 : attrs.getLength();
  3. for (int i=0; i<len; i++) {

代码示例来源:origin: org.eclipse.jetty.toolchain/jetty-jsp-fragment

  1. attrs = n.getAttributes();
  2. len = (attrs == null) ? 0 : attrs.getLength();
  3. for (int i=0; i<len; i++) {

代码示例来源:origin: org.apache.tomcat/tomcat-jasper

  1. attrs = n.getAttributes();
  2. len = (attrs == null) ? 0 : attrs.getLength();
  3. for (int i=0; i<len; i++) {

代码示例来源:origin: io.undertow.jastow/jastow

  1. attrs = n.getAttributes();
  2. len = (attrs == null) ? 0 : attrs.getLength();
  3. for (int i=0; i<len; i++) {

相关文章