org.ow2.easywsdl.schema.impl
Class SchemaReaderImpl
java.lang.Object
org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaReaderImpl
org.ow2.easywsdl.schema.impl.SchemaReaderImpl
- All Implemented Interfaces:
- SchemaReader
public class SchemaReaderImpl
- extends AbstractSchemaReaderImpl
- implements SchemaReader
- Author:
- Nicolas Salatge - eBM WebSourcing
|
Method Summary |
static javax.xml.bind.JAXBContext |
getJaxbContext()
|
static javax.xml.bind.Unmarshaller |
getUnMarshaller()
Get the unmarshaller instance. |
Schema |
readSchema(org.w3c.dom.Document schemaDocument)
Read the specified SchemaImpl document into a SchemaImpl definition. |
Schema |
readSchema(java.net.URI schemaURI)
Read the SchemaImpl document accessible via the specified URI into a
SchemaImpl definition. |
Schema |
readSchema(java.net.URI schemaUri,
javax.xml.transform.dom.DOMSource input)
Read a SchemaImpl document into a SchemaImpl definition. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SchemaReaderImpl
public SchemaReaderImpl()
getUnMarshaller
public static javax.xml.bind.Unmarshaller getUnMarshaller()
throws SchemaException
- Get the unmarshaller instance.
- Returns:
- the unmarshaller instance
- Throws:
SchemaException - The exception raised during the unmarshaller creation.
getJaxbContext
public static javax.xml.bind.JAXBContext getJaxbContext()
- Returns:
- the jaxbContext
readSchema
public Schema readSchema(java.net.URI schemaURI)
throws SchemaException
- Description copied from interface:
SchemaReader
- Read the SchemaImpl document accessible via the specified URI into a
SchemaImpl definition.
- Specified by:
readSchema in interface SchemaReader
- Parameters:
schemaURI - a URI (can be a filename or URL) pointing to a SchemaImpl XML
definition.
- Returns:
- the definition.
- Throws:
SchemaException
readSchema
public Schema readSchema(org.w3c.dom.Document schemaDocument)
throws SchemaException
- Description copied from interface:
SchemaReader
- Read the specified SchemaImpl document into a SchemaImpl definition.
- Specified by:
readSchema in interface SchemaReader
- Parameters:
schemaDocument - the SchemaImpl document, an XML document obeying the
SchemaImpl parent.
- Returns:
- the definition described in the document.
- Throws:
SchemaException
readSchema
public Schema readSchema(java.net.URI schemaUri,
javax.xml.transform.dom.DOMSource input)
throws SchemaException
- Description copied from interface:
SchemaReader
- Read a SchemaImpl document into a SchemaImpl definition.
- Specified by:
readSchema in interface SchemaReader
- Parameters:
schemaUri - the uri of the parentinput - an InputSource pointing to the SchemaImpl document, an XML
document obeying the SchemaImpl parent.
- Returns:
- the definition described in the document pointed to by the
InputSource.
- Throws:
SchemaException
Copyright © 2008 eBM WebSourcing. All Rights Reserved.