org.exolab.castor.xml.schema.reader
public class SchemaUnmarshaller extends ComponentReader
Version: $Revision: 5951 $ $Date: 2006-04-13 06:47:36 -0600 (Thu, 13 Apr 2006) $
Nested Class Summary | |
---|---|
static class | SchemaUnmarshaller.RemappedPrefixes
This class handles remapping of namespace prefixes
for attributes of type QName. |
Field Summary | |
---|---|
boolean | skipAll |
static String[] | UNSUPPORTED_NAMESPACES |
static String | XSD_NAMESPACE |
Resolver | _resolver
The ID Resolver
|
Schema | _schema |
Constructor Summary | |
---|---|
SchemaUnmarshaller() | |
SchemaUnmarshaller(SchemaUnmarshallerState state) | |
SchemaUnmarshaller(boolean include, SchemaUnmarshallerState state, URIResolver uriResolver) | |
SchemaUnmarshaller(AttributeSet atts, Resolver resolver) | |
SchemaUnmarshaller(AttributeSet atts, Resolver resolver, URIResolver uriResolver) |
Method Summary | |
---|---|
void | characters(char[] ch, int start, int length) |
String | elementName()
Returns the name of the element that this ComponentReader
handles |
void | endElement(String name, String namespace)
Signals to end of the element with the given name.
|
Object | getObject()
Returns the Object created by this ComponentReader |
Schema | getSchema() |
void | setResolver(Resolver resolver) |
void | setSchema(Schema schema) |
void | startElement(String name, String namespace, AttributeSet atts, Namespaces nsDecls)
Signals the start of an element with the given name.
|
Returns: the name of the element that this ComponentReader handles
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.
Returns: the Object created by this ComponentReader
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.