public class

ObjectHandler

extends HandlerBase
java.lang.Object
   ↳ org.xml.sax.HandlerBase
     ↳ com.sun.beans.ObjectHandler

Class Overview

WARNING: This class is an implementation detail and only meant for use within the core platform. You should NOT depend upon it! This API may change drastically between dot dot release, and it may even be removed.

Summary

Public Constructors
ObjectHandler()
ObjectHandler(XMLDecoder is)
ObjectHandler(XMLDecoder is, ClassLoader loader)
Public Methods
void characters(char[] buf, int offset, int len)
static Class classForName(String name)
This method is deprecated. As of JDK version 7, replaced by resolveClass(String).
static Class classForName(String name, ClassLoader cl)
This method is deprecated. As of JDK version 7, replaced by resolveClass(String, ClassLoader).
Object dequeueResult()
void endElement(String name)
Object lookup(String s)
void register(String id, Object value)
void reset()
void startElement(String name, AttributeList attrs)
static Class typeNameToClass(String typeName)
static Class typeNameToPrimitiveClass(String typeName)
[Expand]
Inherited Methods
From class org.xml.sax.HandlerBase
From class java.lang.Object
From interface org.xml.sax.DTDHandler
From interface org.xml.sax.DocumentHandler
From interface org.xml.sax.EntityResolver
From interface org.xml.sax.ErrorHandler

Public Constructors

public ObjectHandler ()

public ObjectHandler (XMLDecoder is)

public ObjectHandler (XMLDecoder is, ClassLoader loader)

Public Methods

public void characters (char[] buf, int offset, int len)

Throws
SAXException

public static Class classForName (String name)

This method is deprecated.
As of JDK version 7, replaced by resolveClass(String).

Returns the Class object associated with the class or interface with the given string name, using the default class loader.

Parameters
name fully qualified name of the desired class
Returns
  • class object representing the desired class
Throws
ClassNotFoundException if the class cannot be located by the specified class loader

public static Class classForName (String name, ClassLoader cl)

This method is deprecated.
As of JDK version 7, replaced by resolveClass(String, ClassLoader).

Returns the Class object associated with the class or interface with the given string name, using the given class loader.

Parameters
name fully qualified name of the desired class
cl class loader from which the class must be loaded
Returns
  • class object representing the desired class
Throws
ClassNotFoundException if the class cannot be located by the specified class loader

public Object dequeueResult ()

public void endElement (String name)

Throws
SAXException

public Object lookup (String s)

public void register (String id, Object value)

public void reset ()

public void startElement (String name, AttributeList attrs)

Throws
SAXException

public static Class typeNameToClass (String typeName)

public static Class typeNameToPrimitiveClass (String typeName)