View Javadoc
1   /*
2    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
3    * The software in this package is published under the terms of the CPAL v1.0
4    * license, a copy of which has been included with this distribution in the
5    * LICENSE.txt file.
6    */
7   
8   package org.mule.module.xml.stax;
9   
10  import java.util.List;
11  
12  import javanet.staxutils.events.EndElementEvent;
13  
14  import javax.xml.namespace.QName;
15  import javax.xml.stream.events.Namespace;
16  
17  public class EndElementEventX extends EndElementEvent
18  {
19      private List<Namespace> namespaces2;
20  
21      public EndElementEventX(QName name, List<Namespace> namespaces)
22      {
23          super(name, namespaces.iterator());
24          this.namespaces2 = namespaces;
25      }
26  
27      public List<Namespace> getNamespaceList()
28      {
29          return namespaces2;
30      }
31  
32  }