org.jboss.shrinkwrap.descriptor.spi.node.Node.text()方法的使用及代码示例

x33g5p2x  于2022-01-24 转载在 其他  
字(8.3k)|赞(0)|评价(0)|浏览(204)

本文整理了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

Node.text介绍

[英]CDATA
[中]CDATA

代码示例

代码示例来源:origin: org.jboss.arquillian.protocol/arquillian-protocol-servlet

  1. @Override
  2. public ServletDef asyncSupported(boolean value) {
  3. servlet.getOrCreate("async-supported").text(value);
  4. return this;
  5. }

代码示例来源:origin: org.jboss.arquillian.protocol/arquillian-protocol-servlet

  1. @Override
  2. public ApplicationDescriptor displayName(String displayName) {
  3. model.getOrCreate("display-name").text(displayName);
  4. return this;
  5. }

代码示例来源:origin: org.jboss.arquillian.protocol/arquillian-protocol-servlet

  1. @Override
  2. public ApplicationDescriptor libraryDirectory(String libraryDirectory) {
  3. model.getOrCreate("library-directory").text(libraryDirectory);
  4. return this;
  5. }

代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee

  1. /**
  2. * Sets the <code>ejb-name</code> element
  3. * @param ejbName the value for the element <code>ejb-name</code>
  4. * @return the current instance of <code>SessionBeanType<T></code>
  5. */
  6. public SessionBeanType<T> ejbName(String ejbName)
  7. {
  8. childNode.getOrCreate("ejb-name").text(ejbName);
  9. return this;
  10. }

代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee

  1. /**
  2. * Sets the <code>local</code> element
  3. * @param local the value for the element <code>local</code>
  4. * @return the current instance of <code>SessionBeanType<T></code>
  5. */
  6. public SessionBeanType<T> local(String local)
  7. {
  8. childNode.getOrCreate("local").text(local);
  9. return this;
  10. }

代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee

  1. /**
  2. * Sets the <code>transaction-type</code> element
  3. * @param transactionType the value for the element <code>transaction-type</code>
  4. * @return the current instance of <code>SessionBeanType<T></code>
  5. */
  6. public SessionBeanType<T> transactionType(TransactionTypeType transactionType)
  7. {
  8. childNode.getOrCreate("transaction-type").text(transactionType);
  9. return this;
  10. }
  11. /**

代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee

  1. /**
  2. * Sets the <code>function-name</code> element
  3. * @param functionName the value for the element <code>function-name</code>
  4. * @return the current instance of <code>FaceletTaglibFunctionType<T></code>
  5. */
  6. public FaceletTaglibFunctionType<T> functionName(String functionName)
  7. {
  8. childNode.getOrCreate("function-name").text(functionName);
  9. return this;
  10. }

代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee

  1. /**
  2. * Sets the <code>timeout</code> element
  3. * @param timeout the value for the element <code>timeout</code>
  4. * @return the current instance of <code>StatefulTimeoutType<T></code>
  5. */
  6. public StatefulTimeoutType<T> timeout(Integer timeout)
  7. {
  8. childNode.getOrCreate("timeout").text(timeout);
  9. return this;
  10. }

代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee

  1. /**
  2. * Sets the <code>renderer-type</code> element
  3. * @param rendererType the value for the element <code>renderer-type</code>
  4. * @return the current instance of <code>FaceletTaglibTagComponentType<T></code>
  5. */
  6. public FaceletTaglibTagComponentType<T> rendererType(String rendererType)
  7. {
  8. childNode.getOrCreate("renderer-type").text(rendererType);
  9. return this;
  10. }

代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee

  1. /**
  2. * Sets the <code>required</code> element
  3. * @param required the value for the element <code>required</code>
  4. * @return the current instance of <code>FaceletTaglibTagAttributeType<T></code>
  5. */
  6. public FaceletTaglibTagAttributeType<T> required(GenericBooleanType required)
  7. {
  8. childNode.getOrCreate("required").text(required);
  9. return this;
  10. }
  11. /**

代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee

  1. /**
  2. * Sets the <code>required</code> element
  3. * @param required the value for the element <code>required</code>
  4. * @return the current instance of <code>FaceletTaglibTagAttributeType<T></code>
  5. */
  6. public FaceletTaglibTagAttributeType<T> required(String required)
  7. {
  8. childNode.getOrCreate("required").text(required);
  9. return this;
  10. }

代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee

  1. /**
  2. * Sets the <code>handler-class</code> element
  3. * @param handlerClass the value for the element <code>handler-class</code>
  4. * @return the current instance of <code>FaceletTaglibTagType<T></code>
  5. */
  6. public FaceletTaglibTagType<T> handlerClass(String handlerClass)
  7. {
  8. childNode.getOrCreate("handler-class").text(handlerClass);
  9. return this;
  10. }

代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee

  1. /**
  2. * Sets the <code>messagelistener-type</code> element
  3. * @param messagelistenerType the value for the element <code>messagelistener-type</code>
  4. * @return the current instance of <code>MessagelistenerType<T></code>
  5. */
  6. public MessagelistenerType<T> messagelistenerType(String messagelistenerType)
  7. {
  8. childNode.getOrCreate("messagelistener-type").text(messagelistenerType);
  9. return this;
  10. }

代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee

  1. /**
  2. * Sets the <code>transaction-support</code> element
  3. * @param transactionSupport the value for the element <code>transaction-support</code>
  4. * @return the current instance of <code>OutboundResourceadapterType<T></code>
  5. */
  6. public OutboundResourceadapterType<T> transactionSupport(TransactionSupportType transactionSupport)
  7. {
  8. childNode.getOrCreate("transaction-support").text(transactionSupport);
  9. return this;
  10. }
  11. /**

代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee

  1. /**
  2. * Sets the <code>transaction-support</code> element
  3. * @param transactionSupport the value for the element <code>transaction-support</code>
  4. * @return the current instance of <code>OutboundResourceadapterType<T></code>
  5. */
  6. public OutboundResourceadapterType<T> transactionSupport(String transactionSupport)
  7. {
  8. childNode.getOrCreate("transaction-support").text(transactionSupport);
  9. return this;
  10. }

代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee

  1. /**
  2. * Sets the <code>second</code> element
  3. * @param second the value for the element <code>second</code>
  4. * @return the current instance of <code>TimerScheduleType<T></code>
  5. */
  6. public TimerScheduleType<T> second(String second)
  7. {
  8. childNode.getOrCreate("second").text(second);
  9. return this;
  10. }

代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee

  1. /**
  2. * Sets the <code>day-of-week</code> element
  3. * @param dayOfWeek the value for the element <code>day-of-week</code>
  4. * @return the current instance of <code>TimerScheduleType<T></code>
  5. */
  6. public TimerScheduleType<T> dayOfWeek(String dayOfWeek)
  7. {
  8. childNode.getOrCreate("day-of-week").text(dayOfWeek);
  9. return this;
  10. }

代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee

  1. /**
  2. * Sets the <code>config-property-name</code> element
  3. * @param configPropertyName the value for the element <code>config-property-name</code>
  4. * @return the current instance of <code>RequiredConfigPropertyType<T></code>
  5. */
  6. public RequiredConfigPropertyType<T> configPropertyName(String configPropertyName)
  7. {
  8. childNode.getOrCreate("config-property-name").text(configPropertyName);
  9. return this;
  10. }

代码示例来源:origin: org.jboss.arquillian.protocol/arquillian-protocol-servlet

  1. @Override
  2. public ApplicationDescriptor connectorModule(String uri) {
  3. model.createChild("module").createChild("connector").text(uri);
  4. return this;
  5. }

代码示例来源:origin: org.jboss.arquillian.protocol/arquillian-protocol-servlet

  1. @Override
  2. public ApplicationDescriptor webModule(String uri, String contextRoot) {
  3. Node web = model.createChild("module").createChild("web");
  4. web.createChild("web-uri").text(uri);
  5. web.createChild("context-root").text(contextRoot);
  6. return this;
  7. }

相关文章