本文整理了Java中org.jboss.shrinkwrap.descriptor.spi.node.Node.getTextValueForPatternName()
方法的一些代码示例,展示了Node.getTextValueForPatternName()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Node.getTextValueForPatternName()
方法的具体详情如下:
包路径:org.jboss.shrinkwrap.descriptor.spi.node.Node
类名称:Node
方法名:getTextValueForPatternName
[英]Get the text value of the element found at the given query name. If no element is found, or no text exists, return null;
[中]获取在给定查询名称处找到的元素的文本值。如果找不到元素或不存在文本,则返回null;
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Returns the <code>ejb-name</code> element
* @return the node defined for the element <code>ejb-name</code>
*/
public String getEjbName()
{
return childNode.getTextValueForPatternName("ejb-name");
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Returns the <code>mapped-name</code> element
* @return the node defined for the element <code>mapped-name</code>
*/
public String getMappedName()
{
return childNode.getTextValueForPatternName("mapped-name");
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Returns the <code>local-home</code> element
* @return the node defined for the element <code>local-home</code>
*/
public String getLocalHome()
{
return childNode.getTextValueForPatternName("local-home");
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Returns the <code>local</code> element
* @return the node defined for the element <code>local</code>
*/
public String getLocal()
{
return childNode.getTextValueForPatternName("local");
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Returns the <code>handler-class</code> element
* @return the node defined for the element <code>handler-class</code>
*/
public String getHandlerClass()
{
return childNode.getTextValueForPatternName("handler-class");
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Returns the <code>type</code> element
* @return the node defined for the element <code>type</code>
*/
public String getType()
{
return childNode.getTextValueForPatternName("type");
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Returns the <code>handler-class</code> element
* @return the node defined for the element <code>handler-class</code>
*/
public String getHandlerClass()
{
return childNode.getTextValueForPatternName("handler-class");
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Returns the <code>second</code> element
* @return the node defined for the element <code>second</code>
*/
public String getSecond()
{
return childNode.getTextValueForPatternName("second");
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Returns the <code>day-of-month</code> element
* @return the node defined for the element <code>day-of-month</code>
*/
public String getDayOfMonth()
{
return childNode.getTextValueForPatternName("day-of-month");
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Returns the <code>timezone</code> element
* @return the node defined for the element <code>timezone</code>
*/
public String getTimezone()
{
return childNode.getTextValueForPatternName("timezone");
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Returns the <code>connectionfactory-interface</code> element
* @return the node defined for the element <code>connectionfactory-interface</code>
*/
public String getConnectionfactoryInterface()
{
return childNode.getTextValueForPatternName("connectionfactory-interface");
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Returns the <code>connection-interface</code> element
* @return the node defined for the element <code>connection-interface</code>
*/
public String getConnectionInterface()
{
return childNode.getTextValueForPatternName("connection-interface");
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Returns the <code>config-property-name</code> element
* @return the node defined for the element <code>config-property-name</code>
*/
public String getConfigPropertyName()
{
return childNode.getTextValueForPatternName("config-property-name");
}
代码示例来源:origin: org.jboss.arquillian.protocol/arquillian-protocol-servlet
@Override
public int getLoadOnStartup() throws NumberFormatException {
String tex = servlet.getTextValueForPatternName("load-on-startup");
return tex == null ? null : Integer.valueOf(tex);
}
代码示例来源:origin: org.jboss.arquillian.protocol/arquillian-protocol-servlet
@Override
public Map<String, String> getInitParams() {
Map<String, String> result = new HashMap<String, String>();
List<Node> params = servlet.get("init-param");
for (Node node : params) {
result.put(node.getTextValueForPatternName("param-name"), node.getTextValueForPatternName("param-value"));
}
return result;
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Returns the <code>session-type</code> element
* @return the value found for the element <code>session-type</code>
*/
public SessionTypeType getSessionType()
{
return SessionTypeType.getFromStringValue(childNode.getTextValueForPatternName("session-type"));
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Returns the <code>transaction-type</code> element
* @return the value found for the element <code>transaction-type</code>
*/
public TransactionTypeType getTransactionType()
{
return TransactionTypeType.getFromStringValue(childNode.getTextValueForPatternName("transaction-type"));
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Returns the <code>config-property-type</code> element
* @return the value found for the element <code>config-property-type</code>
*/
public ConfigPropertyTypeType getConfigPropertyType()
{
return ConfigPropertyTypeType.getFromStringValue(childNode.getTextValueForPatternName("config-property-type"));
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Returns the <code>unit</code> element
* @return the value found for the element <code>unit</code>
*/
public TimeUnitTypeType getUnit()
{
return TimeUnitTypeType.getFromStringValue(childNode.getTextValueForPatternName("unit"));
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Returns the <code>persistent</code> element
* @return the node defined for the element <code>persistent</code>
*/
public Boolean isPersistent()
{
return Strings.isTrue(childNode.getTextValueForPatternName("persistent"));
}
内容来源于网络,如有侵权,请联系作者删除!