Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Public Member Functions | List of all members
KeyDeclaration Class Reference

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

#include <KeyDeclaration.hpp>

Public Member Functions

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

Detailed Description

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

Definition at line 43 of file KeyDeclaration.hpp.

Constructor & Destructor Documentation

◆ KeyDeclaration() [1/3]

KeyDeclaration::KeyDeclaration ( const XalanQName &  qname,
const XPath &  matchPattern,
const XPath &  use,
const XalanDOMString &  uri,
XalanFileLoc  lineNumber,
XalanFileLoc  columnNumber 
)
inline

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

Parameters
qnamename of element
matchPatternXPath for "match" attribute
useXPath for "use" attribute

Definition at line 54 of file KeyDeclaration.hpp.

◆ KeyDeclaration() [2/3]

KeyDeclaration::KeyDeclaration ( )
inlineexplicit

Definition at line 71 of file KeyDeclaration.hpp.

◆ KeyDeclaration() [3/3]

KeyDeclaration::KeyDeclaration ( const KeyDeclaration &  theSource)
inline

Definition at line 81 of file KeyDeclaration.hpp.

◆ ~KeyDeclaration()

KeyDeclaration::~KeyDeclaration ( )
inline

Definition at line 88 of file KeyDeclaration.hpp.

Member Function Documentation

◆ getColumnNumber()

XalanFileLoc KeyDeclaration::getColumnNumber ( ) const
inline

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

Returns
The column number

Definition at line 153 of file KeyDeclaration.hpp.

◆ getLineNumber()

XalanFileLoc KeyDeclaration::getLineNumber ( ) const
inline

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

Returns
The line number

Definition at line 142 of file KeyDeclaration.hpp.

◆ getMatchPattern()

const XPath* KeyDeclaration::getMatchPattern ( ) const
inline

Retrieves "match" XPath.

Returns
XPath for "match" attribute

Definition at line 120 of file KeyDeclaration.hpp.

◆ getQName()

const XalanQName* KeyDeclaration::getQName ( ) const
inline

Retrieves name of element.

Returns
name string

Definition at line 98 of file KeyDeclaration.hpp.

◆ getURI()

const XalanDOMString* KeyDeclaration::getURI ( ) const
inline

Retrieves the URI.

Returns
A pointer to a URI string.

Definition at line 131 of file KeyDeclaration.hpp.

◆ getUse()

const XPath* KeyDeclaration::getUse ( ) const
inline

Retrieves "use" XPath.

Returns
XPath for "use" attribute

Definition at line 109 of file KeyDeclaration.hpp.


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

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.11
Copyright © 1999-2012 The Apache Software Foundation.
All Rights Reserved.

Apache Logo