1
2
3
4
5
6
7
8
9
10
11
12
13
14 package ch.qos.logback.core.joran.event;
15
16 import org.xml.sax.Locator;
17 import org.xml.sax.helpers.LocatorImpl;
18
19 public class SaxEvent {
20
21 final public String namespaceURI;
22 final public String localName;
23 final public String qName;
24 final public Locator locator;
25
26 SaxEvent(String namespaceURI, String localName, String qName, Locator locator) {
27 this.namespaceURI = namespaceURI;
28 this.localName = localName;
29 this.qName = qName;
30
31 this.locator = new LocatorImpl(locator);
32 }
33
34 public String getLocalName() {
35 return localName;
36 }
37
38 public Locator getLocator() {
39 return locator;
40 }
41
42 public String getNamespaceURI() {
43 return namespaceURI;
44 }
45
46 public String getQName() {
47 return qName;
48 }
49 }