StartPrefixMapping Event
Fired when entering the scope of a namespace declaration.
Syntax
public class DefaultXmlEventListener implements XmlEventListener { ... public void startPrefixMapping(XmlStartPrefixMappingEvent e) {} ... } public class XmlStartPrefixMappingEvent { public String prefix; public String URI; }
Remarks
The EndPrefixMapping event is fired when leaving the scope of a namespace declaration.