Xalan-C++ API Reference  1.12.0
Public Member Functions | List of all members
xalanc::KeyDeclaration Class Reference

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

#include <xalanc/XSLT/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 XalanQNamegetQName () const
 Retrieves name of element. More...
 
const XPathgetUse () const
 Retrieves "use" XPath. More...
 
const XPathgetMatchPattern () const
 Retrieves "match" XPath. More...
 
const XalanDOMStringgetURI () 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]

xalanc::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]

xalanc::KeyDeclaration::KeyDeclaration ( )
inlineexplicit

Definition at line 71 of file KeyDeclaration.hpp.

◆ KeyDeclaration() [3/3]

xalanc::KeyDeclaration::KeyDeclaration ( const KeyDeclaration theSource)
inline

Definition at line 81 of file KeyDeclaration.hpp.

◆ ~KeyDeclaration()

xalanc::KeyDeclaration::~KeyDeclaration ( )
inline

Definition at line 88 of file KeyDeclaration.hpp.

Member Function Documentation

◆ getColumnNumber()

XalanFileLoc xalanc::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 xalanc::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* xalanc::KeyDeclaration::getMatchPattern ( ) const
inline

Retrieves "match" XPath.

Returns
XPath for "match" attribute

Definition at line 120 of file KeyDeclaration.hpp.

◆ getQName()

const XalanQName* xalanc::KeyDeclaration::getQName ( ) const
inline

Retrieves name of element.

Returns
name string

Definition at line 98 of file KeyDeclaration.hpp.

◆ getURI()

const XalanDOMString* xalanc::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* xalanc::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: