Ejemplo n.º 1
0
  @Override
  public void onComponentTag(Component component, ComponentTag tag) {
    super.onComponentTag(component, tag);

    Components.assertTag(component, tag, "span");
  }
Ejemplo n.º 2
0
 public static void assertTag(
     final Component component, final ComponentTag tag, final String... tagNames) {
   assertTag(component, tag, Sets.newHashSet(tagNames));
 }