Package org.apache.avalon.phoenix.metainfo

Examples of org.apache.avalon.phoenix.metainfo.BlockDescriptor


        final String name = block.getChild( "name" ).getValue( null );
        final Version version = buildVersion( block.getChild( "version" ).getValue() );
        final String schemaType = block.getChild( "schema-type" ).getValue( null );

        return new BlockDescriptor( name, classname, schemaType, version );
    }
View Full Code Here


        try
        {
            for( i = 0; i < blocks.length; i++ )
            {
                final String name = blocks[ i ].getName();
                final BlockDescriptor descriptor = blocks[ i ].getBlockInfo().getBlockDescriptor();
                final String type = descriptor.getSchemaType();

                if( null != type )
                {
                    m_validator.addSchema( metaData.getName(),
                                           name,
                                           type,
                                           getConfigurationSchemaURL( name,
                                                                      descriptor.getImplementationKey(),
                                                                      classLoader )
                    );
                }
            }
        }
View Full Code Here

TOP

Related Classes of org.apache.avalon.phoenix.metainfo.BlockDescriptor

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.