Public Member Functions | |
ComponentReader () | |
abstract String | elementName () |
abstract Object | getObject () |
void | finish () throws XMLException |
Locator | getDocumentLocator () |
Resolver | getResolver () |
URIResolver | getURIResolver () |
void | setResolver (Resolver resolver) |
void | setURIResolver (URIResolver uriResolver) |
void | error (String err) throws XMLException |
void | error (Exception ex) throws XMLException |
void | illegalAttribute (String attName) throws XMLException |
void | illegalElement (String name) throws XMLException |
void | redefinedElement (String name) throws XMLException |
void | redefinedElement (String name, String xtraInfo) throws XMLException |
void | outOfOrder (String name) throws XMLException |
void | setDocumentLocator (Locator locator) |
void | characters (char[] chars, int start, int length) throws XMLException |
void | endElement (String name, String namespace) throws XMLException |
void | startElement (String name, String namespace, AttributeSet atts, Namespaces nsDecls) throws XMLException |
Static Public Member Functions | |
static boolean | isWhiteSpace (char[] chars, int start, int length) |
static int | toInt (String str) throws IllegalArgumentException |
Protected Attributes | |
Locator | _locator = null |
The base class for separate component unmarshallers for reading an XML Schema component.
org.exolab.castor.xml.schema.reader.ComponentReader.ComponentReader | ( | ) |
void org.exolab.castor.xml.schema.reader.ComponentReader.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 in org.exolab.castor.xml.schema.reader.AnnotationUnmarshaller, org.exolab.castor.xml.schema.reader.AppInfoUnmarshaller, org.exolab.castor.xml.schema.reader.AttributeGroupUnmarshaller, org.exolab.castor.xml.schema.reader.AttributeUnmarshaller, org.exolab.castor.xml.schema.reader.CharacterUnmarshaller, org.exolab.castor.xml.schema.reader.ComplexContentRestrictionUnmarshaller, org.exolab.castor.xml.schema.reader.ComplexContentUnmarshaller, org.exolab.castor.xml.schema.reader.ComplexTypeUnmarshaller, org.exolab.castor.xml.schema.reader.DocumentationUnmarshaller, org.exolab.castor.xml.schema.reader.ElementUnmarshaller, org.exolab.castor.xml.schema.reader.ExtensionUnmarshaller, org.exolab.castor.xml.schema.reader.FacetUnmarshaller, org.exolab.castor.xml.schema.reader.FieldOrSelectorUnmarshaller, org.exolab.castor.xml.schema.reader.GroupUnmarshaller, org.exolab.castor.xml.schema.reader.IdentityConstraintUnmarshaller, org.exolab.castor.xml.schema.reader.ModelGroupUnmarshaller, org.exolab.castor.xml.schema.reader.RedefineUnmarshaller, org.exolab.castor.xml.schema.reader.SchemaUnmarshaller, org.exolab.castor.xml.schema.reader.SimpleContentRestrictionUnmarshaller, org.exolab.castor.xml.schema.reader.SimpleContentUnmarshaller, org.exolab.castor.xml.schema.reader.SimpleTypeListUnmarshaller, org.exolab.castor.xml.schema.reader.SimpleTypeRestrictionUnmarshaller, org.exolab.castor.xml.schema.reader.SimpleTypeUnmarshaller, org.exolab.castor.xml.schema.reader.UnionUnmarshaller, org.exolab.castor.xml.schema.reader.UnknownUnmarshaller, and org.exolab.castor.xml.schema.reader.WildcardUnmarshaller.
Referenced by org.exolab.castor.xml.schema.reader.WildcardUnmarshaller.characters(), org.exolab.castor.xml.schema.reader.UnionUnmarshaller.characters(), org.exolab.castor.xml.schema.reader.SimpleTypeUnmarshaller.characters(), org.exolab.castor.xml.schema.reader.SimpleTypeRestrictionUnmarshaller.characters(), org.exolab.castor.xml.schema.reader.SimpleTypeListUnmarshaller.characters(), org.exolab.castor.xml.schema.reader.SimpleContentUnmarshaller.characters(), org.exolab.castor.xml.schema.reader.SimpleContentRestrictionUnmarshaller.characters(), org.exolab.castor.xml.schema.reader.SchemaUnmarshaller.characters(), org.exolab.castor.xml.schema.reader.Sax2ComponentReader.characters(), org.exolab.castor.xml.schema.reader.RedefineUnmarshaller.characters(), org.exolab.castor.xml.schema.reader.ModelGroupUnmarshaller.characters(), org.exolab.castor.xml.schema.reader.IdentityConstraintUnmarshaller.characters(), org.exolab.castor.xml.schema.reader.GroupUnmarshaller.characters(), org.exolab.castor.xml.schema.reader.FieldOrSelectorUnmarshaller.characters(), org.exolab.castor.xml.schema.reader.FacetUnmarshaller.characters(), org.exolab.castor.xml.schema.reader.ExtensionUnmarshaller.characters(), org.exolab.castor.xml.schema.reader.ElementUnmarshaller.characters(), org.exolab.castor.xml.schema.reader.ComplexTypeUnmarshaller.characters(), org.exolab.castor.xml.schema.reader.ComplexContentUnmarshaller.characters(), org.exolab.castor.xml.schema.reader.ComplexContentRestrictionUnmarshaller.characters(), org.exolab.castor.xml.schema.reader.AttributeUnmarshaller.characters(), org.exolab.castor.xml.schema.reader.AttributeGroupUnmarshaller.characters(), and org.exolab.castor.xml.schema.reader.AnnotationUnmarshaller.characters().
abstract String org.exolab.castor.xml.schema.reader.ComponentReader.elementName | ( | ) | [pure virtual] |
Returns the name of the element that this ComponentReader handles
Implemented in org.exolab.castor.xml.schema.reader.AnnotationUnmarshaller, org.exolab.castor.xml.schema.reader.AppInfoUnmarshaller, org.exolab.castor.xml.schema.reader.AttributeGroupUnmarshaller, org.exolab.castor.xml.schema.reader.AttributeUnmarshaller, org.exolab.castor.xml.schema.reader.CharacterUnmarshaller, org.exolab.castor.xml.schema.reader.ComplexContentRestrictionUnmarshaller, org.exolab.castor.xml.schema.reader.ComplexContentUnmarshaller, org.exolab.castor.xml.schema.reader.ComplexTypeUnmarshaller, org.exolab.castor.xml.schema.reader.DocumentationUnmarshaller, org.exolab.castor.xml.schema.reader.ElementUnmarshaller, org.exolab.castor.xml.schema.reader.ExtensionUnmarshaller, org.exolab.castor.xml.schema.reader.FacetUnmarshaller, org.exolab.castor.xml.schema.reader.FieldOrSelectorUnmarshaller, org.exolab.castor.xml.schema.reader.GroupUnmarshaller, org.exolab.castor.xml.schema.reader.IdentityConstraintUnmarshaller, org.exolab.castor.xml.schema.reader.ImportUnmarshaller, org.exolab.castor.xml.schema.reader.IncludeUnmarshaller, org.exolab.castor.xml.schema.reader.ModelGroupUnmarshaller, org.exolab.castor.xml.schema.reader.RedefineUnmarshaller, org.exolab.castor.xml.schema.reader.SchemaUnmarshaller, org.exolab.castor.xml.schema.reader.SimpleContentRestrictionUnmarshaller, org.exolab.castor.xml.schema.reader.SimpleContentUnmarshaller, org.exolab.castor.xml.schema.reader.SimpleTypeListUnmarshaller, org.exolab.castor.xml.schema.reader.SimpleTypeRestrictionUnmarshaller, org.exolab.castor.xml.schema.reader.SimpleTypeUnmarshaller, org.exolab.castor.xml.schema.reader.UnionUnmarshaller, org.exolab.castor.xml.schema.reader.UnknownUnmarshaller, and org.exolab.castor.xml.schema.reader.WildcardUnmarshaller.
Referenced by org.exolab.castor.xml.schema.reader.WildcardUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.SchemaUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.RedefineUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.ModelGroupUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.GroupUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.ElementUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.ComponentReader.illegalAttribute(), org.exolab.castor.xml.schema.reader.ComponentReader.illegalElement(), org.exolab.castor.xml.schema.reader.ComponentReader.outOfOrder(), and org.exolab.castor.xml.schema.reader.ComponentReader.redefinedElement().
void org.exolab.castor.xml.schema.reader.ComponentReader.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 in org.exolab.castor.xml.schema.reader.AnnotationUnmarshaller, org.exolab.castor.xml.schema.reader.AppInfoUnmarshaller, org.exolab.castor.xml.schema.reader.AttributeGroupUnmarshaller, org.exolab.castor.xml.schema.reader.AttributeUnmarshaller, org.exolab.castor.xml.schema.reader.ComplexContentRestrictionUnmarshaller, org.exolab.castor.xml.schema.reader.ComplexContentUnmarshaller, org.exolab.castor.xml.schema.reader.ComplexTypeUnmarshaller, org.exolab.castor.xml.schema.reader.DocumentationUnmarshaller, org.exolab.castor.xml.schema.reader.ElementUnmarshaller, org.exolab.castor.xml.schema.reader.ExtensionUnmarshaller, org.exolab.castor.xml.schema.reader.FacetUnmarshaller, org.exolab.castor.xml.schema.reader.FieldOrSelectorUnmarshaller, org.exolab.castor.xml.schema.reader.GroupUnmarshaller, org.exolab.castor.xml.schema.reader.IdentityConstraintUnmarshaller, org.exolab.castor.xml.schema.reader.ModelGroupUnmarshaller, org.exolab.castor.xml.schema.reader.RedefineUnmarshaller, org.exolab.castor.xml.schema.reader.SchemaUnmarshaller, org.exolab.castor.xml.schema.reader.SimpleContentRestrictionUnmarshaller, org.exolab.castor.xml.schema.reader.SimpleContentUnmarshaller, org.exolab.castor.xml.schema.reader.SimpleTypeListUnmarshaller, org.exolab.castor.xml.schema.reader.SimpleTypeRestrictionUnmarshaller, org.exolab.castor.xml.schema.reader.SimpleTypeUnmarshaller, org.exolab.castor.xml.schema.reader.UnionUnmarshaller, org.exolab.castor.xml.schema.reader.UnknownUnmarshaller, and org.exolab.castor.xml.schema.reader.WildcardUnmarshaller.
Referenced by org.exolab.castor.xml.schema.reader.WildcardUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.UnionUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.SimpleTypeUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.SimpleTypeRestrictionUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.SimpleTypeListUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.SimpleContentUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.SimpleContentRestrictionUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.SchemaUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.Sax2ComponentReader.endElement(), org.exolab.castor.xml.schema.reader.RedefineUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.ModelGroupUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.IdentityConstraintUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.GroupUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.FieldOrSelectorUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.FacetUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.ExtensionUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.ElementUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.ComplexTypeUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.ComplexContentUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.ComplexContentRestrictionUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.AttributeUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.AttributeGroupUnmarshaller.endElement(), and org.exolab.castor.xml.schema.reader.AnnotationUnmarshaller.endElement().
void org.exolab.castor.xml.schema.reader.ComponentReader.error | ( | String | err | ) | throws XMLException |
This method is called for a general error.
err | the error message to report |
org.xml.sax.SAXException | always thrown. |
References org.exolab.castor.xml.schema.reader.ComponentReader._locator.
Referenced by org.exolab.castor.xml.schema.reader.ElementUnmarshaller.ElementUnmarshaller(), org.exolab.castor.xml.schema.reader.UnionUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.SchemaUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.RedefineUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.AttributeGroupUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.ExtensionUnmarshaller.ExtensionUnmarshaller(), org.exolab.castor.xml.schema.reader.FieldOrSelectorUnmarshaller.FieldOrSelectorUnmarshaller(), org.exolab.castor.xml.schema.reader.SimpleTypeUnmarshaller.finish(), org.exolab.castor.xml.schema.reader.SimpleTypeListUnmarshaller.finish(), org.exolab.castor.xml.schema.reader.IdentityConstraintUnmarshaller.finish(), org.exolab.castor.xml.schema.reader.IdentityConstraintUnmarshaller.IdentityConstraintUnmarshaller(), org.exolab.castor.xml.schema.reader.RedefineUnmarshaller.RedefineUnmarshaller(), org.exolab.castor.xml.schema.reader.UnionUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.SimpleTypeUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.SimpleTypeRestrictionUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.SimpleTypeListUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.SimpleContentUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.SimpleContentRestrictionUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.SchemaUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.RedefineUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.ModelGroupUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.IdentityConstraintUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.GroupUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.FieldOrSelectorUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.ExtensionUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.ElementUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.ComplexTypeUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.ComplexContentUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.ComplexContentRestrictionUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.AttributeUnmarshaller.startElement(), and org.exolab.castor.xml.schema.reader.AttributeGroupUnmarshaller.startElement().
void org.exolab.castor.xml.schema.reader.ComponentReader.error | ( | Exception | ex | ) | throws XMLException |
This method is called for a general error.
ex | the Exception that caused the error. |
org.xml.sax.SAXException | always thrown. |
References org.exolab.castor.xml.schema.reader.ComponentReader._locator.
void org.exolab.castor.xml.schema.reader.ComponentReader.finish | ( | ) | throws XMLException |
Called to signal an end of unmarshalling. This method should be overridden to perform any necessary clean up by an unmarshaller
Reimplemented in org.exolab.castor.xml.schema.reader.AppInfoUnmarshaller, org.exolab.castor.xml.schema.reader.DocumentationUnmarshaller, org.exolab.castor.xml.schema.reader.FieldOrSelectorUnmarshaller, org.exolab.castor.xml.schema.reader.IdentityConstraintUnmarshaller, org.exolab.castor.xml.schema.reader.SimpleContentRestrictionUnmarshaller, org.exolab.castor.xml.schema.reader.SimpleTypeListUnmarshaller, org.exolab.castor.xml.schema.reader.SimpleTypeUnmarshaller, and org.exolab.castor.xml.schema.reader.UnionUnmarshaller.
Referenced by org.exolab.castor.xml.schema.reader.WildcardUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.UnionUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.SimpleTypeUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.SimpleTypeRestrictionUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.SimpleTypeListUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.SimpleContentUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.SimpleContentRestrictionUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.SchemaUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.RedefineUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.ModelGroupUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.IdentityConstraintUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.GroupUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.FieldOrSelectorUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.ExtensionUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.ElementUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.ComplexTypeUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.ComplexContentUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.ComplexContentRestrictionUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.AttributeUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.AttributeGroupUnmarshaller.endElement(), and org.exolab.castor.xml.schema.reader.AnnotationUnmarshaller.endElement().
Locator org.exolab.castor.xml.schema.reader.ComponentReader.getDocumentLocator | ( | ) |
References org.exolab.castor.xml.schema.reader.ComponentReader._locator.
Referenced by org.exolab.castor.xml.schema.reader.SimpleTypeRestrictionUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.SimpleTypeListUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.SimpleContentUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.SimpleContentRestrictionUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.SchemaUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.RedefineUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.GroupUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.ExtensionUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.ElementUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.ComplexTypeUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.ComplexContentUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.ComplexContentRestrictionUnmarshaller.startElement(), and org.exolab.castor.xml.schema.reader.AttributeGroupUnmarshaller.startElement().
abstract Object org.exolab.castor.xml.schema.reader.ComponentReader.getObject | ( | ) | [pure virtual] |
Returns the Object created by this Unmarshaller
Implemented in org.exolab.castor.xml.schema.reader.AnnotationUnmarshaller, org.exolab.castor.xml.schema.reader.AppInfoUnmarshaller, org.exolab.castor.xml.schema.reader.AttributeGroupUnmarshaller, org.exolab.castor.xml.schema.reader.AttributeUnmarshaller, org.exolab.castor.xml.schema.reader.CharacterUnmarshaller, org.exolab.castor.xml.schema.reader.ComplexContentRestrictionUnmarshaller, org.exolab.castor.xml.schema.reader.ComplexContentUnmarshaller, org.exolab.castor.xml.schema.reader.ComplexTypeUnmarshaller, org.exolab.castor.xml.schema.reader.DocumentationUnmarshaller, org.exolab.castor.xml.schema.reader.ElementUnmarshaller, org.exolab.castor.xml.schema.reader.ExtensionUnmarshaller, org.exolab.castor.xml.schema.reader.FacetUnmarshaller, org.exolab.castor.xml.schema.reader.FieldOrSelectorUnmarshaller, org.exolab.castor.xml.schema.reader.GroupUnmarshaller, org.exolab.castor.xml.schema.reader.IdentityConstraintUnmarshaller, org.exolab.castor.xml.schema.reader.ImportUnmarshaller, org.exolab.castor.xml.schema.reader.IncludeUnmarshaller, org.exolab.castor.xml.schema.reader.ModelGroupUnmarshaller, org.exolab.castor.xml.schema.reader.RedefineUnmarshaller, org.exolab.castor.xml.schema.reader.SchemaUnmarshaller, org.exolab.castor.xml.schema.reader.SimpleContentRestrictionUnmarshaller, org.exolab.castor.xml.schema.reader.SimpleContentUnmarshaller, org.exolab.castor.xml.schema.reader.SimpleTypeListUnmarshaller, org.exolab.castor.xml.schema.reader.SimpleTypeRestrictionUnmarshaller, org.exolab.castor.xml.schema.reader.SimpleTypeUnmarshaller, org.exolab.castor.xml.schema.reader.UnionUnmarshaller, org.exolab.castor.xml.schema.reader.UnknownUnmarshaller, and org.exolab.castor.xml.schema.reader.WildcardUnmarshaller.
Referenced by org.exolab.castor.xml.schema.reader.WildcardUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.UnionUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.SimpleTypeUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.SimpleTypeRestrictionUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.SimpleTypeListUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.SimpleContentRestrictionUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.SchemaUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.RedefineUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.ModelGroupUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.IdentityConstraintUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.GroupUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.FieldOrSelectorUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.FacetUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.ExtensionUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.ElementUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.ComplexTypeUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.ComplexContentRestrictionUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.AttributeUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.AttributeGroupUnmarshaller.endElement(), and org.exolab.castor.xml.schema.reader.AnnotationUnmarshaller.endElement().
Resolver org.exolab.castor.xml.schema.reader.ComponentReader.getResolver | ( | ) |
Returns the resolver used for resolving id references.
Referenced by org.exolab.castor.xml.schema.reader.RedefineUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.SimpleContentUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.SimpleContentRestrictionUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.SchemaUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.RedefineUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.ModelGroupUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.GroupUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.ExtensionUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.ElementUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.ComplexTypeUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.ComplexContentUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.ComplexContentRestrictionUnmarshaller.startElement(), and org.exolab.castor.xml.schema.reader.AttributeGroupUnmarshaller.startElement().
URIResolver org.exolab.castor.xml.schema.reader.ComponentReader.getURIResolver | ( | ) |
Returns the URIresolver used for resolving hrefs.
Referenced by org.exolab.castor.xml.schema.reader.ImportUnmarshaller.ImportUnmarshaller(), org.exolab.castor.xml.schema.reader.IncludeUnmarshaller.IncludeUnmarshaller(), org.exolab.castor.xml.schema.reader.SchemaReader.read(), org.exolab.castor.xml.schema.reader.RedefineUnmarshaller.RedefineUnmarshaller(), and org.exolab.castor.xml.schema.reader.SchemaUnmarshaller.startElement().
void org.exolab.castor.xml.schema.reader.ComponentReader.illegalAttribute | ( | String | attName | ) | throws XMLException |
This method is called when an illegal Attribute is encountered.
attName | the name of the illegal attribute. |
org.xml.sax.SAXException | always thrown. |
References org.exolab.castor.xml.schema.reader.ComponentReader._locator, and org.exolab.castor.xml.schema.reader.ComponentReader.elementName().
Referenced by org.exolab.castor.xml.schema.reader.AnnotationUnmarshaller.AnnotationUnmarshaller().
void org.exolab.castor.xml.schema.reader.ComponentReader.illegalElement | ( | String | name | ) | throws XMLException |
This method is called when an illegal Element is encountered.
name | the name of the illegal element |
org.xml.sax.SAXException | always thrown. |
References org.exolab.castor.xml.schema.reader.ComponentReader._locator, and org.exolab.castor.xml.schema.reader.ComponentReader.elementName().
Referenced by org.exolab.castor.xml.schema.reader.UnionUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.SimpleTypeUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.SimpleTypeRestrictionUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.SimpleTypeListUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.SimpleContentUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.SimpleContentRestrictionUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.SchemaUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.IdentityConstraintUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.FieldOrSelectorUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.FacetUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.ExtensionUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.ElementUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.ComplexTypeUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.ComplexContentUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.ComplexContentRestrictionUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.AttributeUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.AttributeGroupUnmarshaller.startElement(), and org.exolab.castor.xml.schema.reader.AnnotationUnmarshaller.startElement().
static boolean org.exolab.castor.xml.schema.reader.ComponentReader.isWhiteSpace | ( | char[] | chars, | |
int | start, | |||
int | length | |||
) | [static] |
Determines if the given sequence of characters consists of whitespace characters
chars | an array of characters to check for whitespace | |
start | the start index into the character array | |
length | the number of characters to check |
void org.exolab.castor.xml.schema.reader.ComponentReader.outOfOrder | ( | String | name | ) | throws XMLException |
This method is called when an out of order element is encountered
org.xml.sax.SAXException | always thrown. |
References org.exolab.castor.xml.schema.reader.ComponentReader.elementName().
Referenced by org.exolab.castor.xml.schema.reader.AttributeGroupUnmarshaller.startElement().
void org.exolab.castor.xml.schema.reader.ComponentReader.redefinedElement | ( | String | name, | |
String | xtraInfo | |||
) | throws XMLException |
This method is called when an element which may only be defined once, is redefined.
name | the name of the element |
org.xml.sax.SAXException | always thrown. |
References org.exolab.castor.xml.schema.reader.ComponentReader._locator, and org.exolab.castor.xml.schema.reader.ComponentReader.elementName().
void org.exolab.castor.xml.schema.reader.ComponentReader.redefinedElement | ( | String | name | ) | throws XMLException |
This method is called when an element which may only be defined once, is redefined.
name | the name of the element |
org.xml.sax.SAXException | always thrown. |
void org.exolab.castor.xml.schema.reader.ComponentReader.setDocumentLocator | ( | Locator | locator | ) |
References org.exolab.castor.xml.schema.reader.ComponentReader._locator.
Referenced by org.exolab.castor.xml.schema.reader.Sax2ComponentReader.setDocumentLocator(), org.exolab.castor.xml.schema.reader.SimpleTypeRestrictionUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.SimpleTypeListUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.SimpleContentUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.SimpleContentRestrictionUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.SchemaUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.RedefineUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.GroupUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.ExtensionUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.ElementUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.ComplexTypeUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.ComplexContentUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.ComplexContentRestrictionUnmarshaller.startElement(), and org.exolab.castor.xml.schema.reader.AttributeGroupUnmarshaller.startElement().
void org.exolab.castor.xml.schema.reader.ComponentReader.setResolver | ( | Resolver | resolver | ) |
Sets the Resolver to be used for resolving id references
resolver | the Resolver to be used for resolving id references |
Reimplemented in org.exolab.castor.xml.schema.reader.SchemaUnmarshaller.
Referenced by org.exolab.castor.xml.schema.reader.AttributeUnmarshaller.AttributeUnmarshaller(), org.exolab.castor.xml.schema.reader.ComplexContentRestrictionUnmarshaller.ComplexContentRestrictionUnmarshaller(), org.exolab.castor.xml.schema.reader.ComplexTypeUnmarshaller.ComplexTypeUnmarshaller(), org.exolab.castor.xml.schema.reader.ElementUnmarshaller.ElementUnmarshaller(), org.exolab.castor.xml.schema.reader.ExtensionUnmarshaller.ExtensionUnmarshaller(), org.exolab.castor.xml.schema.reader.GroupUnmarshaller.GroupUnmarshaller(), org.exolab.castor.xml.schema.reader.ImportUnmarshaller.ImportUnmarshaller(), org.exolab.castor.xml.schema.reader.IncludeUnmarshaller.IncludeUnmarshaller(), org.exolab.castor.xml.schema.reader.WildcardUnmarshaller.init(), org.exolab.castor.xml.schema.reader.ModelGroupUnmarshaller.ModelGroupUnmarshaller(), org.exolab.castor.xml.schema.reader.RedefineUnmarshaller.RedefineUnmarshaller(), org.exolab.castor.xml.schema.reader.SimpleContentRestrictionUnmarshaller.SimpleContentRestrictionUnmarshaller(), org.exolab.castor.xml.schema.reader.SimpleContentUnmarshaller.SimpleContentUnmarshaller(), and org.exolab.castor.xml.schema.reader.ElementUnmarshaller.startElement().
void org.exolab.castor.xml.schema.reader.ComponentReader.setURIResolver | ( | URIResolver | uriResolver | ) |
Sets the URIResolver to be used for resolving hrefs.
uriResolver | the URIResolver to be used for resolving hrefs. |
Referenced by com.cosylab.cdb.jdal.XSDElementTypeResolver.doesExtend(), org.exolab.castor.xml.schema.reader.ImportUnmarshaller.ImportUnmarshaller(), org.exolab.castor.xml.schema.reader.IncludeUnmarshaller.IncludeUnmarshaller(), com.cosylab.cdb.jdal.XSDElementTypeResolver.internalGetElementTypes(), org.exolab.castor.xml.schema.reader.SchemaReader.read(), org.exolab.castor.xml.schema.reader.RedefineUnmarshaller.RedefineUnmarshaller(), and org.exolab.castor.xml.schema.reader.SchemaUnmarshaller.SchemaUnmarshaller().
void org.exolab.castor.xml.schema.reader.ComponentReader.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 in org.exolab.castor.xml.schema.reader.AnnotationUnmarshaller, org.exolab.castor.xml.schema.reader.AppInfoUnmarshaller, org.exolab.castor.xml.schema.reader.AttributeGroupUnmarshaller, org.exolab.castor.xml.schema.reader.AttributeUnmarshaller, org.exolab.castor.xml.schema.reader.ComplexContentRestrictionUnmarshaller, org.exolab.castor.xml.schema.reader.ComplexContentUnmarshaller, org.exolab.castor.xml.schema.reader.ComplexTypeUnmarshaller, org.exolab.castor.xml.schema.reader.DocumentationUnmarshaller, org.exolab.castor.xml.schema.reader.ElementUnmarshaller, org.exolab.castor.xml.schema.reader.ExtensionUnmarshaller, org.exolab.castor.xml.schema.reader.FacetUnmarshaller, org.exolab.castor.xml.schema.reader.FieldOrSelectorUnmarshaller, org.exolab.castor.xml.schema.reader.GroupUnmarshaller, org.exolab.castor.xml.schema.reader.IdentityConstraintUnmarshaller, org.exolab.castor.xml.schema.reader.ModelGroupUnmarshaller, org.exolab.castor.xml.schema.reader.RedefineUnmarshaller, org.exolab.castor.xml.schema.reader.SchemaUnmarshaller, org.exolab.castor.xml.schema.reader.SimpleContentRestrictionUnmarshaller, org.exolab.castor.xml.schema.reader.SimpleContentUnmarshaller, org.exolab.castor.xml.schema.reader.SimpleTypeListUnmarshaller, org.exolab.castor.xml.schema.reader.SimpleTypeRestrictionUnmarshaller, org.exolab.castor.xml.schema.reader.SimpleTypeUnmarshaller, org.exolab.castor.xml.schema.reader.UnionUnmarshaller, org.exolab.castor.xml.schema.reader.UnknownUnmarshaller, and org.exolab.castor.xml.schema.reader.WildcardUnmarshaller.
Referenced by org.exolab.castor.xml.schema.reader.WildcardUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.UnionUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.SimpleTypeUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.SimpleTypeRestrictionUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.SimpleTypeListUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.SimpleContentUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.SimpleContentRestrictionUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.SchemaUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.Sax2ComponentReader.startElement(), org.exolab.castor.xml.schema.reader.RedefineUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.ModelGroupUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.IdentityConstraintUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.GroupUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.FieldOrSelectorUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.FacetUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.ExtensionUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.ElementUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.ComplexTypeUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.ComplexContentUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.ComplexContentRestrictionUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.AttributeUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.AttributeGroupUnmarshaller.startElement(), and org.exolab.castor.xml.schema.reader.AnnotationUnmarshaller.startElement().
static int org.exolab.castor.xml.schema.reader.ComponentReader.toInt | ( | String | str | ) | throws IllegalArgumentException [static] |
Converts the given String to an int
str | the String to convert to an int |
IllegalArgumentException | when the given String does not represent a valid int |
Referenced by org.exolab.castor.xml.schema.reader.ElementUnmarshaller.ElementUnmarshaller(), org.exolab.castor.xml.schema.reader.GroupUnmarshaller.GroupUnmarshaller(), org.exolab.castor.xml.schema.reader.WildcardUnmarshaller.init(), and org.exolab.castor.xml.schema.reader.ModelGroupUnmarshaller.ModelGroupUnmarshaller().
Locator org.exolab.castor.xml.schema.reader.ComponentReader._locator = null [protected] |
The document locator
Referenced by org.exolab.castor.xml.schema.reader.ComponentReader.error(), org.exolab.castor.xml.schema.reader.ComponentReader.getDocumentLocator(), org.exolab.castor.xml.schema.reader.ComponentReader.illegalAttribute(), org.exolab.castor.xml.schema.reader.ComponentReader.illegalElement(), org.exolab.castor.xml.schema.reader.ComponentReader.redefinedElement(), and org.exolab.castor.xml.schema.reader.ComponentReader.setDocumentLocator().