2005/5/9

     
 

class XMLParser

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::xml::sax::XMLParser Class Reference

#include <XMLParser.h>

Inheritance diagram for acdk::xml::sax::XMLParser:

acdk::lang::Object org::xml::sax::Parser acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

API: org.xml.sax<br>.

Author:
Roger Rene Kommer
Version:
Revision
1.12
Date:
Date
2005/02/05 10:45:37


Public Member Functions

 XMLParser ()
 ~XMLParser ()
void setLocale (IN(acdk::util::RLocale) locale) throw ( ::org::xml::sax::RSAXException )
 Allow an application to request a locale for errors and warnings.

void setEntityResolver (IN(::org::xml::sax::REntityResolver) entityresolver)
void setDTDHandler (IN(::org::xml::sax::RDTDHandler) dtdhandler)
void setDocumentHandler (IN(::org::xml::sax::RDocumentHandler) documenthandler)
void setErrorHandler (IN(::org::xml::sax::RErrorHandler) errorhandler)
void parse (IN(::org::xml::sax::RInputSource) inputsource) throw ( ::org::xml::sax::RSAXException , acdk::io::RIOException )
void parse (IN(RString) s) throw ( ::org::xml::sax::RSAXException , acdk::io::RIOException )
 Parse a US-ASCII String.

void parse (IN(RbyteArray) s, int length=-1) throw ( ::org::xml::sax::RSAXException , acdk::io::RIOException )
 parse a byte stream

void parse (const byte *s, int length=-1) throw ( ::org::xml::sax::RSAXException , acdk::io::RIOException )
 parse a byte stream

::org::xml::sax::REntityResolver getEntityResolver ()
::org::xml::sax::RDTDHandler getDTDHandler ()
::org::xml::sax::RDocumentHandler getDocumentHandler ()
::org::xml::sax::RErrorHandler getErrorHandler ()

Private Attributes

::acdk::util::RLocale _locale
::org::xml::sax::REntityResolver _entityResolver
::org::xml::sax::RDTDHandler _dtdHandler
::org::xml::sax::RDocumentHandler _documentHandler
::org::xml::sax::RErrorHandler _errorHandler
void * _xmlParser


Constructor & Destructor Documentation

acdk::xml::sax::XMLParser::XMLParser  ) 
 

acdk::xml::sax::XMLParser::~XMLParser  ) 
 


Member Function Documentation

::org::xml::sax::RDocumentHandler acdk::xml::sax::XMLParser::getDocumentHandler  )  [inline]
 

::org::xml::sax::RDTDHandler acdk::xml::sax::XMLParser::getDTDHandler  )  [inline]
 

::org::xml::sax::REntityResolver acdk::xml::sax::XMLParser::getEntityResolver  )  [inline]
 

::org::xml::sax::RErrorHandler acdk::xml::sax::XMLParser::getErrorHandler  )  [inline]
 

void acdk::xml::sax::XMLParser::parse const byte s,
int  length = -1
throw ( ::org::xml::sax::RSAXException , acdk::io::RIOException )
 

parse a byte stream

Parameters:
length number of bytes to parse. If -1 byte stream has to be termuinated with ''

void acdk::xml::sax::XMLParser::parse IN(RbyteArray s,
int  length = -1
throw ( ::org::xml::sax::RSAXException , acdk::io::RIOException )
 

parse a byte stream

Parameters:
length number of bytes to parse. -1 means complete byteArray

void acdk::xml::sax::XMLParser::parse IN(RString s  )  throw ( ::org::xml::sax::RSAXException , acdk::io::RIOException )
 

Parse a US-ASCII String.

Parameters:
s String will be converted to US-ASCII string. Use parse(IN(RbyteArray) to encode bytes

void acdk::xml::sax::XMLParser::parse IN(::org::xml::sax::RInputSource inputsource  )  throw ( ::org::xml::sax::RSAXException , acdk::io::RIOException )
 

void acdk::xml::sax::XMLParser::setDocumentHandler IN(::org::xml::sax::RDocumentHandler documenthandler  ) 
 

void acdk::xml::sax::XMLParser::setDTDHandler IN(::org::xml::sax::RDTDHandler dtdhandler  ) 
 

void acdk::xml::sax::XMLParser::setEntityResolver IN(::org::xml::sax::REntityResolver entityresolver  ) 
 

void acdk::xml::sax::XMLParser::setErrorHandler IN(::org::xml::sax::RErrorHandler errorhandler  ) 
 

void acdk::xml::sax::XMLParser::setLocale IN(acdk::util::RLocale locale  )  throw ( ::org::xml::sax::RSAXException ) [virtual]
 

Allow an application to request a locale for errors and warnings.

SAX parsers are not required to provide localisation for errors and warnings; if they cannot support the requested locale, however, they must throw a SAX exception. Applications may not request a locale change in the middle of a parse.

Parameters:
locale A Java Locale object.
Exceptions:
org.xml.sax.SAXException Throws an exception (using the previous or default locale) if the requested locale is not supported.
See also:
org::xml::sax::SAXException

org::xml::sax::SAXParseException

Implements org::xml::sax::Parser.


Member Data Documentation

::org::xml::sax::RDocumentHandler acdk::xml::sax::XMLParser::_documentHandler [private]
 

::org::xml::sax::RDTDHandler acdk::xml::sax::XMLParser::_dtdHandler [private]
 

::org::xml::sax::REntityResolver acdk::xml::sax::XMLParser::_entityResolver [private]
 

::org::xml::sax::RErrorHandler acdk::xml::sax::XMLParser::_errorHandler [private]
 

::acdk::util::RLocale acdk::xml::sax::XMLParser::_locale [private]
 

void* acdk::xml::sax::XMLParser::_xmlParser [private]