@Test public void testHighlightTagWithNamespace() throws Exception { highlight( "<tag xmlns:x='url'>\n" + "<x:table> </x:table></tag>"); assertHighlighting(1, 5, 1, 12, TypeOfText.CONSTANT); assertHighlighting(1, 13, 1, 18, TypeOfText.STRING); assertHighlighting(2, 0, 2, 8, TypeOfText.KEYWORD); assertHighlighting(2, 8, 2, 9, TypeOfText.KEYWORD); }
public static void highlight(SensorContext context, XmlFile xmlFile) { new XmlHighlighting(xmlFile).highlight(context); }
XmlHighlighting { public static void highlight(SensorContext context, XmlFile xmlFile) { new XmlHighlighting(xmlFile).highlight(context); } }
XmlHighlighting { public static void highlight(SensorContext context, XmlFile xmlFile) { new XmlHighlighting(xmlFile).highlight(context); } private  XmlHighlighting(XmlFile xmlFile); }
XmlHighlighting { public static void highlight(SensorContext context, XmlFile xmlFile) { new XmlHighlighting(xmlFile).highlight(context); } private  XmlHighlighting(XmlFile xmlFile); static void highlight(SensorContext context, XmlFile xmlFile); }
XmlHighlighting { public static void highlight(SensorContext context, XmlFile xmlFile) { new XmlHighlighting(xmlFile).highlight(context); } private  XmlHighlighting(XmlFile xmlFile); static void highlight(SensorContext context, XmlFile xmlFile);  }