本文整理了Java中org.jboss.shrinkwrap.descriptor.spi.node.Node.text()
方法的一些代码示例,展示了Node.text()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Node.text()
方法的具体详情如下:
包路径:org.jboss.shrinkwrap.descriptor.spi.node.Node
类名称:Node
方法名:text
[英]CDATA
[中]CDATA
代码示例来源:origin: org.jboss.arquillian.protocol/arquillian-protocol-servlet
@Override
public ServletDef asyncSupported(boolean value) {
servlet.getOrCreate("async-supported").text(value);
return this;
}
代码示例来源:origin: org.jboss.arquillian.protocol/arquillian-protocol-servlet
@Override
public ApplicationDescriptor displayName(String displayName) {
model.getOrCreate("display-name").text(displayName);
return this;
}
代码示例来源:origin: org.jboss.arquillian.protocol/arquillian-protocol-servlet
@Override
public ApplicationDescriptor libraryDirectory(String libraryDirectory) {
model.getOrCreate("library-directory").text(libraryDirectory);
return this;
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Sets the <code>ejb-name</code> element
* @param ejbName the value for the element <code>ejb-name</code>
* @return the current instance of <code>SessionBeanType<T></code>
*/
public SessionBeanType<T> ejbName(String ejbName)
{
childNode.getOrCreate("ejb-name").text(ejbName);
return this;
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Sets the <code>local</code> element
* @param local the value for the element <code>local</code>
* @return the current instance of <code>SessionBeanType<T></code>
*/
public SessionBeanType<T> local(String local)
{
childNode.getOrCreate("local").text(local);
return this;
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Sets the <code>transaction-type</code> element
* @param transactionType the value for the element <code>transaction-type</code>
* @return the current instance of <code>SessionBeanType<T></code>
*/
public SessionBeanType<T> transactionType(TransactionTypeType transactionType)
{
childNode.getOrCreate("transaction-type").text(transactionType);
return this;
}
/**
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Sets the <code>function-name</code> element
* @param functionName the value for the element <code>function-name</code>
* @return the current instance of <code>FaceletTaglibFunctionType<T></code>
*/
public FaceletTaglibFunctionType<T> functionName(String functionName)
{
childNode.getOrCreate("function-name").text(functionName);
return this;
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Sets the <code>timeout</code> element
* @param timeout the value for the element <code>timeout</code>
* @return the current instance of <code>StatefulTimeoutType<T></code>
*/
public StatefulTimeoutType<T> timeout(Integer timeout)
{
childNode.getOrCreate("timeout").text(timeout);
return this;
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Sets the <code>renderer-type</code> element
* @param rendererType the value for the element <code>renderer-type</code>
* @return the current instance of <code>FaceletTaglibTagComponentType<T></code>
*/
public FaceletTaglibTagComponentType<T> rendererType(String rendererType)
{
childNode.getOrCreate("renderer-type").text(rendererType);
return this;
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Sets the <code>required</code> element
* @param required the value for the element <code>required</code>
* @return the current instance of <code>FaceletTaglibTagAttributeType<T></code>
*/
public FaceletTaglibTagAttributeType<T> required(GenericBooleanType required)
{
childNode.getOrCreate("required").text(required);
return this;
}
/**
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Sets the <code>required</code> element
* @param required the value for the element <code>required</code>
* @return the current instance of <code>FaceletTaglibTagAttributeType<T></code>
*/
public FaceletTaglibTagAttributeType<T> required(String required)
{
childNode.getOrCreate("required").text(required);
return this;
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Sets the <code>handler-class</code> element
* @param handlerClass the value for the element <code>handler-class</code>
* @return the current instance of <code>FaceletTaglibTagType<T></code>
*/
public FaceletTaglibTagType<T> handlerClass(String handlerClass)
{
childNode.getOrCreate("handler-class").text(handlerClass);
return this;
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Sets the <code>messagelistener-type</code> element
* @param messagelistenerType the value for the element <code>messagelistener-type</code>
* @return the current instance of <code>MessagelistenerType<T></code>
*/
public MessagelistenerType<T> messagelistenerType(String messagelistenerType)
{
childNode.getOrCreate("messagelistener-type").text(messagelistenerType);
return this;
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Sets the <code>transaction-support</code> element
* @param transactionSupport the value for the element <code>transaction-support</code>
* @return the current instance of <code>OutboundResourceadapterType<T></code>
*/
public OutboundResourceadapterType<T> transactionSupport(TransactionSupportType transactionSupport)
{
childNode.getOrCreate("transaction-support").text(transactionSupport);
return this;
}
/**
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Sets the <code>transaction-support</code> element
* @param transactionSupport the value for the element <code>transaction-support</code>
* @return the current instance of <code>OutboundResourceadapterType<T></code>
*/
public OutboundResourceadapterType<T> transactionSupport(String transactionSupport)
{
childNode.getOrCreate("transaction-support").text(transactionSupport);
return this;
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Sets the <code>second</code> element
* @param second the value for the element <code>second</code>
* @return the current instance of <code>TimerScheduleType<T></code>
*/
public TimerScheduleType<T> second(String second)
{
childNode.getOrCreate("second").text(second);
return this;
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Sets the <code>day-of-week</code> element
* @param dayOfWeek the value for the element <code>day-of-week</code>
* @return the current instance of <code>TimerScheduleType<T></code>
*/
public TimerScheduleType<T> dayOfWeek(String dayOfWeek)
{
childNode.getOrCreate("day-of-week").text(dayOfWeek);
return this;
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Sets the <code>config-property-name</code> element
* @param configPropertyName the value for the element <code>config-property-name</code>
* @return the current instance of <code>RequiredConfigPropertyType<T></code>
*/
public RequiredConfigPropertyType<T> configPropertyName(String configPropertyName)
{
childNode.getOrCreate("config-property-name").text(configPropertyName);
return this;
}
代码示例来源:origin: org.jboss.arquillian.protocol/arquillian-protocol-servlet
@Override
public ApplicationDescriptor connectorModule(String uri) {
model.createChild("module").createChild("connector").text(uri);
return this;
}
代码示例来源:origin: org.jboss.arquillian.protocol/arquillian-protocol-servlet
@Override
public ApplicationDescriptor webModule(String uri, String contextRoot) {
Node web = model.createChild("module").createChild("web");
web.createChild("web-uri").text(uri);
web.createChild("context-root").text(contextRoot);
return this;
}
内容来源于网络,如有侵权,请联系作者删除!