Xalan-C++ API Documentation

The Xalan-C++ XSL Transformer Version 1.0

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

StringTokenizer Class Reference

#include <StringTokenizer.hpp>

List of all members.

Public Methods

Protected Methods


Detailed Description


Constructor & Destructor Documentation

StringTokenizer::StringTokenizer ( const XalanDOMString & theString,
const XalanDOMString & theTokens = XalanDOMString(XALAN_STATIC_UCODE_STRING(" \t\n\r\f")),
bool fReturnTokens = false)

Constructs a tokenizer for the target string.

Parameters:
theString   string to tokenize
theTokens   string of delimiters used to parse target, default is "\t
\r\f"
fReturnTokens   if true, delimiter characters are also returned as tokens, default is false

virtual StringTokenizer::~StringTokenizer () [virtual]


Member Function Documentation

unsigned int StringTokenizer::FindNextDelimiterIndex ( unsigned int theStartIndex) const [protected]

unsigned int StringTokenizer::countTokens () const [virtual]

Count the number of tokens yet to be parsed.

Returns:
number of remaining tokens

bool StringTokenizer::hasMoreTokens () const [virtual]

Determine if there are tokens remaining.

Returns:
true if there are more tokens

XalanDOMString StringTokenizer::nextToken () [virtual]

Retrieve the next token to be parsed; behavior is undefined if there are no more tokens.

Returns:
next token string

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++ XSL Transformer Version 1.0
Copyright © 2000 The Apache Software Foundation. All Rights Reserved.