Examples of BlockDescriptor


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

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

        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

Examples of org.dykman.dexter.descriptor.BlockDescriptor

  {
    try
    {
//System.out.println("constructor for " + klass.getName());     
      Constructor cc = klass.getConstructor();
      BlockDescriptor td = (BlockDescriptor)cc.newInstance();
      Descriptor[] cd = new Descriptor[block.length];
      for(int i = 0 ; i < block.length; ++i)
      {
        cd[i] = dexter.marshall(block[i]);
      }
      td.setPropertyResolver(properties);
      td.setArgs(block, cd,names,values);
      return td;
    }
    catch (Exception e)
    {
      throw new DexterException(e);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.