@Test public void hasAfterElementTest() { Element element = new Element(Tag.valueOf("after"), ""); IElementNode node = new JsoupElementNode(element); Assert.assertTrue(CssPseudoElementUtil.hasBeforeAfterElements(node)); }
public static boolean hasBeforeAfterElements(IElementNode node) { if (node == null || node instanceof CssPseudoElementNode || node.name().startsWith(TAG_NAME_PREFIX)) { return false; } return true; }
CssPseudoElementUtil { public static boolean hasBeforeAfterElements(IElementNode node) { if (node == null || node instanceof CssPseudoElementNode || node.name().startsWith(TAG_NAME_PREFIX)) { return false; } return true; } }
CssPseudoElementUtil { public static boolean hasBeforeAfterElements(IElementNode node) { if (node == null || node instanceof CssPseudoElementNode || node.name().startsWith(TAG_NAME_PREFIX)) { return false; } return true; }  }
CssPseudoElementUtil { public static boolean hasBeforeAfterElements(IElementNode node) { if (node == null || node instanceof CssPseudoElementNode || node.name().startsWith(TAG_NAME_PREFIX)) { return false; } return true; }  static String createPseudoElementTagName(String pseudoElementName); static boolean hasBeforeAfterElements(IElementNode node); }
CssPseudoElementUtil { public static boolean hasBeforeAfterElements(IElementNode node) { if (node == null || node instanceof CssPseudoElementNode || node.name().startsWith(TAG_NAME_PREFIX)) { return false; } return true; }  static String createPseudoElementTagName(String pseudoElementName); static boolean hasBeforeAfterElements(IElementNode node);  }