Package org.skyscreamer.yoga.model

Examples of org.skyscreamer.yoga.model.XmlHierarchyModelImpl


    {
        HierarchicalModel<Element> model = null;
        if (value instanceof Iterable)
        {
            String name = getClassName( ( ( Iterable<?> ) value ).iterator().next() );
            model = new XmlHierarchyModelImpl( new DOMElement( "result" ), name );
        }
        else
        {
            model = new XmlHierarchyModelImpl( new DOMElement( getClassName( value ) ) );
        }

        _resultTraverser.traverse( value, context.getSelector(), model, context );
        XmlYogaViewUtil.write( model.getUnderlyingModel(), os );
    }
View Full Code Here

TOP

Related Classes of org.skyscreamer.yoga.model.XmlHierarchyModelImpl

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.