本文整理了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
[英]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
/**
* Sets the <code>id</code> attribute
* @param id the value for the attribute <code>id</code>
* @return the current instance of <code>FacesConfigValidatorType<T></code>
*/
public FacesConfigValidatorType<T> id(String id)
{
childNode.attribute("id", id);
return this;
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Sets the <code>id</code> attribute
* @param id the value for the attribute <code>id</code>
* @return the current instance of <code>ResourceEnvRefType<T></code>
*/
public ResourceEnvRefType<T> id(String id)
{
childNode.attribute("id", id);
return this;
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Sets the <code>id</code> attribute
* @param id the value for the attribute <code>id</code>
* @return the current instance of <code>SecurityRoleRefType<T></code>
*/
public SecurityRoleRefType<T> id(String id)
{
childNode.attribute("id", id);
return this;
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Sets the <code>method-signature</code> attribute
* @param methodSignature the value for the attribute <code>method-signature</code>
* @return the current instance of <code>WebFacesUIComponentDescriptor</code>
*/
public WebFacesUIComponentDescriptor methodSignature(String methodSignature)
{
model.attribute("method-signature", methodSignature);
return this;
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Sets the <code>id</code> attribute
* @param id the value for the attribute <code>id</code>
* @return the current instance of <code>MessageDestinationType<T></code>
*/
public MessageDestinationType<T> id(String id)
{
childNode.attribute("id", id);
return this;
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Sets the <code>ref</code> attribute
* @param ref the value for the attribute <code>ref</code>
* @return the current instance of <code>Analyzer<T></code>
*/
public Analyzer<T> ref(String ref)
{
childNode.attribute("ref", ref);
return this;
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Sets the <code>id</code> attribute
* @param id the value for the attribute <code>id</code>
* @return the current instance of <code>HandlerType<T></code>
*/
public HandlerType<T> id(String id)
{
childNode.attribute("id", id);
return this;
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Sets the <code>id</code> attribute
* @param id the value for the attribute <code>id</code>
* @return the current instance of <code>FacesConfigAbsoluteOrderingType<T></code>
*/
public FacesConfigAbsoluteOrderingType<T> id(String id)
{
childNode.attribute("id", id);
return this;
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Sets the <code>id</code> attribute
* @param id the value for the attribute <code>id</code>
* @return the current instance of <code>FacesConfigFacetType<T></code>
*/
public FacesConfigFacetType<T> id(String id)
{
childNode.attribute("id", id);
return this;
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Sets the <code>id</code> attribute
* @param id the value for the attribute <code>id</code>
* @return the current instance of <code>FacesConfigManagedPropertyType<T></code>
*/
public FacesConfigManagedPropertyType<T> id(String id)
{
childNode.attribute("id", id);
return this;
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Sets the <code>method-signature</code> attribute
* @param methodSignature the value for the attribute <code>method-signature</code>
* @return the current instance of <code>UicomponentAttributeType<T></code>
*/
public UicomponentAttributeType<T> methodSignature(String methodSignature)
{
childNode.attribute("method-signature", methodSignature);
return this;
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Sets the <code>preferred</code> attribute
* @param preferred the value for the attribute <code>preferred</code>
* @return the current instance of <code>UicomponentAttributeType<T></code>
*/
public UicomponentAttributeType<T> preferred(Boolean preferred)
{
childNode.attribute("preferred", preferred);
return this;
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Sets the <code>id</code> attribute
* @param id the value for the attribute <code>id</code>
* @return the current instance of <code>TimerScheduleType<T></code>
*/
public TimerScheduleType<T> id(String id)
{
childNode.attribute("id", id);
return this;
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Sets the <code>id</code> attribute
* @param id the value for the attribute <code>id</code>
* @return the current instance of <code>PersistenceUnitRefType<T></code>
*/
public PersistenceUnitRefType<T> id(String id)
{
childNode.attribute("id", id);
return this;
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Sets the <code>checkpoint-policy</code> attribute
* @param checkpointPolicy the value for the attribute <code>checkpoint-policy</code>
* @return the current instance of <code>Chunk<T></code>
*/
public Chunk<T> checkpointPolicy(String checkpointPolicy)
{
childNode.attribute("checkpoint-policy", checkpointPolicy);
return this;
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Sets the <code>id</code> attribute
* @param id the value for the attribute <code>id</code>
* @return the current instance of <code>PersistenceUnitRefType<T></code>
*/
public PersistenceUnitRefType<T> id(String id)
{
childNode.attribute("id", id);
return this;
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Sets the <code>id</code> attribute
* @param id the value for the attribute <code>id</code>
* @return the current instance of <code>FacesConfigApplicationType<T></code>
*/
public FacesConfigApplicationType<T> id(String id)
{
childNode.attribute("id", id);
return this;
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Sets the <code>id</code> attribute
* @param id the value for the attribute <code>id</code>
* @return the current instance of <code>PartialResponseUpdateType<T></code>
*/
public PartialResponseUpdateType<T> id(String id)
{
childNode.attribute("id", id);
return this;
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Sets the <code>id</code> attribute
* @param id the value for the attribute <code>id</code>
* @return the current instance of <code>PersistenceContextRefType<T></code>
*/
public PersistenceContextRefType<T> id(String id)
{
childNode.attribute("id", id);
return this;
}
代码示例来源:origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee
/**
* Sets the <code>id</code> attribute
* @param id the value for the attribute <code>id</code>
* @return the current instance of <code>DataSourceType<T></code>
*/
public DataSourceType<T> id(String id)
{
childNode.attribute("id", id);
return this;
}
内容来源于网络,如有侵权,请联系作者删除!