Package nexj.core.meta

Examples of nexj.core.meta.ExternalLibrary


    */
   protected void loadExternalLibrary(Element externalLibraryElement, String sName)
   {
      XMLMetadataHelper.verifyRootElement(externalLibraryElement, "ExternalLibrary");

      final ExternalLibrary externalLibrary = new ExternalLibrary(sName);

      externalLibrary.setMetadata(m_metadata);

      XMLUtil.withFirstChildElement(externalLibraryElement, "Files", false, new ElementHandler()
      {
         public void handleElement(Element filesElement)
         {
            XMLUtil.forEachChildElement(filesElement, "File", new ElementHandler()
            {
               public void handleElement(Element fileElement)
               {
                  externalLibrary.addFile(XMLUtil.getReqStringAttr(fileElement, "name"));
               }
            });
         }
      });

View Full Code Here


            break;
           
         case J2EE_PLATFORM_CLASSPATH:
            for (Iterator extLibIter = metadata.getExternalLibraryIterator(); extLibIter.hasNext();)
            {
               ExternalLibrary extLib = (ExternalLibrary)extLibIter.next();

               for (Iterator fileIter = extLib.getFileIterator(); fileIter.hasNext();)
               {
                  String sFile = (String)fileIter.next();

                  switch (nContainer)
                  {
View Full Code Here

   /**
    * @see nexj.core.meta.Metadata#getExternalLibrary(java.lang.String)
    */
   public ExternalLibrary getExternalLibrary(String sName)
   {
      ExternalLibrary externalLibrary = (ExternalLibrary)m_externalLibraryMap.get(sName);

      if (externalLibrary != null)
      {
         return externalLibrary;
      }
View Full Code Here

TOP

Related Classes of nexj.core.meta.ExternalLibrary

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.