| java.lang.Object org.exolab.castor.xml.schema.reader.ComponentReader org.exolab.castor.xml.schema.reader.SimpleContentRestrictionUnmarshaller
SimpleContentRestrictionUnmarshaller | public class SimpleContentRestrictionUnmarshaller extends ComponentReader (Code) | | A class for unmarshalling restriction elements of a simpleContent
author: Arnaud Blandin version: $Revision: 6231 $ $Date: 2006-04-14 04:14:43 -0600 (Fri, 14 Apr 2006) $ version: TODO: support the correct restriction for facets and attributes |
SimpleContentRestrictionUnmarshaller | public SimpleContentRestrictionUnmarshaller(ComplexType complexType, AttributeSet atts, Resolver resolver)(Code) | | Creates a new RestrictionUnmarshaller
Parameters: complexType - the complexType being unmarshalled Parameters: atts - the AttributeList |
characters | public void characters(char[] ch, int start, int length) throws XMLException(Code) | | |
elementName | public String elementName()(Code) | | Returns the name of the element that this ComponentReader
handles
the name of the element that this ComponentReaderhandles |
endElement | public void endElement(String name, String namespace) throws XMLException(Code) | | Signals to end of the element with the given name.
Parameters: name - the NCName of the element. It is an errorif the name is a QName (ie. contains a prefix). Parameters: namespace - the namespace of the element. |
finish | public void finish()(Code) | | Terminates the process of this restriction by
setting a proper base.
We set a new base if the base simple type has been restricted
by the use of facets since all other restrictions may concern the
complexType character of the type (i.e attribute for instance is
only related to a complexType...)
|
getObject | public Object getObject()(Code) | | Returns the Object created by this ComponentReader
the Object created by this ComponentReader |
startElement | public void startElement(String name, String namespace, AttributeSet atts, Namespaces nsDecls) throws XMLException(Code) | | Signals the start of an element with the given name.
Parameters: name - the NCName of the element. It is an errorif the name is a QName (ie. contains a prefix). Parameters: namespace - the namespace of the element. This may be null.Note: A null namespace is not the same as the default namespace unlessthe default namespace is also null. Parameters: atts - the AttributeSet containing the attributes associatedwith the element. Parameters: nsDecls - the namespace declarations being declared for thiselement. This may be null. |
Fields inherited from org.exolab.castor.xml.schema.reader.ComponentReader | protected Locator _locator(Code)(Java Doc)
|
|
|