Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Public Types | Public Member Functions | Static Public Member Functions

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 Member Functions

Static Public Member Functions


Detailed Description

URI handling (hopefully) according to RFC2396.

Definition at line 41 of file XalanParsedURI.hpp.


Member Enumeration Documentation

Enumerator:
d_scheme 
d_authority 
d_query 
d_fragment 

Definition at line 53 of file XalanParsedURI.hpp.


Constructor & Destructor Documentation

XalanParsedURI::XalanParsedURI ( MemoryManager &  theManager  )  [inline]

Default constructor.

Definition at line 65 of file XalanParsedURI.hpp.

XalanParsedURI::XalanParsedURI ( const XalanDOMChar *  uriString,
XalanDOMString::size_type  uriStringLen,
MemoryManager &  theManager 
) [inline]

Constructor which parses the passed in uri.

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

Definition at line 81 of file XalanParsedURI.hpp.

XalanParsedURI::XalanParsedURI ( const XalanDOMString uriString,
MemoryManager &  theManager 
) [inline]

Constructor which parses the passed in uri.

Parameters:
uriString URI to parse

Definition at line 100 of file XalanParsedURI.hpp.


Member Function Documentation

const XalanDOMString& XalanParsedURI::getAuthority (  )  const [inline]

Get the authority component.

Definition at line 252 of file XalanParsedURI.hpp.

unsigned int XalanParsedURI::getDefined (  )  const [inline]

Get the defined components mask.

Definition at line 378 of file XalanParsedURI.hpp.

const XalanDOMString& XalanParsedURI::getFragment (  )  const [inline]

Get the fragment component.

Definition at line 344 of file XalanParsedURI.hpp.

MemoryManager& XalanParsedURI::getMemoryManager (  )  [inline]

Definition at line 114 of file XalanParsedURI.hpp.

const XalanDOMString& XalanParsedURI::getPath (  )  const [inline]

Get the path component.

Definition at line 286 of file XalanParsedURI.hpp.

const XalanDOMString& XalanParsedURI::getQuery (  )  const [inline]

Get function to get the query component.

Definition at line 310 of file XalanParsedURI.hpp.

const XalanDOMString& XalanParsedURI::getScheme (  )  const [inline]

Get the scheme component.

Definition at line 218 of file XalanParsedURI.hpp.

bool XalanParsedURI::isAuthorityDefined (  )  const [inline]

See if the authority component is defined.

Definition at line 260 of file XalanParsedURI.hpp.

bool XalanParsedURI::isFragmentDefined (  )  const [inline]

See if the fragment component is defined.

Definition at line 352 of file XalanParsedURI.hpp.

bool XalanParsedURI::isQueryDefined (  )  const [inline]

See if the query component is defined.

Definition at line 318 of file XalanParsedURI.hpp.

bool XalanParsedURI::isSchemeDefined (  )  const [inline]

See if the scheme component is defined.

Definition at line 226 of file XalanParsedURI.hpp.

XalanDOMString& XalanParsedURI::make ( XalanDOMString theResult  )  const

Reassemble the uri components to make a complete URI.

Returns:
The reassembled URI
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
void XalanParsedURI::parse ( const XalanDOMString uriString  )  [inline]

Parse the passed in uri.

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

Definition at line 135 of file XalanParsedURI.hpp.

static 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.

The URI string to resolve The lengh of the relative URI string The base URI string The length of the base URI string

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

Resolve the one URI relative to another.

The URI string to resolve The base URI string

Definition at line 206 of file XalanParsedURI.hpp.

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::resolve ( const XalanDOMChar *  base,
const XalanDOMString::size_type  baseLen 
) [inline]

Resolve this URI relative to another.

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

Definition at line 161 of file XalanParsedURI.hpp.

void XalanParsedURI::resolve ( const XalanDOMString base  )  [inline]

Resolve this URI relative to another.

Parameters:
base The base URI string

Definition at line 175 of file XalanParsedURI.hpp.

void XalanParsedURI::setAuthority ( const XalanDOMString authority  )  [inline]

Set the authority component.

Also sets the authority defined flag.

Definition at line 277 of file XalanParsedURI.hpp.

void XalanParsedURI::setAuthority ( const XalanDOMChar *  authority  )  [inline]

Set the authority component.

Also sets the authority defined flag.

Definition at line 268 of file XalanParsedURI.hpp.

void XalanParsedURI::setDefined ( unsigned int  defined  )  [inline]

Set the defined components mask.

Definition at line 386 of file XalanParsedURI.hpp.

void XalanParsedURI::setFragment ( const XalanDOMString fragment  )  [inline]

Set the fragment component.

Also sets the fragment defined flag.

Definition at line 369 of file XalanParsedURI.hpp.

void XalanParsedURI::setFragment ( const XalanDOMChar *  fragment  )  [inline]

Set the fragment component.

Also sets the fragment defined flag.

Definition at line 360 of file XalanParsedURI.hpp.

void XalanParsedURI::setPath ( const XalanDOMChar *  path  )  [inline]

Set the path component.

Definition at line 294 of file XalanParsedURI.hpp.

void XalanParsedURI::setPath ( const XalanDOMString path  )  [inline]

Set the path component.

Definition at line 302 of file XalanParsedURI.hpp.

void XalanParsedURI::setQuery ( const XalanDOMString query  )  [inline]

Set the query component.

Also sets the query defined flag.

Definition at line 335 of file XalanParsedURI.hpp.

void XalanParsedURI::setQuery ( const XalanDOMChar *  query  )  [inline]

Set the query component.

Also sets the query defined flag.

Definition at line 326 of file XalanParsedURI.hpp.

void XalanParsedURI::setScheme ( const XalanDOMString scheme  )  [inline]

Set the scheme component.

Also sets the scheme defined flag.

Definition at line 243 of file XalanParsedURI.hpp.

void XalanParsedURI::setScheme ( const XalanDOMChar *  scheme  )  [inline]

Set the scheme component.

Also sets the scheme defined flag.

Definition at line 234 of file XalanParsedURI.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