APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.org.apache.xml.internal.serializer.dom3

pack-priv final Class DOMErrorImpl

extends Object
implements DOMError
Class Inheritance
All Implemented Interfaces
org.w3c.dom.DOMError
Imports
org.w3c.dom.DOMError, .DOMLocator

Implementation of the DOM Level 3 DOMError interface.

See also the DOMError Interface definition from Document Object Model (DOM) Level 3 Core Specification.

Field Summary

Modifier and TypeField and Description
private Exception
private DOMLocatorImpl
private String
private Object
private short
fSeverity

private data members

private String

Constructor Summary

AccessConstructor and Description
pack-priv
DOMErrorImpl()

Default constructor.

pack-priv
DOMErrorImpl(short severity, String message, String type)

pack-priv
DOMErrorImpl(short severity, String message, String type, Exception exception)

pack-priv
DOMErrorImpl(short severity, String message, String type, Exception exception, Object relatedData, DOMLocatorImpl location)

Method Summary

Modifier and TypeMethod and Description
public DOMLocator

Returns:

A DOMLocator object containing the DOMError location.
getLocation
()

Implements org.w3c.dom.DOMError.getLocation.

The location of the DOMError.

public String

Returns:

String
getMessage
()

Implements org.w3c.dom.DOMError.getMessage.

The DOMError message string.

public Object

Returns:

java.lang.Object
getRelatedData
()

Implements org.w3c.dom.DOMError.getRelatedData.

The related DOMError.type dependent data if any.

public Object

Returns:

A java.lang.Exception
getRelatedException
()

Implements org.w3c.dom.DOMError.getRelatedException.

The related platform dependent exception if any.

public short

Returns:

A short containing the DOMError severity
getSeverity
()

Implements org.w3c.dom.DOMError.getSeverity.

The severity of the error, either SEVERITY_WARNING, SEVERITY_ERROR, or SEVERITY_FATAL_ERROR.

public String

Returns:

A String
getType
()

Implements org.w3c.dom.DOMError.getType.

Returns a String indicating which related data is expected in relatedData.

public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

fExceptionback to summary
private Exception fException
fLocationback to summary
private DOMLocatorImpl fLocation
fMessageback to summary
private String fMessage
fRelatedDataback to summary
private Object fRelatedData
fSeverityback to summary
private short fSeverity

private data members

fTypeback to summary
private String fType

Constructor Detail

DOMErrorImplback to summary
pack-priv DOMErrorImpl()

Default constructor.

DOMErrorImplback to summary
pack-priv DOMErrorImpl(short severity, String message, String type)
DOMErrorImplback to summary
pack-priv DOMErrorImpl(short severity, String message, String type, Exception exception)
DOMErrorImplback to summary
pack-priv DOMErrorImpl(short severity, String message, String type, Exception exception, Object relatedData, DOMLocatorImpl location)

Method Detail

getLocationback to summary
public DOMLocator getLocation()

Implements org.w3c.dom.DOMError.getLocation.

The location of the DOMError.

Returns:DOMLocator

A DOMLocator object containing the DOMError location.

getMessageback to summary
public String getMessage()

Implements org.w3c.dom.DOMError.getMessage.

The DOMError message string.

Returns:String

String

getRelatedDataback to summary
public Object getRelatedData()

Implements org.w3c.dom.DOMError.getRelatedData.

The related DOMError.type dependent data if any.

Returns:Object

java.lang.Object

getRelatedExceptionback to summary
public Object getRelatedException()

Implements org.w3c.dom.DOMError.getRelatedException.

The related platform dependent exception if any.

Returns:Object

A java.lang.Exception

getSeverityback to summary
public short getSeverity()

Implements org.w3c.dom.DOMError.getSeverity.

The severity of the error, either SEVERITY_WARNING, SEVERITY_ERROR, or SEVERITY_FATAL_ERROR.

Returns:short

A short containing the DOMError severity

getTypeback to summary
public String getType()

Implements org.w3c.dom.DOMError.getType.

Returns a String indicating which related data is expected in relatedData.

Returns:String

A String

resetback to summary
public void reset()