Package org.jboss.resource.metadata

Examples of org.jboss.resource.metadata.DescriptionMetaData


    return null;
  }
 
  private static ManagedProperty createConnectorProperty(ConfigPropertyMetaData metadata) {
   
    DescriptionMetaData descMetadata = metadata.getDescription();
    String description = descMetadata.getDescription();
    if (description != null) {
      ExtendedPropertyMetadata extended = new ExtendedPropertyMetadata(metadata.getName(), metadata.getType(), description, metadata.getValue());
      return ManagedPropertyUtil.convert(extended);
    }
   
View Full Code Here


         return null;
      }
      else if (localName.equals("description"))
      {
         String language = attrs.getValue("xml:lang");
         DescriptionMetaData dmd = null;
         if (language == null)
            dmd = cpmd.getDescription();
         else
            dmd = cpmd.getDescription(language);
         if (dmd == null)
            dmd = new DescriptionMetaData(language);
         cpmd.addDescription(dmd);
         return dmd;
      }
     
      throw new IllegalArgumentException("Unknown config property newChild: nuri=" +namespaceURI + " localName=" + localName + " attrs=" + attrs);
View Full Code Here

         return null;
      }
      else if (localName.equals("description"))
      {
         String language = attrs.getValue("xml:lang");
         DescriptionMetaData dmd = null;
         if (language == null)
            dmd = lmd.getDescription();
         else
            dmd = lmd.getDescription(language);
         if (dmd == null)
            dmd = new DescriptionMetaData(language);
         lmd.addDescription(dmd);
         return dmd;
      }
     
      throw new IllegalArgumentException("Unknown license newChild: nuri=" +namespaceURI + " localName=" + localName + " attrs=" + attrs);
View Full Code Here

         return null;
      }
      else if (localName.equals("description"))
      {
         String language = attrs.getValue("xml:lang");
         DescriptionMetaData dmd = null;
         if (language == null)
            dmd = ammd.getDescription();
         else
            dmd = ammd.getDescription(language);
         if (dmd == null)
            dmd = new DescriptionMetaData(language);
         ammd.addDescription(dmd);
         return dmd;
      }
     
      throw new IllegalArgumentException("Unknown authentication mechanism newChild: nuri=" +namespaceURI + " localName=" + localName + " attrs=" + attrs);
View Full Code Here

         return null;
      }
      else if (localName.equals("description"))
      {
         String language = attrs.getValue("xml:lang");
         DescriptionMetaData dmd = null;
         if (language == null)
            dmd = spmd.getDescription();
         else
            dmd = spmd.getDescription(language);
         if (dmd == null)
            dmd = new DescriptionMetaData(language);
         spmd.addDescription(dmd);
         return dmd;
      }
     
      throw new IllegalArgumentException("Unknown security permission newChild: nuri=" +namespaceURI + " localName=" + localName + " attrs=" + attrs);
View Full Code Here

         return null;
      }
      else if (localName.equals("description"))
      {
         String language = attrs.getValue("xml:lang");
         DescriptionMetaData dmd = null;
         if (language == null)
            dmd = rcpmd.getDescription();
         else
            dmd = rcpmd.getDescription(language);
         if (dmd == null)
            dmd = new DescriptionMetaData(language);
         rcpmd.addDescription(dmd);
         return dmd;
      }
     
      throw new IllegalArgumentException("Unknown required config property newChild: nuri=" +namespaceURI + " localName=" + localName + " attrs=" + attrs);
View Full Code Here

/* 263 */       return null;
/*     */     }
/* 265 */     if (localName.equals("description"))
/*     */     {
/* 267 */       String language = attrs.getValue("xml:lang");
/* 268 */       DescriptionMetaData dmd = null;
/* 269 */       if (language == null)
/* 270 */         dmd = cpmd.getDescription();
/*     */       else
/* 272 */         dmd = cpmd.getDescription(language);
/* 273 */       if (dmd == null)
/* 274 */         dmd = new DescriptionMetaData(language);
/* 275 */       cpmd.addDescription(dmd);
/* 276 */       return dmd;
/*     */     }
/*     */
/* 279 */     throw new IllegalArgumentException("Unknown config property newChild: nuri=" + namespaceURI + " localName=" + localName + " attrs=" + attrs);
View Full Code Here

/* 327 */       return null;
/*     */     }
/* 329 */     if (localName.equals("description"))
/*     */     {
/* 331 */       String language = attrs.getValue("xml:lang");
/* 332 */       DescriptionMetaData dmd = null;
/* 333 */       if (language == null)
/* 334 */         dmd = lmd.getDescription();
/*     */       else
/* 336 */         dmd = lmd.getDescription(language);
/* 337 */       if (dmd == null)
/* 338 */         dmd = new DescriptionMetaData(language);
/* 339 */       lmd.addDescription(dmd);
/* 340 */       return dmd;
/*     */     }
/*     */
/* 343 */     throw new IllegalArgumentException("Unknown license newChild: nuri=" + namespaceURI + " localName=" + localName + " attrs=" + attrs);
View Full Code Here

/* 514 */       return null;
/*     */     }
/* 516 */     if (localName.equals("description"))
/*     */     {
/* 518 */       String language = attrs.getValue("xml:lang");
/* 519 */       DescriptionMetaData dmd = null;
/* 520 */       if (language == null)
/* 521 */         dmd = ammd.getDescription();
/*     */       else
/* 523 */         dmd = ammd.getDescription(language);
/* 524 */       if (dmd == null)
/* 525 */         dmd = new DescriptionMetaData(language);
/* 526 */       ammd.addDescription(dmd);
/* 527 */       return dmd;
/*     */     }
/*     */
/* 530 */     throw new IllegalArgumentException("Unknown authentication mechanism newChild: nuri=" + namespaceURI + " localName=" + localName + " attrs=" + attrs);
View Full Code Here

/* 680 */       return null;
/*     */     }
/* 682 */     if (localName.equals("description"))
/*     */     {
/* 684 */       String language = attrs.getValue("xml:lang");
/* 685 */       DescriptionMetaData dmd = null;
/* 686 */       if (language == null)
/* 687 */         dmd = spmd.getDescription();
/*     */       else
/* 689 */         dmd = spmd.getDescription(language);
/* 690 */       if (dmd == null)
/* 691 */         dmd = new DescriptionMetaData(language);
/* 692 */       spmd.addDescription(dmd);
/* 693 */       return dmd;
/*     */     }
/*     */
/* 696 */     throw new IllegalArgumentException("Unknown security permission newChild: nuri=" + namespaceURI + " localName=" + localName + " attrs=" + attrs);
View Full Code Here

TOP

Related Classes of org.jboss.resource.metadata.DescriptionMetaData

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.