Package org.x2jb.bind.spi.handler

Examples of org.x2jb.bind.spi.handler.AttributeHandler


     */
    static Object bindAttributeToObject( final Attr value, final BeanImpl bean )
    {
        final Class< ? > handlerClass = bean.getTypeHandler();
        final Class< ? > clazz = bean.getType();
        AttributeHandler handler;

        if ( handlerClass == null )
        {
            handler = ( AttributeHandler ) HandlersRepository.getDefaultHandler( bean, true );
        }
        else
        {
            handler = ( AttributeHandler ) HandlersRepository.getUserHandler( bean, true );
        }

        return handler.bind( value, clazz );
    }
View Full Code Here

TOP

Related Classes of org.x2jb.bind.spi.handler.AttributeHandler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.