## Xalan-C++ API Documentation

### The Xalan C++ XSLT Processor Version 1.9

Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

# KeyDeclaration Class Reference

Holds the attribute declarations for the "xsl:key" element. More...

Collaboration diagram for KeyDeclaration:

[legend]
List of all members.

## Public Member Functions

- KeyDeclaration (const XalanQName &qname, const XPath &matchPattern, const XPath &use, const XalanDOMString &uri, XalanLocator::size_type lineNumber, XalanLocator::size_type columnNumber)
    Construct an object containing attributes of an "xsl:key" element.
- KeyDeclaration ()
- KeyDeclaration (const KeyDeclaration &theSource)
- ~KeyDeclaration ()
- const XalanQName * getQName () const
    Retrieves name of element.
- const XPath * getUse () const
    Retrieves "use" XPath.
- const XPath * getMatchPattern () const
    Retrieves "match" XPath.
- const XalanDOMString * getURI () const
    Retrieves the URI.
- XalanLocator::size_type getLineNumber () const
    Retrieves the line number where the xsl:key element occurred.
- XalanLocator::size_type getColumnNumber () const
    Retrieves the column number where the xsl:key element occurred.

## Detailed Description

Holds the attribute declarations for the "xsl:key" element.

## Constructor & Destructor Documentation

KeyDeclaration::KeyDeclaration | ( | const XalanQName & | qname,
|  | const XPath & | matchPattern,
|  | const XPath & | use,
|  | const XalanDOMString & | uri,
|  | XalanLocator::size_type | lineNumber,
|  | XalanLocator::size_type | columnNumber
| ) |

Construct an object containing attributes of an "xsl:key" element.

Parameters:

  qname | name of element
  matchPattern | XPath for "match" attribute
  use | XPath for "use" attribute

KeyDeclaration::KeyDeclaration | ( |  | ) | `[explicit]`

KeyDeclaration::KeyDeclaration | ( | const KeyDeclaration & | theSource | ) |

KeyDeclaration::~KeyDeclaration | ( |  | ) |

## Member Function Documentation

XalanLocator::size_type KeyDeclaration::getColumnNumber | ( |  | ) | const

Retrieves the column number where the xsl:key element occurred.

Returns:
  The column number

XalanLocator::size_type KeyDeclaration::getLineNumber | ( |  | ) | const

Retrieves the line number where the xsl:key element occurred.

Returns:
  The line number

const XPath* KeyDeclaration::getMatchPattern | ( |  | ) | const

Retrieves "match" XPath.

Returns:
  XPath for "match" attribute

const XalanQName* KeyDeclaration::getQName | ( |  | ) | const

Retrieves name of element.

Returns:
  name string

const XalanDOMString* KeyDeclaration::getURI | ( |  | ) | const

Retrieves the URI.

Returns:
  A pointer to a URI string.

const XPath* KeyDeclaration::getUse | ( |  | ) | const

Retrieves "use" XPath.

Returns:
  XPath for "use" attribute

The documentation for this class was generated from the following file:

- KeyDeclaration.hpp

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

Xalan-C++ XSLT Processor Version 1.9 Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.