예제 #1
0
 public Attributes uri(String name, String componentAttribute) {
   ComponentAttribute attribute = createAttribute(name, componentAttribute);
   attribute.setKind(Kind.URI);
   return this;
 }
예제 #2
0
 public Attributes bool(String name, String componentAttribute) {
   ComponentAttribute attribute = createAttribute(name, componentAttribute);
   attribute.setKind(Kind.BOOL);
   return this;
 }
예제 #3
0
 public Attributes generic(String name, String componentAttribute, String... events) {
   ComponentAttribute attribute = createAttribute(name, componentAttribute);
   attribute.setEventNames(events);
   attribute.setKind(Kind.GENERIC);
   return this;
 }