Examples of findObject()

  • com.volantis.xml.pipeline.sax.XMLPipelineContext.findObject()
    Find the object on the stack that is of the specified class.

    This method checks each object in the stack starting with the last one pushed to see whether it is of the specified class. An object is of the specified class if it is an instance of that class as defined by {@link Class#isInstance}.

    @param clazz The class of the object to find. @return The first object of the specified class, or null if none could befound.
  • net.sf.l2j.gameserver.model.L2World.findObject()
    Return the L2Object object that belongs to an ID or null if no object found.

    Example of use :

  • Client packets : Action, AttackRequest, RequestJoinParty, RequestJoinPledge...

  • @param oID Identifier of the L2Object @return
  • org.datanucleus.ExecutionContext.findObject()
  • org.datanucleus.ObjectManager.findObject()
    Accessor for an object given the object id. @param id Id of the object. @param validate Whether to validate the object state @param checkInheritance Whether look to the database to determine whichclass this object is. This parameter is a hint. Set false, if it's already determined the correct pcClass for this pc "object" in a certain level in the hierarchy. Set to true and it will look to the database. @param objectClassName Class name for the object with this id (if known, optional) @return The Object
  • org.datanucleus.store.ExecutionContext.findObject()
    Accessor for an object given the object id. @param id Id of the object. @param validate Whether to validate the object state @param checkInheritance Whether look to the database to determine whichclass this object is. This parameter is a hint. Set false, if it's already determined the correct pcClass for this pc "object" in a certain level in the hierarchy. Set to true and it will look to the database. @param objectClassName Class name for the object with this id (if known, optional) @return The Object
  • org.teiid.query.unittest.FakeMetadataStore.findObject()

  • Examples of com.antlersoft.ilanalyze.db.ILDB.findObject()

       * @see com.antlersoft.query.SetExpression#evaluate(com.antlersoft.query.DataSource)
       */
      public Enumeration evaluate(DataSource source) {
            Vector tmp=new Vector( 1);
            ILDB db=(ILDB)source;
            Object q=db.findObject( DBClass.CLASS_BY_NAME_INDEX, _className);
            if ( q!=null)
                tmp.addElement( q);
            for ( Iterator i=_set.iterator(); i.hasNext() && q==null;)
            {
                q=db.findObject( DBClass.CLASS_BY_NAME_INDEX, ((String)i.next())+"."+_className);
    View Full Code Here

    Examples of com.antlersoft.ilanalyze.db.ILDB.findObject()

            Object q=db.findObject( DBClass.CLASS_BY_NAME_INDEX, _className);
            if ( q!=null)
                tmp.addElement( q);
            for ( Iterator i=_set.iterator(); i.hasNext() && q==null;)
            {
                q=db.findObject( DBClass.CLASS_BY_NAME_INDEX, ((String)i.next())+"."+_className);
                if ( q!=null)
                    tmp.addElement( q);
            }
            return tmp.elements();
       }
    View Full Code Here

    Examples of com.l2jfrozen.gameserver.model.L2World.findObject()

      @Override
      protected void runImpl()
      {
        L2World world = L2World.getInstance();
        L2ItemInstance item = (L2ItemInstance) world.findObject(_objectId);

        if(item == null || getClient().getActiveChar() == null)
          return;

        if(getClient().getActiveChar().getPet() instanceof L2SummonInstance)
    View Full Code Here

    Examples of com.volantis.xml.pipeline.sax.XMLPipelineContext.findObject()

            XMLPipelineContext pipelineContext =
                    dynamicProcess.getPipelineContext();

            // Get the model for containing template for bindings that reference
            // values in containing templates, may be null.
            TemplateModel containing = (TemplateModel) pipelineContext.findObject(
                    TemplateModel.class);

            // Create the template process and add it to the pipeline.
            TemplateProcess process = new TemplateProcess(containing);
            dynamicProcess.addProcess(process);
    View Full Code Here

    Examples of com.volantis.xml.pipeline.sax.XMLPipelineContext.findObject()

                Attributes attributes)
                throws SAXException {

            XMLPipelineContext context = dynamicProcess.getPipelineContext();

            TryModel model = (TryModel) context.findObject(TryProcess.class);
            model.startBlock(element);

            dynamicProcess.addErrorRecoveryPoint();

            return model;
    View Full Code Here

    Examples of com.volantis.xml.pipeline.sax.XMLPipelineContext.findObject()

         * @throws SAXException If the model could not be retrieved.
         */
        protected TemplateModel getModel(DynamicProcess dynamicProcess)
                throws SAXException {
            XMLPipelineContext context = dynamicProcess.getPipelineContext();
            TemplateModel model = (TemplateModel) context.findObject(
                    TemplateModel.class);

            if (model == null) {
                throw forwardFatalError(dynamicProcess,
                        "Missing template:apply operation");
    View Full Code Here

    Examples of com.volantis.xml.pipeline.sax.XMLPipelineContext.findObject()

                                   ExpandedName element, Attributes attributes) throws SAXException {

            XMLPipelineContext context = dynamicProcess.getPipelineContext();
            EndElementAction action = EndElementAction.DO_NOTHING;

            CacheProperties properties = (CacheProperties) context.
                    findObject(CacheProperties.class);

            if (properties != null) {

    View Full Code Here

    Examples of com.volantis.xml.pipeline.sax.XMLPipelineContext.findObject()

                ExpandedName element, Attributes attributes) throws SAXException {
           
            XMLPipelineContext context = dynamicProcess.getPipelineContext();
           
            CacheProperties properties =
                (CacheProperties) context.findObject(CacheProperties.class);

            if (properties == null) {
                forwardError(dynamicProcess, "Cache properties can not be found. "
                            + "Unexpected cacheKey element");
            } else {
    View Full Code Here

    Examples of com.volantis.xml.pipeline.sax.XMLPipelineContext.findObject()

        public Object startElement(DynamicProcess dynamicProcess,
                                   ExpandedName element, Attributes attributes) throws SAXException {

            XMLPipelineContext context = dynamicProcess.getPipelineContext();

            CacheProperties properties = (CacheProperties) context.
                    findObject(CacheProperties.class);

            if (properties == null) {
                forwardError(dynamicProcess, "Cache properties can not be " +
                        "found. Unexpected cacheControl element");
    View Full Code Here

    Examples of com.volantis.xml.pipeline.sax.XMLPipelineContext.findObject()

                DynamicProcess dynamicProcess,
                ExpandedName element, Attributes attributes) throws SAXException {

            XMLPipelineContext context = dynamicProcess.getPipelineContext();

            CacheProperties properties = (CacheProperties) context.
                    findObject(CacheProperties.class);

            if (properties == null) {
                forwardError(dynamicProcess, "Cache properties can not be found. " +
                        "Unexpected cacheInfo element");
    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.