org.tagnetic.core.jaxb.tagneticconfig.impl.runtime
Class Util

java.lang.Object
  extended byorg.tagnetic.core.jaxb.tagneticconfig.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 AbortSerializationException
Reports that the type of an object in a property is unexpected.

Throws:
AbortSerializationException


Copyright © 2005 tagnetic.org. All Rights Reserved.