Simple Api For Xml Version 2 For Java Page 2

ADVERTISEMENT

setErrorHandler
void setSystemId(String systemId)
EXCEPTIONS
Allow an application to register an error event handler.
void setErrorHandler(ErrorHandler handler)
setFeature
org.xml.sax.SAXException
Set the state of a feature.
SAXException
void setFeature(String name, boolean value)
Create a new SAXException wrapping an existing exception.
setProperty
SAXException(java.lang.Exception e)
Quick Reference
Set the value of a property.
Create a new SAXException.
SAXException(String message)
void setProperty(String name, Object value)
Create a new SAXException from an existing exception.
CLASSES
SAXException(String message, java.lang.Exception e)
getException
org.xml.sax.InputSource
Simple API for XML (SAX)
Return the embedded exception, if any.
A single input source for an XML entity.
java.lang.Exception getException()
InputSource
Version 2 for Java (Core)
getMessage
Zero-argument default constructor.
Return a detail message for this exception.
InputSource()
String getMessage()
Create a new input source with a byte stream.
5 May 2000
toString
InputSource(java.io.InputStream byteStream)
Create a new input source with a character stream.
Override toString to pick up any embedded exception.
InputSource(java.io.Reader characterStream)
String toString()
Create a new input source with a system identifier.
org.xml.sax.SAXNotRecognizedException
InputSource(String systemId)
getByteStream
SAXNotRecognizedException
The interfaces, classes and exceptions outlined below are taken from the
Get the byte stream for this input source.
Create a new SAXNotRecognizedException.
org.xml.sax package. This quick reference does not include deprecated
java.io.InputStream getByteStream()
SAXNotRecognizedException(String message)
features.
getCharacterStream
org.xml.sax.SAXNotSupportedException
Get the character stream for this input source.
SAXNotSupportedException
java.io.Reader getCharacterStream()
Table of Contents:
Create a new SAXNotSupportedException.
getEncoding
Interfaces
SAXNotSupportedException(String message)
· Attributes
Get the character encoding for a byte stream or URI.
org.xml.sax.SAXParseException
· ContentHandler
String getEncoding()
SAXParseException
getPublicId
· DTDHandler
· EntityResolver
Create a new SAXParseException from a message and a Locator.
Get the public identifier for this input source.
· ErrorHandler
SAXParseException(String msg, Locator l)
String getPublicId()
Create a SAXParseException from an existing Exception.
· Locator
getSystemId
SAXParseException(String msg, Locator l, Exception e)
· XMLFilter
Create a new SAXParseException or wrap and existing Exception.
Get the system identifier for this input source.
· XMLReader
SAXParseException(String msg,
String getSystemId()
String publicId,
setByteStream
Classes
String systemId,
· InputSource
int lineNumber,
Set the byte stream for this input source.
int columnNumber [, Exception e])
void setByteStream(java.io.InputStream byteStream)
getColumnNumber
Exceptions
setCharacterStream
· SAXException
The column number of the end of the text where the exception occurred.
Set the character stream for this input source.
· SAXNotRecognizedException
int getColumnNumber()
void setCharacterStream(java.io.Reader characterStream)
· SAXNotSupportedException
getLineNumber
setEncoding
· SAXParseException
The line number of the end of the text where the exception occurred.
Set the character encoding, if known.
int getLineNumber()
void setEncoding(String encoding)
getPublicId
deepX Ltd.
setPublicId
Get the public identifier of the entity where the exception occurred.
Set the public identifier for this input source.
java.lang.String getPublicId()
Dublin, Ireland
void setPublicId(String publicId)
getSystemId
setSystemId
Get the system identifier of the entity where the exception occurred.
Set the system identifier for this input source.
java.lang.String getSystemId()

ADVERTISEMENT

00 votes

Related Articles

Related forms

Related Categories

Parent category: Education
Go
Page of 2