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

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

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

Node.attribute介绍

[英]Add or override a named attribute.

value will be converted to String using String.valueOf(value);
[中]添加或覆盖命名属性。
值将使用字符串转换为字符串。价值;

代码示例

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

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

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

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

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

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

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

  1. /**
  2. * Sets the <code>method-signature</code> attribute
  3. * @param methodSignature the value for the attribute <code>method-signature</code>
  4. * @return the current instance of <code>WebFacesUIComponentDescriptor</code>
  5. */
  6. public WebFacesUIComponentDescriptor methodSignature(String methodSignature)
  7. {
  8. model.attribute("method-signature", methodSignature);
  9. return this;
  10. }

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

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

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

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

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

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

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

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

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

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

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

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

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

  1. /**
  2. * Sets the <code>method-signature</code> attribute
  3. * @param methodSignature the value for the attribute <code>method-signature</code>
  4. * @return the current instance of <code>UicomponentAttributeType<T></code>
  5. */
  6. public UicomponentAttributeType<T> methodSignature(String methodSignature)
  7. {
  8. childNode.attribute("method-signature", methodSignature);
  9. return this;
  10. }

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

  1. /**
  2. * Sets the <code>preferred</code> attribute
  3. * @param preferred the value for the attribute <code>preferred</code>
  4. * @return the current instance of <code>UicomponentAttributeType<T></code>
  5. */
  6. public UicomponentAttributeType<T> preferred(Boolean preferred)
  7. {
  8. childNode.attribute("preferred", preferred);
  9. return this;
  10. }

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

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

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

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

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

  1. /**
  2. * Sets the <code>checkpoint-policy</code> attribute
  3. * @param checkpointPolicy the value for the attribute <code>checkpoint-policy</code>
  4. * @return the current instance of <code>Chunk<T></code>
  5. */
  6. public Chunk<T> checkpointPolicy(String checkpointPolicy)
  7. {
  8. childNode.attribute("checkpoint-policy", checkpointPolicy);
  9. return this;
  10. }

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

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

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

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

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

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

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

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

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

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

相关文章