|
Java API Reference for Oracle Infrastructure Web Services 11 Release 1 (11.1.1) E10654-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Serializer
Implementations of this interface are responsible for creating, marshalling and unmarshalling components and extensions.
| Method Summary | |
|---|---|
Object |
create(Factory factory, Component parentComponent, QName extensionType, QName extensionName)Creates an new component or extension. |
QName[] |
getExtensionTypes()Provides an array of the extension/component types supported by the serializer. |
Element |
marshal(Factory factory, Component parentComponent, QName type, Object extension, Document document)Marshals a component or extension into a DOM tree. |
Object |
unmarshal(Factory factory, Component parentComponent, Element extensionElement)Unmarshalls a component or extension from the provided DOM element. |
| Method Detail |
|---|
QName[] getExtensionTypes()
Object create(Factory factory,
Component parentComponent,
QName extensionType,
QName extensionName)
factory - The factory which is requesting that the component or extension be created.parentComponent - The parent component to which the returned component or extension will be added.extensionType - The type name of the component/extension to create.extensionName - The unique name of the component/extension to create. For extensions this value should be ignored and may be null.
Object unmarshal(Factory factory,
Component parentComponent,
Element extensionElement)
throws SerializationException
factory - The factory requesting the unmarhalling.parentComponent - The parent component to which the returned component or extension will be added.extensionElement - The DOM element for this component extension provided by the marshal method.SerializationException - If the DOM element cannot be marshalled into components and/or extensions.
Element marshal(Factory factory,
Component parentComponent,
QName type,
Object extension,
Document document)
throws SerializationException
factory - The factory requesting the marshalling.parentComponent - The parent component of the component/extension being marshalled.type - The type name of the extension being marshalled.extension - The extension/component which should be marshalled to the returned element.document - The document from which to create new DOM elements.SerializationException
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||