Пример #1
0
  @Override
  public void onComponentTag(Component component, ComponentTag tag) {
    super.onComponentTag(component, tag);

    Components.assertTag(component, tag, "span");
  }
Пример #2
0
 public static void assertTag(
     final Component component, final ComponentTag tag, final String... tagNames) {
   assertTag(component, tag, Sets.newHashSet(tagNames));
 }