@Test public void testXMLHeader() throws Exception { highlight("<?xml version=\"1.0\" encoding=\"UTF-8\" ?> <tag/>"); assertHighlighting(0, 5, TypeOfText.KEYWORD); assertHighlighting(37, 39, TypeOfText.KEYWORD); assertHighlighting(6, 13, TypeOfText.CONSTANT); assertHighlighting(14, 19, TypeOfText.STRING); assertHighlighting(20, 28, TypeOfText.CONSTANT); assertHighlighting(29, 36, TypeOfText.STRING); }
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);  }