org.apache.ws.commons.schema.extensions
Interface ExtensionDeserializer

All Known Implementing Classes:
DefaultExtensionDeserializer

public interface ExtensionDeserializer

Interface for the extension deserializer. The purpose of an instance of this is to deserialize the relevant attribute/element and perhaps generate a desired custom object. This custom object can be stored in the metadata map of the parent schema object. When to invoke a given deserializer is a decision taken by the extension registry


Method Summary
 void deserialize(XmlSchemaObject schemaObject, QName name, Node domNode)
          deserialize the given element
 

Method Detail

deserialize

void deserialize(XmlSchemaObject schemaObject,
                 QName name,
                 Node domNode)
deserialize the given element

Parameters:
schemaObject - - Parent schema element
name - - the QName of the element/attribute to be deserialized. in the case where a deserializer is used to handle multiple elements/attributes this may be useful to determine the correct deserialization
domNode - - the raw DOM Node read from the source. This will be the extension element itself if for an element or the extension attribute object if it is an attribute


Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.