org.exolab.castor.xml.schema.reader
public class SimpleContentRestrictionUnmarshaller extends ComponentReader
Version: $Revision: 6231 $ $Date: 2006-04-14 04:14:43 -0600 (Fri, 14 Apr 2006) $ TODO: support the correct restriction for facets and attributes
Constructor Summary | |
---|---|
SimpleContentRestrictionUnmarshaller(ComplexType complexType, AttributeSet atts, Resolver resolver)
Creates a new RestrictionUnmarshaller |
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.
|
void | finish()
Terminates the process of this restriction by
setting a proper base.
|
Object | getObject()
Returns the Object created by this ComponentReader |
void | startElement(String name, String namespace, AttributeSet atts, Namespaces nsDecls)
Signals the start of an element with the given name.
|
Parameters: complexType the complexType being unmarshalled atts the AttributeList
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.