org.xeril.xml
Class XmlUtil

java.lang.Object
  |
  +--org.xeril.xml.XmlUtil

public class XmlUtil
extends java.lang.Object

This class holds utility functions for Xml


Method Summary
static XmlInfo getXmlInfo(java.lang.Class c)
          From a class c, tries to get an XmlInfo class, instantiates it and returns it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getXmlInfo

public static XmlInfo getXmlInfo(java.lang.Class c)
From a class c, tries to get an XmlInfo class, instantiates it and returns it. The algorithm is to try to find a class called c.getName() + "XmlInfo".

Parameters:
c - the class from which we are looking for an XmlInfo class
Returns:
the XmlInfo class or null if not found.