|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AttributeSupportBuilder<P extends DescrBuilder<?,?>>
An interface for all builders of statements that support attributes
Method Summary | |
---|---|
AttributeDescrBuilder<P> |
attribute(String name)
Adds a new attribute to the statement |
P |
attribute(String name,
String value)
Adds a new attribute with the given name and value |
P |
attribute(String name,
String value,
AttributeDescr.Type type)
Adds a new attribute with the given name and value |
Method Detail |
---|
AttributeDescrBuilder<P> attribute(String name)
name
- the attribute name
P attribute(String name, String value)
name
- the name of the attribute to be addedvalue
- the value of the attribute to be added
P attribute(String name, String value, AttributeDescr.Type type)
name
- the name of the attribute to be addedvalue
- the value of the attribute to be addedtype
- the type of the value of the attribute. See AttributeDescr.Type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |