Public Member Functions

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

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

List of all members.

Public Member Functions

 RedefineUnmarshaller (Schema schema, AttributeSet atts, Resolver resolver, URIResolver uriResolver, Locator locator, SchemaUnmarshallerState state) throws XMLException
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
String elementName ()
Object getObject ()

Detailed Description

The purpose of this class is to read redefined elements in an XML schema. The following xml schema structure can be redefined:

Author:
Arnaud Blandin
Version:
Revision:
1.1
Date:
2004/09/21 14:08:59

Constructor & Destructor Documentation


Member Function Documentation

void org.exolab.castor.xml.schema.reader.RedefineUnmarshaller.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.RedefineUnmarshaller.elementName (  )  [virtual]

Sets the name of the element that this UnknownUnmarshaller handles

Parameters:
name the name of the element that this unmarshaller handles

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

void org.exolab.castor.xml.schema.reader.RedefineUnmarshaller.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.Annotated.addAnnotation(), org.exolab.castor.xml.schema.RedefineSchema.addAttributeGroup(), org.exolab.castor.xml.schema.RedefineSchema.addComplexType(), org.exolab.castor.xml.schema.RedefineSchema.addGroup(), org.exolab.castor.xml.schema.Resolver.addResolvable(), org.exolab.castor.xml.schema.RedefineSchema.addSimpleType(), org.exolab.castor.xml.schema.reader.ComponentReader.elementName(), org.exolab.castor.xml.schema.reader.ComponentReader.endElement(), org.exolab.castor.xml.schema.reader.ComponentReader.error(), org.exolab.castor.xml.schema.reader.ComponentReader.finish(), org.exolab.castor.xml.schema.Schema.getAttributeGroup(), org.exolab.castor.xml.schema.XMLType.getBaseType(), org.exolab.castor.xml.schema.ComplexType.getBaseType(), org.exolab.castor.xml.schema.Schema.getComplexType(), org.exolab.castor.xml.schema.Schema.getModelGroup(), org.exolab.castor.xml.schema.ModelGroup.getName(), org.exolab.castor.xml.schema.XMLType.getName(), org.exolab.castor.xml.schema.reader.ComponentReader.getObject(), org.exolab.castor.xml.schema.SimpleType.getReferenceId(), org.exolab.castor.xml.schema.ComplexType.getReferenceId(), org.exolab.castor.xml.schema.reader.ComponentReader.getResolver(), org.exolab.castor.xml.schema.Schema.getSchemaLocation(), org.exolab.castor.xml.schema.RedefineSchema.getSchemaLocation(), org.exolab.castor.xml.schema.Schema.getSimpleType(), org.exolab.castor.xml.schema.Schema.getTargetNamespace(), org.exolab.castor.xml.schema.ModelGroup.setRedefined(), org.exolab.castor.xml.schema.SimpleType.setRedefined(), org.exolab.castor.xml.schema.ComplexType.setRedefined(), and org.exolab.castor.xml.schema.AttributeGroupDecl.setRedefined().

Object org.exolab.castor.xml.schema.reader.RedefineUnmarshaller.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.RedefineUnmarshaller.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.getResolver(), 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