Public Member Functions

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

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

List of all members.

Public Member Functions

 AnnotationUnmarshaller (AttributeSet atts) throws XMLException
String elementName ()
Annotation getAnnotation ()
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

Detailed Description

A class for Unmarshalling Annotations

Author:
Keith Visco
Version:
Revision:
1.1.1.1
Date:
2003/03/03 07:09:36

Constructor & Destructor Documentation

org.exolab.castor.xml.schema.reader.AnnotationUnmarshaller.AnnotationUnmarshaller ( AttributeSet  atts  )  throws XMLException

Creates a new AnnotationUnmarshaller

Parameters:
atts the AttributeList

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


Member Function Documentation

void org.exolab.castor.xml.schema.reader.AnnotationUnmarshaller.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.AnnotationUnmarshaller.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.AnnotationUnmarshaller.endElement ( String  name,
String  namespace 
) throws XMLException

Signals to end of the 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.

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

References org.exolab.castor.xml.schema.Annotation.addAppInfo(), org.exolab.castor.xml.schema.Annotation.addDocumentation(), org.exolab.castor.xml.schema.reader.ComponentReader.endElement(), org.exolab.castor.xml.schema.reader.ComponentReader.finish(), and org.exolab.castor.xml.schema.reader.ComponentReader.getObject().

Annotation org.exolab.castor.xml.schema.reader.AnnotationUnmarshaller.getAnnotation (  ) 
Object org.exolab.castor.xml.schema.reader.AnnotationUnmarshaller.getObject (  )  [virtual]
void org.exolab.castor.xml.schema.reader.AnnotationUnmarshaller.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.illegalElement(), 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