Package innerifaces.ifaces

Examples of innerifaces.ifaces.RootIface


    }

    public static void main( final String[] args ) throws Exception
    {
        final Document parsedDocument = Main.getDocument( "/innerifaces.xml" );
        final RootIface rootIface = XML2Java.bind( parsedDocument, RootIface.class );

        // Accessing first inner interface
        final RootIface.NestedIface1 nested1 = rootIface.getNestedInterface();
        System.out.println( "Value of attribute c1:attr is " + nested1.getAttrValue() );
        System.out.println( "Value of element c1:elem is " + nested1.getElemValue() );

        // Accessing second inner interface
        final RootIface.NestedIface1.NestedIface2 nested2 = nested1.getNestedInterface();
View Full Code Here

TOP

Related Classes of innerifaces.ifaces.RootIface

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.