astronomy.data.spectra.impl.runtime
Class Util

java.lang.Object
  extended by astronomy.data.spectra.impl.runtime.Util

public class Util
extends Object

Author:
Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)

Constructor Summary
Util()
           
 
Method Summary
static void handlePrintConversionException(Object caller, Exception e, XMLSerializer serializer)
          Report a print conversion error while marshalling.
static ValidatableObject toValidatableObject(Object o)
           
static XMLSerializable toXMLSerializable(Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Util

public Util()
Method Detail

handlePrintConversionException

public static void handlePrintConversionException(Object caller,
                                                  Exception e,
                                                  XMLSerializer serializer)
                                           throws SAXException
Report a print conversion error while marshalling.

Throws:
SAXException

toXMLSerializable

public static XMLSerializable toXMLSerializable(Object o)

toValidatableObject

public static ValidatableObject toValidatableObject(Object o)