com.sun.xml.bind.v2.runtime.unmarshaller
Interface Intercepter


public interface Intercepter

Used solely by ElementBeanInfoImpl to wrap the loaded value object into a JAXBElement object. UGLY HACK.

Author:
Kohsuke Kawaguchi

Method Summary
 java.lang.Object intercept(UnmarshallingContext.State state, java.lang.Object o)
          Called when the child loader is deactivated.
 

Method Detail

intercept

java.lang.Object intercept(UnmarshallingContext.State state,
                           java.lang.Object o)
                           throws org.xml.sax.SAXException
Called when the child loader is deactivated.

Parameters:
state - points to the parent's current state.
o - object that was loaded. may be null.
Throws:
org.xml.sax.SAXException


Copyright © 2005-2013 Oracle Corporation. All Rights Reserved.