org.codehaus.metaclass.io
Class DOMMetaClassDeserializer

java.lang.Object
  extended byorg.codehaus.metaclass.io.DOMMetaClassDeserializer

public final class DOMMetaClassDeserializer
extends java.lang.Object

Utility class to build a ClassDescriptor from a DOM representation Element.

Version:
$Revision: 1.13 $ $Date: 2003/11/27 08:09:53 $
Author:
Peter Donald

Constructor Summary
DOMMetaClassDeserializer()
           
 
Method Summary
 ClassDescriptor buildClassDescriptor(org.w3c.dom.Document document)
          Build a ClassDescriptor from a Document.
 ClassDescriptor buildClassDescriptor(org.w3c.dom.Element element)
          Build a ClassDescriptor from element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DOMMetaClassDeserializer

public DOMMetaClassDeserializer()
Method Detail

buildClassDescriptor

public ClassDescriptor buildClassDescriptor(org.w3c.dom.Document document)
                                     throws java.lang.Exception
Build a ClassDescriptor from a Document.

Parameters:
document - the document
Returns:
the ClassDescriptor
Throws:
java.lang.Exception - if document malformed

buildClassDescriptor

public ClassDescriptor buildClassDescriptor(org.w3c.dom.Element element)
                                     throws java.lang.Exception
Build a ClassDescriptor from element.

Parameters:
element - the element
Returns:
the ClassDescriptor
Throws:
java.lang.Exception - if element malformed


Copyright © 2003-2004 Codehaus. All Rights Reserved.