Public Member Functions | Package Functions

org.exolab.castor.xml.schema.reader.SimpleTypeListUnmarshaller Class Reference

Inheritance diagram for org.exolab.castor.xml.schema.reader.SimpleTypeListUnmarshaller:
org.exolab.castor.xml.schema.reader.ComponentReader

List of all members.

Public Member Functions

String elementName ()
void finish () throws XMLException
Object getObject ()
void startElement (String name, String namespace, AttributeSet atts, Namespaces nsDecls) throws XMLException
void endElement (String name, String namespace) throws XMLException
void characters (char[] ch, int start, int length) throws XMLException

Package Functions

 SimpleTypeListUnmarshaller (Schema schema, AttributeSet atts) throws XMLException

Detailed Description

A class for unmarshalling list elements of a simpleType. Thanks to Chetan Chudasama for his help.

Author:
Arnaud Blandin
Keith Visco
Version:
Revision:
1.1.1.1

Constructor & Destructor Documentation

org.exolab.castor.xml.schema.reader.SimpleTypeListUnmarshaller.SimpleTypeListUnmarshaller ( Schema  schema,
AttributeSet  atts 
) throws XMLException [package]

Creates a new ListUnmarshaller

Parameters:
simpleType,the SimpleType being unmarshalled
atts the AttributeList
resolver the resolver being used for reference resolving

References org.exolab.castor.xml.schema.Structure.getStructureType(), org.exolab.castor.xml.schema.Schema.getType(), org.exolab.castor.xml.schema.XMLType.setId(), and org.exolab.castor.xml.schema.simpletypes.ListType.setItemType().


Member Function Documentation

void org.exolab.castor.xml.schema.reader.SimpleTypeListUnmarshaller.characters ( char[]  chars,
int  start,
int  length 
) throws XMLException

Signals to recieve charactes

Parameters:
chars the character array containing the characters
start the starting index into the character array
length the number of characters to recieve

Reimplemented from org.exolab.castor.xml.schema.reader.ComponentReader.

References org.exolab.castor.xml.schema.reader.ComponentReader.characters().

String org.exolab.castor.xml.schema.reader.SimpleTypeListUnmarshaller.elementName (  )  [virtual]

Returns the name of the element that this ComponentReader handles

Returns:
the name of the element that this ComponentReader handles

Implements org.exolab.castor.xml.schema.reader.ComponentReader.

void org.exolab.castor.xml.schema.reader.SimpleTypeListUnmarshaller.endElement ( String  name,
String  namespace 
) throws XMLException
void org.exolab.castor.xml.schema.reader.SimpleTypeListUnmarshaller.finish (  )  throws XMLException

Called to signal an end of unmarshalling. This method should be overridden to perform any necessary clean up by an unmarshaller

Reimplemented from org.exolab.castor.xml.schema.reader.ComponentReader.

References org.exolab.castor.xml.schema.reader.ComponentReader.error().

Object org.exolab.castor.xml.schema.reader.SimpleTypeListUnmarshaller.getObject (  )  [virtual]

Returns the Object created by this ComponentReader

Returns:
the Object created by this ComponentReader

Implements org.exolab.castor.xml.schema.reader.ComponentReader.

void org.exolab.castor.xml.schema.reader.SimpleTypeListUnmarshaller.startElement ( String  name,
String  namespace,
AttributeSet  atts,
Namespaces  nsDecls 
) throws XMLException

Signals the start of an element with the given name.

Parameters:
name the NCName of the element. It is an error if the name is a QName (ie. contains a prefix).
namespace the namespace of the element. This may be null. Note: A null namespace is not the same as the default namespace unless the default namespace is also null.
atts the AttributeSet containing the attributes associated with the element.
nsDecls the namespace declarations being declared for this element. This may be null.

Reimplemented from org.exolab.castor.xml.schema.reader.ComponentReader.

References org.exolab.castor.xml.schema.reader.ComponentReader.error(), org.exolab.castor.xml.schema.reader.ComponentReader.getDocumentLocator(), org.exolab.castor.xml.schema.reader.ComponentReader.illegalElement(), org.exolab.castor.xml.schema.reader.ComponentReader.setDocumentLocator(), and org.exolab.castor.xml.schema.reader.ComponentReader.startElement().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties