Ejemplo n.º 1
0
 protected Translator[] create13Children() {
   return new Translator[] {
     IDTranslator.INSTANCE,
     new Translator(DESCRIPTION, COMMON_PKG.getCompatibilityDescriptionGroup_Description()),
     new Translator(DISPLAY_NAME, COMMON_PKG.getCompatibilityDescriptionGroup_DisplayName()),
     new Translator(SMALL_ICON, COMMON_PKG.getCompatibilityDescriptionGroup_SmallIcon()),
     new Translator(LARGE_ICON, COMMON_PKG.getCompatibilityDescriptionGroup_LargeIcon()),
     new EnterpriseBeansTranslator(),
     createRelationshipsTranslator13(),
     createAssemblyDescriptorTranslator13(),
     new Translator(EJB_CLIENT_JAR, EJB_PKG.getEJBJar_EjbClientJar()),
   };
 }
Ejemplo n.º 2
0
 protected Translator[] create14Children() {
   return new Translator[] {
     IDTranslator.INSTANCE,
     new Translator(VERSION, EJB_PKG.getEJBJar_Version(), DOM_ATTRIBUTE),
     new ConstantAttributeTranslator(XML_NS, J2EE_NS_URL),
     new ConstantAttributeTranslator(XML_NS_XSI, XSI_NS_URL),
     new ConstantAttributeTranslator(
         XSI_SCHEMA_LOCATION, J2EE_NS_URL + ' ' + EJB_JAR_SCHEMA_LOC_2_1),
     CommonTranslators.DESCRIPTIONS_TRANSLATOR,
     CommonTranslators.DISPLAYNAMES_TRANSLATOR,
     CommonTranslators.ICONS_TRANSLATOR,
     new EnterpriseBeansTranslator(),
     createRelationshipsTranslator14(),
     createAssemblyDescriptorTranslator14(),
     new Translator(EJB_CLIENT_JAR, EJB_PKG.getEJBJar_EjbClientJar()),
     //	CommonTranslators.createDeploymentExtensionTranslator(EJB_PKG.getEJBJar_Extensions())
   };
 }