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

java.lang.Object
  extended by org.exolab.castor.xml.schema.reader.ComponentReader
      extended by org.exolab.castor.xml.schema.reader.IncludeUnmarshaller

public class IncludeUnmarshaller
extends ComponentReader

A simple unmarshaller to read included schemas. Included schemas can be cached in the original parent Schema or can be inlined in that same XML Schema as recommended by the XML Schema specification.

Version:
$Revision: 1.4 $ $Date: 2004/09/21 14:09:05 $
Author:
Keith Visco, Arnaud Blandin

Field Summary
 
Fields inherited from class org.exolab.castor.xml.schema.reader.ComponentReader
_locator
 
Constructor Summary
IncludeUnmarshaller(Schema schema, AttributeSet atts, Resolver resolver, URIResolver uriResolver, org.xml.sax.Locator locator, SchemaUnmarshallerState state)
           
 
Method Summary
 java.lang.String elementName()
          Sets the name of the element that this UnknownUnmarshaller handles
 java.lang.Object getObject()
          Returns the Object created by this ComponentReader
 
Methods inherited from class org.exolab.castor.xml.schema.reader.ComponentReader
characters, endElement, error, error, finish, getDocumentLocator, getResolver, getURIResolver, illegalAttribute, illegalElement, isWhiteSpace, outOfOrder, redefinedElement, redefinedElement, setDocumentLocator, setResolver, setURIResolver, startElement, toInt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IncludeUnmarshaller

public IncludeUnmarshaller(Schema schema,
                           AttributeSet atts,
                           Resolver resolver,
                           URIResolver uriResolver,
                           org.xml.sax.Locator locator,
                           SchemaUnmarshallerState state)
                    throws XMLException
Throws:
XMLException
Method Detail

elementName

public java.lang.String elementName()
Sets the name of the element that this UnknownUnmarshaller handles

Specified by:
elementName in class ComponentReader
Parameters:
name - the name of the element that this unmarshaller handles
Returns:
the name of the element that this ComponentReader handles

getObject

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

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


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