Examples of addClass()


Examples of org.jpox.metadata.PackageMetaData.addClass()

                        pmd = new PackageMetaData(filemd, "", null, null);
                    }
                }

                ClassMetaData cmd = newClassObject(pmd, attrs, true);
                pmd.addClass(cmd);

                pushStack(cmd);
            }
            else if (localName.equals("attributes"))
            {
View Full Code Here

Examples of org.jpox.metadata.PackageMetaData.addClass()

            // New class for this package
            else if (localName.equals("class"))
            {
                PackageMetaData pmd=(PackageMetaData)getStack();
                ClassMetaData cmd=newClassObject(pmd,attrs);
                pmd.addClass(cmd);
   
                pushStack(cmd);
            }
            // New interface for this package
            else if (localName.equals("interface"))
View Full Code Here

Examples of org.jsoup.nodes.Element.addClass()

                    .attr("href", themeUri + "/favicon.ico");
        }

        Element body = document.body();
        body.attr("scroll", "auto");
        body.addClass(ApplicationConstants.GENERATED_BODY_CLASSNAME);
    }

    protected String getMainDivStyle(BootstrapContext context) {
        return null;
    }
View Full Code Here

Examples of org.mindswap.pellet.KnowledgeBase.addClass()

    // for undefined classes/properties (see ticket 90)

    KnowledgeBase kb = new KnowledgeBase();

    ATermAppl C = term( "C" );
    kb.addClass( C );

    ATermAppl p = term( "p" );
    kb.addObjectProperty( p );

    ATermAppl undef = term( "undef" );
View Full Code Here

Examples of org.mvel2.integration.impl.ClassImportResolverFactory.addClass()

  public void testSataticClassImportViaFactoryAndWithModification() {
    OptimizerFactory.setDefaultOptimizer("ASM");
    MapVariableResolverFactory mvf = new MapVariableResolverFactory(createTestMap());
    ClassImportResolverFactory classes = new ClassImportResolverFactory(null, null, false);
    classes.addClass(Person.class);

    ResolverTools.appendFactory(mvf,
        classes);

    assertEquals(21,
View Full Code Here

Examples of org.objectstyle.wolips.core.resources.types.file.IPBDotProjectAdapter.addClass()

    if (kind == IResourceDelta.ADDED || kind == IResourceDelta.CHANGED || kind == IResourceDelta.REMOVED) {
      IPBDotProjectOwner pbDotProjectOwner = this.getIPBDotProjectOwner(resource);
      IPBDotProjectAdapter pbDotProjectAdapter = this.getIPBDotProjectAdapter(pbDotProjectOwner);
      ILocalizedPath localizedPath = pbDotProjectAdapter.localizedRelativeResourcePath(pbDotProjectOwner, resource);
      if (kind == IResourceDelta.ADDED || kind == IResourceDelta.CHANGED) {
        pbDotProjectAdapter.addClass(localizedPath);
      } else if (kind == IResourceDelta.REMOVED) {
        pbDotProjectAdapter.removeClass(localizedPath);
      }
    }
    return false;
View Full Code Here

Examples of org.objectweb.jorm.metainfo.api.Package.addClass()

      for (Iterator it = mos.iterator(); it.hasNext();) {
        Object o = it.next();
        if (o instanceof BasicClass) {
          BasicClass c = (BasicClass) o;
          Package s = m.createPackage(((Package) c.getParent()).getName());
          s.addClass(c);
          c.setParent(s);
          c.setLogger(m.getLogger());
          logger.log(BasicLevel.DEBUG,
            "Jorm Meta Object Class " + c.getFQName() + " loaded");
        } else if (o instanceof BasicCompositeName) {
View Full Code Here

Examples of org.sgx.yuigwt.yui.node.Node.addClass()

      if(clickHandler!=null)
        labelEl.on("click", clickHandler);
     
      if(childs!=null&&childs.length>0) {
//        labelEl.addClass("yui3-menuitem-content");
        labelEl.addClass("yui3-menu-label");
        Node root = NODE(Y, "tag:'div',class:'yui3-menu'", null, null),
        content = NODE(Y, "tag:'div',class:'yui3-menu-content'", null, null),
        list = NODE(Y, "tag:'ul'", null, null);
        root.append(content);
        content.append(list);
View Full Code Here

Examples of org.structr.schema.compiler.NodeExtender.addClass()

          SchemaService.ensureBuiltinTypesExist();

          // collect node classes
          for (final SchemaNode schemaNode : StructrApp.getInstance().nodeQuery(SchemaNode.class).getAsList()) {

            nodeExtender.addClass(schemaNode.getClassName(), schemaNode.getSource(errorBuffer));

            final String auxSource = schemaNode.getAuxiliarySource();
            if (auxSource != null) {

              nodeExtender.addClass("_" + schemaNode.getClassName() + "Helper", auxSource);
View Full Code Here

Examples of org.zkoss.xel.util.TaglibMapper.addClass()

      if (mapper == null)
        mapper = new TaglibMapper();

      for (Iterator it = imports.entrySet().iterator(); it.hasNext();) {
        final Map.Entry me = (Map.Entry)it.next();
        mapper.addClass((String)me.getKey(), (Class)me.getValue());
      }
    }

    if (funcs != null && !funcs.isEmpty()) {
      if (mapper == null)
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.