Class ImportUnmarshaller
java.lang.Object
org.exolab.castor.xml.schema.reader.ComponentReader
org.exolab.castor.xml.schema.reader.ImportUnmarshaller
-
Constructor Summary
ConstructorsConstructorDescriptionImportUnmarshaller(SchemaContext schemaContext, Schema schema, AttributeSet atts, URIResolver uriResolver, Locator locator, SchemaUnmarshallerState state) -
Method Summary
Modifier and TypeMethodDescriptionSets the name of the element that this UnknownUnmarshaller handlesReturns the Object created by this ComponentReaderMethods inherited from class ComponentReader
characters, endElement, error, error, finish, getDocumentLocator, getResolver, getSchemaContext, getURIResolver, illegalAttribute, illegalElement, isWhiteSpace, outOfOrder, redefinedElement, redefinedElement, setDocumentLocator, setResolver, setSchemaContext, setURIResolver, startElement, toIntModifier and TypeMethodDescriptionvoidcharacters(char[] chars, int start, int length) Signals to recieve charactesvoidendElement(String name, String namespace) Signals to end of the element with the given name.voidThis method is called for a general error.voidThis method is called for a general error.voidfinish()Called to signal an end of unmarshalling.Returns the resolver used for resolving id references.To get the Castor XML schema context used.Returns the URIresolver used for resolving hrefs.voidillegalAttribute(String attName) This method is called when an illegal Attribute is encountered.voidillegalElement(String name) This method is called when an illegal Element is encountered.static booleanisWhiteSpace(char[] chars, int start, int length) Determines if the given sequence of characters consists of whitespace charactersvoidoutOfOrder(String name) This method is called when an out of order element is encounteredvoidredefinedElement(String name) This method is called when an element which may only be defined once, is redefined.voidredefinedElement(String name, String xtraInfo) This method is called when an element which may only be defined once, is redefined.voidsetDocumentLocator(Locator documentLocator) voidsetResolver(Resolver resolver) Sets the Resolver to be used for resolving id referencesvoidsetSchemaContext(SchemaContext schemaContext) To set the Castor XML schema context to be used.voidsetURIResolver(URIResolver uriResolver) Sets the URIResolver to be used for resolving hrefs.voidstartElement(String name, String namespace, AttributeSet atts, Namespaces nsDecls) Signals the start of an element with the given name.static intConverts the given String to an int
-
Constructor Details
-
ImportUnmarshaller
public ImportUnmarshaller(SchemaContext schemaContext, Schema schema, AttributeSet atts, URIResolver uriResolver, Locator locator, SchemaUnmarshallerState state) throws XMLException - Throws:
XMLException
-
-
Method Details
-
elementName
Sets the name of the element that this UnknownUnmarshaller handles- Specified by:
elementNamein classComponentReader- Returns:
- the name of the element that this ComponentReader handles
-
getObject
Returns the Object created by this ComponentReader- Specified by:
getObjectin classComponentReader- Returns:
- the Object created by this ComponentReader
-