Package com.dbxml.labrador

Examples of com.dbxml.labrador.Describer


      else {
         // The the Broker instance
         Broker broker = Broker.getInstance();

         // Get the Describer for the specified type
         Describer describer = broker.getDescriber(type);

         // Retrieve the best Resolver
         Resolver resolver = broker.getBestResolver(id);

         // Retrieve the Discovery interface from the Resolver
         Discovery discovery = resolver.getDiscovery(id);

         // Stream the description to the StringWriter
         StringWriter sw = new StringWriter(BUFFER_SIZE);
         describer.describe(id, discovery, sw);
         result = sw.toString();

         synchronized ( cacheMutex ) {
            cache.put(key, result);
         }
View Full Code Here

TOP

Related Classes of com.dbxml.labrador.Describer

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.