net.sf.jour.rt.view.config.impl.runtime
Class Util

java.lang.Object
  extended bynet.sf.jour.rt.view.config.impl.runtime.Util

public class Util
extends java.lang.Object

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

Constructor Summary
Util()
           
 
Method Summary
static void handlePrintConversionException(java.lang.Object caller, java.lang.Exception e, XMLSerializer serializer)
          Reports a print conversion error while marshalling.
static void handleTypeMismatchError(XMLSerializer serializer, java.lang.Object parentObject, java.lang.String fieldName, java.lang.Object childObject)
          Reports that the type of an object in a property is unexpected.
 
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(java.lang.Object caller,
                                                  java.lang.Exception e,
                                                  XMLSerializer serializer)
                                           throws org.xml.sax.SAXException
Reports a print conversion error while marshalling.

Throws:
org.xml.sax.SAXException

handleTypeMismatchError

public static void handleTypeMismatchError(XMLSerializer serializer,
                                           java.lang.Object parentObject,
                                           java.lang.String fieldName,
                                           java.lang.Object childObject)
                                    throws com.sun.xml.bind.serializer.AbortSerializationException
Reports that the type of an object in a property is unexpected.

Throws:
com.sun.xml.bind.serializer.AbortSerializationException


Copyright © 2004 sourceforge. All Rights Reserved.