Examples of parent()


Examples of ariba.ui.aribaweb.core.AWComponent.parent()

        {
            Object bindingValue = null;
            if (binding != null) {
                AWComponent parent = this;
                while (!(parent instanceof AWTDataTable)) {
                    parent = parent.parent();
                }
                bindingValue = parent.valueForBinding(binding);
            }
            return bindingValue;
        }
View Full Code Here

Examples of com.arjuna.ats.arjuna.coordinator.BasicAction.parent()

      while (nextLevel != null)
      {
        s.push(nextLevel);

        nextLevel = nextLevel.parent();
      }

      /*
       * Now push the hierarchy onto the thread stack.
       */
 
View Full Code Here

Examples of com.badlogic.gdx.files.FileHandle.parent()

   * @param inputDir The directory containing all the files created by TiledMapPacker */
  public TileAtlas (TiledMap map, FileHandle inputDir) {
    // TODO: Create a constructor that doesn't take a tmx map,
    for (TileSet set : map.tileSets) {
      FileHandle packfile = getRelativeFileHandle(inputDir, removeExtension(set.imageName) + " packfile");
      TextureAtlas textureAtlas = new TextureAtlas(packfile, packfile.parent(), false);
      List<AtlasRegion> atlasRegions = textureAtlas.findRegions(removeExtension(removePath(set.imageName)));

      for (AtlasRegion reg : atlasRegions) {
        regionsMap.put(reg.index + set.firstgid, reg);
        if (!textures.contains(reg.getTexture())) {
View Full Code Here

Examples of com.bastengao.struts2.freeroute.annotation.ControllerPackage.parent()

            if(parentPackage == null){
                throw new IllegalStateException("defaultParentPackage not found: " + this.defaultParentPackage);
            }
        } else {
            parentPackage = this.configuration.getPackageConfig(pkg.parent());
        }
        return parentPackage;
    }

    /**
 
View Full Code Here

Examples of com.google.common.net.InternetDomainName.parent()

            while (domain != null) {
                Collection<Cookie> subset = hostSubset(domain.toString());
                cookieCollection.addComposited(subset);

                if (domain.hasParent()) {
                    domain = domain.parent();
                } else {
                    domain = null;
                }
            }
        } else {
View Full Code Here

Examples of com.sissi.protocol.iq.block.BlockList.parent()

    BlockList list = protocol.cast(BlockList.class).clear();
    for (JID each : this.blockContext.iBlockWho(context.jid())) {
      // Same domain
      list.add(new BlockListItem(each.domain(context.domain())));
    }
    context.write(list.parent().reply().setType(ProtocolType.RESULT));
    return true;
  }
}
View Full Code Here

Examples of com.sissi.protocol.iq.disco.Disco.parent()

    Disco disco = protocol.cast(Disco.class);
    // 如果一个用户以不同资源进入房间则仅显示其中一个
    for (JID each : super.iSubscribedWho((super.build(protocol.parent().getTo())))) {
      disco.add(new Item(each.asStringWithBare(), each.resource()));
    }
    context.write(disco.parent().reply().setType(ProtocolType.RESULT));
    return true;
  }
}
View Full Code Here

Examples of com.sissi.protocol.iq.si.Si.parent()

  }

  @Override
  public Map<String, Object> write(Element element) {
    Si si = Si.class.cast(element);
    Map<String, Object> entity = super.write(si.parent().reply().setType(ProtocolType.SET.toString()));
    entity.put(Dictionary.FIELD_SID, si.getId());
    entity.put(Dictionary.FIELD_SIZE, si.getFile().getSize());
    entity.put(Dictionary.FIELD_NAME, si.getFile().getName());
    entity.put(Dictionary.FIELD_CLASS, element.getClass().getSimpleName());
    entity.put(Dictionary.FIELD_HOST, new String[] { si.host(this.delegation, super.jidBuilder.build(si.parent().getTo()).asStringWithBare()) });
View Full Code Here

Examples of com.sun.enterprise.config.ConfigBean.parent()

    {
        if ((isSET()||isADD()) && (classObject instanceof ConfigBean) )
            return (ConfigBean)classObject;
        ConfigBean self = getTargetBean();
        try {
            return (ConfigBean)self.parent();
        } catch(Throwable t) {}
        return null;
    }
       
    public NameListMgr getNameListMgr()
View Full Code Here

Examples of com.sun.enterprise.config.serverbeans.AuthRealm.parent()

    public void validate(ValidationContext valCtx) {
        super.validate(valCtx); // Before doing custom validation do basic validation
       
        if(valCtx.isDELETE()) {
            AuthRealm ar = (AuthRealm)valCtx.getTargetBean();
            SecurityService sec = (SecurityService) ar.parent();
            String realmName = ar.getName();
            String defaultRealmName = null;
            try {
                defaultRealmName = sec.getDefaultRealm();
            } catch (Exception ee) {
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.