166220049SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
366220049SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
466220049SAndrew Rist * or more contributor license agreements.  See the NOTICE file
566220049SAndrew Rist * distributed with this work for additional information
666220049SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
766220049SAndrew Rist * to you under the Apache License, Version 2.0 (the
866220049SAndrew Rist * "License"); you may not use this file except in compliance
966220049SAndrew Rist * with the License.  You may obtain a copy of the License at
1066220049SAndrew Rist *
1166220049SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
1266220049SAndrew Rist *
1366220049SAndrew Rist * Unless required by applicable law or agreed to in writing,
1466220049SAndrew Rist * software distributed under the License is distributed on an
1566220049SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
1666220049SAndrew Rist * KIND, either express or implied.  See the License for the
1766220049SAndrew Rist * specific language governing permissions and limitations
1866220049SAndrew Rist * under the License.
1966220049SAndrew Rist *
2066220049SAndrew Rist *************************************************************/
2166220049SAndrew Rist
2266220049SAndrew Rist
23cdf0e10cSrcweir
24*b63233d8Sdamjan//i20156 - new file for xmlsecurity module
25cdf0e10cSrcweir
26*b63233d8Sdamjan/** -- idl definition -- **/
27cdf0e10cSrcweir
28*b63233d8Sdamjan#ifndef __com_sun_star_xml_crypto_sax_xelementstackitem_idl_
29*b63233d8Sdamjan#define __com_sun_star_xml_crypto_sax_xelementstackitem_idl_
30cdf0e10cSrcweir
31*b63233d8Sdamjan#include <com/sun/star/xml/sax/XDocumentHandler.idl>
32cdf0e10cSrcweir
33*b63233d8Sdamjanmodule com { module sun { module star { module xml { module crypto { module sax {
34cdf0e10cSrcweir
35*b63233d8Sdamjan/**
36*b63233d8Sdamjan * A struct to keep a startElement/endElement SAX event.
37*b63233d8Sdamjan */
38*b63233d8Sdamjanstruct ElementStackItem
39*b63233d8Sdamjan{
40*b63233d8Sdamjan	/**
41*b63233d8Sdamjan	 * whether it is a startElement event
42*b63233d8Sdamjan	 */
43*b63233d8Sdamjan	boolean isStartElementEvent;
44*b63233d8Sdamjan
45*b63233d8Sdamjan	/**
46*b63233d8Sdamjan	 * the name of the element
47*b63233d8Sdamjan	 */
48*b63233d8Sdamjan	string elementName;
49*b63233d8Sdamjan
50*b63233d8Sdamjan	/**
51*b63233d8Sdamjan	 * attribute list for a startElement event
52*b63233d8Sdamjan	 */
53*b63233d8Sdamjan	com::sun::star::xml::sax::XAttributeList xAttributes;
54*b63233d8Sdamjan};
55cdf0e10cSrcweir
56*b63233d8Sdamjan} ; } ; } ; } ; } ; } ;
57cdf0e10cSrcweir
58cdf0e10cSrcweir
59*b63233d8Sdamjan#endif
60cdf0e10cSrcweir
61