[SrcML] XHTML-ViewPlugin
Status: Beta
Brought to you by:
crashchaos
From: Leif B. <lei...@un...> - 2005-11-17 11:25:33
|
Hi, for testing purpose I implemented a NextElementDone-Event, which is called, after all Listeners and default-methods were called. So I can react on the end of a tag. That's fine so far. But if I would like to color only the "class"-string in the example, I have no clue where to start with. Can I realise it with the existing structure (e.g. the StringEvent) or do we have to extend the event structure? My test class: > public class Test {} Its SrcML representation: > <?xml version="1.0" encoding="UTF-8"?> > <unit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > language="java" filename="Test.java" author="leif" xsi:noNam > espaceSchemaLocation="http://srcml.sourceforge.net/srcml.xsd"> > > <class name="Test"> > <modifiers> > <modifier name="public"/> > </modifiers> > <block/> > </class> > </unit> Greetings Leif |