org.exolab.castor.xml.schema.reader
Class WildcardUnmarshaller

java.lang.Object
  extended byorg.exolab.castor.xml.schema.reader.SaxUnmarshaller
      extended byorg.exolab.castor.xml.schema.reader.WildcardUnmarshaller
All Implemented Interfaces:
org.xml.sax.DocumentHandler, org.xml.sax.ErrorHandler

public class WildcardUnmarshaller
extends SaxUnmarshaller

A class for Unmarshalling WildCard

Version:
$Revision: 1.3 $ $Date: 2002/01/03 14:20:50 $
Author:
Arnaud Blandin

Field Summary
 
Fields inherited from class org.exolab.castor.xml.schema.reader.SaxUnmarshaller
_locator
 
Constructor Summary
WildcardUnmarshaller(ComplexType complexType, Schema schema, java.lang.String element, org.xml.sax.AttributeList atts, Resolver resolver)
           
WildcardUnmarshaller(Group group, Schema schema, java.lang.String element, org.xml.sax.AttributeList atts, Resolver resolver)
           
 
Method Summary
 void characters(char[] ch, int start, int length)
           
 java.lang.String elementName()
          Returns the name of the element that this SaxUnmarshaller handles
 void endElement(java.lang.String name)
           
 java.lang.Object getObject()
          Returns the Object created by this SaxUnmarshaller
 Wildcard getWildcard()
          Returns the Wildcard unmarshalled by this Unmarshaller.
 void init(Schema schema, java.lang.String element, org.xml.sax.AttributeList atts, Resolver resolver)
          Creates a new WildcardUnmarshaller
 void startElement(java.lang.String name, org.xml.sax.AttributeList atts)
           
 
Methods inherited from class org.exolab.castor.xml.schema.reader.SaxUnmarshaller
endDocument, error, error, fatalError, finish, getDocumentLocator, getResolver, ignorableWhitespace, illegalAttribute, illegalElement, isWhiteSpace, outOfOrder, processingInstruction, redefinedElement, redefinedElement, setDocumentLocator, setResolver, startDocument, toInt, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WildcardUnmarshaller

public WildcardUnmarshaller(ComplexType complexType,
                            Schema schema,
                            java.lang.String element,
                            org.xml.sax.AttributeList atts,
                            Resolver resolver)

WildcardUnmarshaller

public WildcardUnmarshaller(Group group,
                            Schema schema,
                            java.lang.String element,
                            org.xml.sax.AttributeList atts,
                            Resolver resolver)
Method Detail

init

public void init(Schema schema,
                 java.lang.String element,
                 org.xml.sax.AttributeList atts,
                 Resolver resolver)
Creates a new WildcardUnmarshaller

Parameters:
schema - the Schema to which the Wildcard belongs
element - the name of the element
atts - the AttributeList
resolver - the resolver being used for reference resolving

elementName

public java.lang.String elementName()
Returns the name of the element that this SaxUnmarshaller handles

Specified by:
elementName in class SaxUnmarshaller
Returns:
the name of the element that this SaxUnmarshaller handles

getWildcard

public Wildcard getWildcard()
Returns the Wildcard unmarshalled by this Unmarshaller.

Returns:
the unmarshalled Wildcard

getObject

public java.lang.Object getObject()
Returns the Object created by this SaxUnmarshaller

Specified by:
getObject in class SaxUnmarshaller
Returns:
the Object created by this SaxUnmarshaller

startElement

public void startElement(java.lang.String name,
                         org.xml.sax.AttributeList atts)
                  throws org.xml.sax.SAXException
Specified by:
startElement in interface org.xml.sax.DocumentHandler
Overrides:
startElement in class SaxUnmarshaller
Parameters:
name -
atts -
Throws:
org.xml.sax.SAXException
See Also:
DocumentHandler

endElement

public void endElement(java.lang.String name)
                throws org.xml.sax.SAXException
Specified by:
endElement in interface org.xml.sax.DocumentHandler
Overrides:
endElement in class SaxUnmarshaller
Parameters:
name -
Throws:
org.xml.sax.SAXException

characters

public void characters(char[] ch,
                       int start,
                       int length)
                throws org.xml.sax.SAXException
Specified by:
characters in interface org.xml.sax.DocumentHandler
Overrides:
characters in class SaxUnmarshaller
Throws:
org.xml.sax.SAXException


Intalio Inc. (C) 1999-2001. All rights reserved http://www.intalio.com