1
2
3
4
5
6
7
8
9
10
11 package org.mule.module.xml.stax;
12
13 import java.util.List;
14
15 import javanet.staxutils.events.StartElementEvent;
16
17 import javax.xml.namespace.NamespaceContext;
18 import javax.xml.namespace.QName;
19 import javax.xml.stream.Location;
20
21 public class StartElementEventX extends StartElementEvent
22 {
23
24 private final List attributes2;
25 private final List namespaces2;
26
27 public StartElementEventX(QName name,
28 List attributes,
29 List namespaces,
30 NamespaceContext namespaceCtx,
31 Location location,
32 QName schemaType)
33 {
34 super(name, attributes.iterator(), namespaces.iterator(), namespaceCtx, location, schemaType);
35 attributes2 = attributes;
36 namespaces2 = namespaces;
37 }
38
39 public List getAttributeList()
40 {
41 return attributes2;
42 }
43
44 public List getNamespaceList()
45 {
46 return namespaces2;
47 }
48
49
50 }
51
52