Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

XalanParsedURI Class Reference

URI handling (hopefully) according to RFC2396. More...

#include <XalanParsedURI.hpp>

Collaboration diagram for XalanParsedURI:

Collaboration graph
[legend]
List of all members.

Public Types

Public Methods

Static Public Methods


Detailed Description

URI handling (hopefully) according to RFC2396.


Member Enumeration Documentation

enum XalanParsedURI::eComponent
 

Enumeration values:
d_scheme  
d_authority  
d_query  
d_fragment  


Constructor & Destructor Documentation

XalanParsedURI::XalanParsedURI ( MemoryManagerType & theManager )
 

Default constructor.

XalanParsedURI::XalanParsedURI ( const XalanDOMChar * uriString,
XalanDOMString::size_type uriStringLen,
MemoryManagerType & theManager )
 

Constructor which parses the passed in uri.

Parameters:
uriString   URI to parse
uriStringLen   Length of the URI string

XalanParsedURI::XalanParsedURI ( const XalanDOMString & uriString,
MemoryManagerType & theManager )
 

Constructor which parses the passed in uri.

Parameters:
uriString   URI to parse


Member Function Documentation

const XalanDOMString & XalanParsedURI::getAuthority ( ) const
 

Get the authority component.

unsigned int XalanParsedURI::getDefined ( ) const
 

Get the defined components mask.

const XalanDOMString & XalanParsedURI::getFragment ( ) const
 

Get the fragment component.

MemoryManagerType & XalanParsedURI::getMemoryManager ( )
 

const XalanDOMString & XalanParsedURI::getPath ( ) const
 

Get the path component.

const XalanDOMString & XalanParsedURI::getQuery ( ) const
 

Get function to get the query component.

const XalanDOMString & XalanParsedURI::getScheme ( ) const
 

Get the scheme component.

bool XalanParsedURI::isAuthorityDefined ( ) const
 

See if the authority component is defined.

bool XalanParsedURI::isFragmentDefined ( ) const
 

See if the fragment component is defined.

bool XalanParsedURI::isQueryDefined ( ) const
 

See if the query component is defined.

bool XalanParsedURI::isSchemeDefined ( ) const
 

See if the scheme component is defined.

XalanDOMString & XalanParsedURI::make ( XalanDOMString & theResult ) const
 

Reassemble the uri components to make a complete URI.

Returns:
The reassembled URI

void XalanParsedURI::parse ( const XalanDOMString & uriString )
 

Parse the passed in uri.

Parameters:
uriString   URI to parse
uriStringLen   Length of the URI string

void XalanParsedURI::parse ( const XalanDOMChar * uriString,
XalanDOMString::size_type uriStringLen )
 

Parse the passed in uri.

Parameters:
uriString   URI to parse
uriStringLen   Length of the URI string

XalanDOMString & XalanParsedURI::resolve ( const XalanDOMString & relative,
const XalanDOMString & base,
XalanDOMString & theResult ) [static]
 

Resolve the one URI relative to another.

@relative The URI string to resolve @base The base URI string

XalanDOMString & XalanParsedURI::resolve ( const XalanDOMChar * relative,
XalanDOMString::size_type relativeLen,
const XalanDOMChar * base,
XalanDOMString::size_type baseLen,
XalanDOMString & theResult ) [static]
 

Resolve the one URI relative to another.

@relative The URI string to resolve @relativeLen The lengh of the relative URI string @base The base URI string @baseLen The length of the base URI string

void XalanParsedURI::resolve ( const XalanDOMString & base )
 

Resolve this URI relative to another.

Parameters:
base   The base URI string

void XalanParsedURI::resolve ( const XalanDOMChar * base,
const XalanDOMString::size_type baseLen )
 

Resolve this URI relative to another.

Parameters:
base   The base URI string
baseLen   The length of the base URI

void XalanParsedURI::resolve ( const XalanParsedURI & base )
 

Resolve this URI relative to another, according to RFC2396.

Parameters:
base   The base URI to use during resolution.

void XalanParsedURI::setAuthority ( const XalanDOMString & authority )
 

Set the authority component.

Also sets the authority defined flag.

void XalanParsedURI::setAuthority ( const XalanDOMChar * authority )
 

Set the authority component.

Also sets the authority defined flag.

void XalanParsedURI::setDefined ( unsigned int defined )
 

Set the defined components mask.

void XalanParsedURI::setFragment ( const XalanDOMString & fragment )
 

Set the fragment component.

Also sets the fragment defined flag.

void XalanParsedURI::setFragment ( const XalanDOMChar * fragment )
 

Set the fragment component.

Also sets the fragment defined flag.

void XalanParsedURI::setPath ( const XalanDOMString & path )
 

Set the path component.

void XalanParsedURI::setPath ( const XalanDOMChar * path )
 

Set the path component.

void XalanParsedURI::setQuery ( const XalanDOMString & query )
 

Set the query component.

Also sets the query defined flag.

void XalanParsedURI::setQuery ( const XalanDOMChar * query )
 

Set the query component.

Also sets the query defined flag.

void XalanParsedURI::setScheme ( const XalanDOMString & scheme )
 

Set the scheme component.

Also sets the scheme defined flag.

void XalanParsedURI::setScheme ( const XalanDOMChar * scheme )
 

Set the scheme component.

Also sets the scheme defined flag.


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.

dot

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

Apache Logo