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,
javax.xml.namespace.QName name,
org.w3c.dom.Node domNode)
deserialize the given element |
deserialize
void deserialize(XmlSchemaObject schemaObject,
javax.xml.namespace.QName name,
org.w3c.dom.Node domNode)
- deserialize the given element
- Parameters:
schemaObject
- - Parent schema elementname
- - 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 deserializationdomNode
- - 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-2009 The Apache Software Foundation. All Rights Reserved.