Public Member Functions | |
| GroupUnmarshaller (Schema schema, String element, AttributeSet atts, Resolver resolver) | |
| String | elementName () |
| Group | getGroup () |
| Object | getObject () |
| void | startElement (String name, String namespace, AttributeSet atts, Namespaces nsDecls) throws XMLException |
| void | endElement (String name, String namespace) throws XMLException |
| void | characters (char[] ch, int start, int length) throws XMLException |
A class for Unmarshalling ModelGroups
| org.exolab.castor.xml.schema.reader.GroupUnmarshaller.GroupUnmarshaller | ( | Schema | schema, | |
| String | element, | |||
| AttributeSet | atts, | |||
| Resolver | resolver | |||
| ) |
Creates a new GroupUnmarshaller
| schema | the Schema to which the Group belongs | |
| the | element name for this type of group | |
| atts | the AttributeList | |
| resolver | the resolver being used for reference resolving |
References org.exolab.castor.xml.schema.Order.all, org.exolab.castor.xml.schema.Particle.getMaxOccurs(), org.exolab.castor.xml.schema.Particle.getMinOccurs(), org.exolab.castor.xml.schema.Group.getOrder(), org.exolab.castor.xml.AttributeSet.getValue(), org.exolab.castor.xml.schema.Group.setId(), org.exolab.castor.xml.schema.Particle.setMaxOccurs(), org.exolab.castor.xml.schema.Particle.setMinOccurs(), org.exolab.castor.xml.schema.Group.setName(), org.exolab.castor.xml.schema.Group.setOrder(), org.exolab.castor.xml.schema.reader.ComponentReader.setResolver(), and org.exolab.castor.xml.schema.reader.ComponentReader.toInt().
Referenced by org.exolab.castor.xml.schema.reader.GroupUnmarshaller.startElement().
| void org.exolab.castor.xml.schema.reader.GroupUnmarshaller.characters | ( | char[] | chars, | |
| int | start, | |||
| int | length | |||
| ) | throws XMLException |
Signals to recieve charactes
| chars | the character array containing the characters | |
| start | the starting index into the character array | |
| length | the number of characters to recieve |
Reimplemented from org.exolab.castor.xml.schema.reader.ComponentReader.
References org.exolab.castor.xml.schema.reader.ComponentReader.characters().
| String org.exolab.castor.xml.schema.reader.GroupUnmarshaller.elementName | ( | ) | [virtual] |
Returns the name of the element that this ComponentReader handles
Implements org.exolab.castor.xml.schema.reader.ComponentReader.
| void org.exolab.castor.xml.schema.reader.GroupUnmarshaller.endElement | ( | String | name, | |
| String | namespace | |||
| ) | throws XMLException |
Signals to end of the element with the given name.
| 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. |
Reimplemented from org.exolab.castor.xml.schema.reader.ComponentReader.
References org.exolab.castor.xml.schema.Annotated.addAnnotation(), org.exolab.castor.xml.schema.Group.addElementDecl(), org.exolab.castor.xml.schema.Group.addGroup(), org.exolab.castor.xml.schema.Group.addWildcard(), org.exolab.castor.xml.schema.reader.ComponentReader.elementName(), org.exolab.castor.xml.schema.reader.ComponentReader.endElement(), org.exolab.castor.xml.schema.reader.ComponentReader.finish(), org.exolab.castor.core.exceptions.CastorException.getMessage(), and org.exolab.castor.xml.schema.reader.ComponentReader.getObject().
| Group org.exolab.castor.xml.schema.reader.GroupUnmarshaller.getGroup | ( | ) |
Returns the Group that was unmarshalled by this Unmarshaller. This method should only be called after unmarshalling has been completed.
Referenced by org.exolab.castor.xml.schema.reader.GroupUnmarshaller.getObject().
| Object org.exolab.castor.xml.schema.reader.GroupUnmarshaller.getObject | ( | ) | [virtual] |
Returns the Object created by this ComponentReader
Implements org.exolab.castor.xml.schema.reader.ComponentReader.
References org.exolab.castor.xml.schema.reader.GroupUnmarshaller.getGroup().
| void org.exolab.castor.xml.schema.reader.GroupUnmarshaller.startElement | ( | String | name, | |
| String | namespace, | |||
| AttributeSet | atts, | |||
| Namespaces | nsDecls | |||
| ) | throws XMLException |
Signals the start of an element with the given name.
| 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. |
Reimplemented from org.exolab.castor.xml.schema.reader.ComponentReader.
References org.exolab.castor.xml.schema.reader.ComponentReader.error(), org.exolab.castor.xml.schema.reader.ComponentReader.getDocumentLocator(), org.exolab.castor.xml.schema.reader.ComponentReader.getResolver(), org.exolab.castor.xml.schema.reader.GroupUnmarshaller.GroupUnmarshaller(), org.exolab.castor.xml.schema.reader.ComponentReader.setDocumentLocator(), and org.exolab.castor.xml.schema.reader.ComponentReader.startElement().
1.7.0