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

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

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

Node.getNamedAttributeNode介绍

[英]Searches all subnodes of this node for jsp:attribute standard actions with the given name, and returns the NamedAttribute node of the matching named attribute, nor null if no such node is found.

This should always be called and only be called for nodes that accept dynamic runtime attribute expressions.
[中]在该节点的所有子节点中搜索具有给定名称的jsp:attribute标准操作,并返回匹配命名属性的NamedAttribute节点,如果未找到此类节点,则返回null。
应该始终调用它,并且仅对接受动态运行时属性表达式的节点调用它。

代码示例

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

/**
 * Get the attribute that is non request time expression, either
 * from the attribute of the node, or from a jsp:attrbute 
 */
public String getTextAttribute(String name) {
String attr = getAttributeValue(name);
if (attr != null) {
  return attr;
}
NamedAttribute namedAttribute = getNamedAttributeNode(name);
if (namedAttribute == null) {
  return null;
}
return namedAttribute.getText();
}

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

/**
 * Get the attribute that is non request time expression, either
 * from the attribute of the node, or from a jsp:attrbute 
 */
public String getTextAttribute(String name) {
String attr = getAttributeValue(name);
if (attr != null) {
  return attr;
}
NamedAttribute namedAttribute = getNamedAttributeNode(name);
if (namedAttribute == null) {
  return null;
}
return namedAttribute.getText();
}

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

/**
 * Get the attribute that is non request time expression, either
 * from the attribute of the node, or from a jsp:attrbute 
 */
public String getTextAttribute(String name) {
String attr = getAttributeValue(name);
if (attr != null) {
  return attr;
}
NamedAttribute namedAttribute = getNamedAttributeNode(name);
if (namedAttribute == null) {
  return null;
}
return namedAttribute.getText();
}

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

/**
 * Get the attribute that is non request time expression, either
 * from the attribute of the node, or from a jsp:attrbute 
 */
public String getTextAttribute(String name) {
String attr = getAttributeValue(name);
if (attr != null) {
  return attr;
}
NamedAttribute namedAttribute = getNamedAttributeNode(name);
if (namedAttribute == null) {
  return null;
}
return namedAttribute.getText();
}

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

/**
 * Get the attribute that is non request time expression, either
 * from the attribute of the node, or from a jsp:attrbute 
 */
public String getTextAttribute(String name) {
String attr = getAttributeValue(name);
if (attr != null) {
  return attr;
}
NamedAttribute namedAttribute = getNamedAttributeNode(name);
if (namedAttribute == null) {
  return null;
}
return namedAttribute.getText();
}

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

/**
 * Get the attribute that is non request time expression, either from the
 * attribute of the node, or from a jsp:attrbute
 */
public String getTextAttribute(String name) {
  String attr = getAttributeValue(name);
  if (attr != null) {
    return attr;
  }
  NamedAttribute namedAttribute = getNamedAttributeNode(name);
  if (namedAttribute == null) {
    return null;
  }
  return namedAttribute.getText();
}

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

/**
 * Get the attribute that is non request time expression, either from the
 * attribute of the node, or from a jsp:attrbute
 */
public String getTextAttribute(String name) {
  String attr = getAttributeValue(name);
  if (attr != null) {
    return attr;
  }
  NamedAttribute namedAttribute = getNamedAttributeNode(name);
  if (namedAttribute == null) {
    return null;
  }
  return namedAttribute.getText();
}

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

/**
 * Get the attribute that is non request time expression, either
 * from the attribute of the node, or from a jsp:attrbute 
 */
public String getTextAttribute(String name) {
String attr = getAttributeValue(name);
if (attr != null) {
  return attr;
}
NamedAttribute namedAttribute = getNamedAttributeNode(name);
if (namedAttribute == null) {
  return null;
}
return namedAttribute.getText();
}

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

/**
 * Get the attribute that is non request time expression, either from the
 * attribute of the node, or from a jsp:attrbute
 */
public String getTextAttribute(String name) {
  String attr = getAttributeValue(name);
  if (attr != null) {
    return attr;
  }
  NamedAttribute namedAttribute = getNamedAttributeNode(name);
  if (namedAttribute == null) {
    return null;
  }
  return namedAttribute.getText();
}

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

/**
 * Get the attribute that is non request time expression, either from the
 * attribute of the node, or from a jsp:attrbute
 */
public String getTextAttribute(String name) {
  String attr = getAttributeValue(name);
  if (attr != null) {
    return attr;
  }
  NamedAttribute namedAttribute = getNamedAttributeNode(name);
  if (namedAttribute == null) {
    return null;
  }
  return namedAttribute.getText();
}

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

/**
 * Get the attribute that is non request time expression, either from the
 * attribute of the node, or from a jsp:attrbute
 */
public String getTextAttribute(String name) {
  String attr = getAttributeValue(name);
  if (attr != null) {
    return attr;
  }
  NamedAttribute namedAttribute = getNamedAttributeNode(name);
  if (namedAttribute == null) {
    return null;
  }
  return namedAttribute.getText();
}

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

/**
 * Get the attribute that is non request time expression, either
 * from the attribute of the node, or from a jsp:attrbute 
 */
public String getTextAttribute(String name) {
String attr = getAttributeValue(name);
if (attr != null) {
  return attr;
}
NamedAttribute namedAttribute = getNamedAttributeNode(name);
if (namedAttribute == null) {
  return null;
}
return namedAttribute.getText();
}

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

/**
 * Get the attribute that is non request time expression, either from the
 * attribute of the node, or from a jsp:attribute
 *
 * @param name The name of the attribute
 *
 * @return The attribute value
 */
public String getTextAttribute(String name) {
  String attr = getAttributeValue(name);
  if (attr != null) {
    return attr;
  }
  NamedAttribute namedAttribute = getNamedAttributeNode(name);
  if (namedAttribute == null) {
    return null;
  }
  return namedAttribute.getText();
}

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

/**
 * Get the attribute that is non request time expression, either from the
 * attribute of the node, or from a jsp:attribute
 *
 * @param name The name of the attribute
 *
 * @return The attribute value
 */
public String getTextAttribute(String name) {
  String attr = getAttributeValue(name);
  if (attr != null) {
    return attr;
  }
  NamedAttribute namedAttribute = getNamedAttributeNode(name);
  if (namedAttribute == null) {
    return null;
  }
  return namedAttribute.getText();
}

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

.getNamedAttributeNode(qName);
if (namedAttributeNode != null) {
  result = new Node.JspAttribute(namedAttributeNode, tai,

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

.getNamedAttributeNode(qName);
if (namedAttributeNode != null) {
  result = new Node.JspAttribute(namedAttributeNode, tai,

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

.getNamedAttributeNode(qName);
if (namedAttributeNode != null) {
  result = new Node.JspAttribute(namedAttributeNode, tai,

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

.getNamedAttributeNode(qName);
if (namedAttributeNode != null) {
  result = new Node.JspAttribute(namedAttributeNode, tai,

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

.getNamedAttributeNode(qName);
if (namedAttributeNode != null) {
  result = new Node.JspAttribute(namedAttributeNode, tai,

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

.getNamedAttributeNode(qName);
if (namedAttributeNode != null) {
  result = new Node.JspAttribute(namedAttributeNode, tai,

相关文章