Examples of pushObject()


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

        dynamicProcess.addProcess(process);

        // Push the template model onto the stack so it can be picked up by
        // nested elements.
        TemplateModel model = process;
        pipelineContext.pushObject(model, false);

        // Start the template.
        model.startTemplate();

        // The presence or absence of the href attribute determines the gross
View Full Code Here

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

        });
        dynamicProcess.addProcess(process);

        TryModel model = process;
        XMLPipelineContext context = dynamicProcess.getPipelineContext();
        context.pushObject(model, false);

        model.startTry();

        return process;
    }
View Full Code Here

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

            } else {
                CacheProperties properties = new CacheProperties();
                properties.setCacheName(cacheName);
                properties.setFixedExpiryMode(fixedExpiryMode);
                properties.setMaxWaitTime(maxWaitTime);
                context.pushObject(properties, false);

                action = new EndElementAction() {
                    public void doAction(DynamicProcess dynamicProcess)
                            throws SAXException {
View Full Code Here

Examples of org.apache.joran.ExecutionContext.pushObject()

   * */
  public void doConfigure(
    InputSource inputSource, LoggerRepository repository) {
    this.repository = repository;
    ExecutionContext ec = joranInterpreter.getExecutionContext();
    ec.pushObject(repository);
    String errMsg;
    try {
      attachListAppender(repository);

      getLogger(repository).debug("Starting to parse input source.");
View Full Code Here

Examples of org.apache.log4j.joran.spi.ExecutionContext.pushObject()

      errorList.add(
        new ErrorItem(errMsg));
      return;
    }
   
    ec.pushObject(repository);
    String errMsg;
    try {
      attachListAppender(repository);
     
      document.replay(joranInterpreter);
View Full Code Here

Examples of org.apache.log4j.joran.spi.ExecutionContext.pushObject()

      errorList.add(
        new ErrorItem(errMsg));
      return;
    }
   
    ec.pushObject(repository);
    String errMsg;
    try {
      attachListAppender(repository);
     
      document.replay(joranInterpreter);
View Full Code Here

Examples of org.apache.pdfbox.preflight.PreflightPath.pushObject()

     */
    private static void callValidation(PreflightContext context, Object element, String processName)
    throws ValidationException
    {
        PreflightPath validationPath = context.getValidationPath();
        boolean needPop = validationPath.pushObject(element);
        PreflightConfiguration config = context.getConfig();
        ValidationProcess process = config.getInstanceOfProcess(processName);
        process.validate(context);
        if (needPop) {
            validationPath.pop();
View Full Code Here

Examples of org.apache.pdfbox.preflight.PreflightPath.pushObject()

     */
    private static void callValidation(PreflightContext context, Object element, String processName)
    throws ValidationException
    {
        PreflightPath validationPath = context.getValidationPath();
        boolean needPop = validationPath.pushObject(element);
        PreflightConfiguration config = context.getConfig();
        ValidationProcess process = config.getInstanceOfProcess(processName);
        process.validate(context);
        if (needPop) {
            validationPath.pop();
View Full Code Here

Examples of org.apache.pdfbox.preflight.PreflightPath.pushObject()

        {
            throw new ValidationException("Unable to process an element without context.");
        }

        PreflightPath validationPath = context.getValidationPath();
        boolean needPop = validationPath.pushObject(element);
        PreflightConfiguration config = context.getConfig();
        ValidationProcess process = config.getInstanceOfProcess(processName);
        process.validate(context);
        if (needPop)
            validationPath.pop();
View Full Code Here

Examples of org.jibx.runtime.IUnmarshallingContext.pushObject()

            BindingDirectory.getFactory(bindname, "org.jibx.binding.model");
       
        // unmarshal document to construct objects
        IUnmarshallingContext uctx = bfact.createUnmarshallingContext();
        uctx.setDocument(is, fname, null);
        uctx.pushObject(new UnmarshalWrapper(vctx, contain));
        BindingElement binding = new BindingElement();
        binding.setPrecompiled(precomp);
        ((IUnmarshallable)binding).unmarshal(uctx);
        uctx.popObject();
        return binding;
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.