Examples of popOutputBuffer()


Examples of com.volantis.mcs.context.MarinerPageContext.popOutputBuffer()

        // Get the page context.
        MarinerPageContext pageContext
                = ContextInternals.getMarinerPageContext(context);

        // pop the Pane & OutputBuffer form the pageContext stacks.
        pageContext.popOutputBuffer(pattributes.getOutputBuffer());
        pageContext.popContainerInstance(paneInstance);

        return CONTINUE_PROCESSING;
    }
View Full Code Here

Examples of com.volantis.mcs.context.MarinerPageContext.popOutputBuffer()

    // Javadoc inherited
    protected void callCloseOnProtocol(XDIMEContextInternal context) {

        final MarinerPageContext pageContext = getPageContext(context);
        pageContext.popOutputBuffer(bodyContentBuffer);

        // We store the canvas initialisation data on the grandparent html
        // element. So get a reference to the grandparent html element.
        Stack elementStack = ((XDIMEContextImpl)context).getStack();
        int stackSize = elementStack.size();
View Full Code Here

Examples of com.volantis.mcs.context.MarinerPageContext.popOutputBuffer()

        // end of the doElementStart() method.
        pageContext.popContainerInstance(anonymousRegionInstance);     

        OutputBuffer anonymousBuffer =
                anonymousRegionInstance.getCurrentBuffer();
        pageContext.popOutputBuffer(anonymousBuffer);
       
        DeviceLayoutContext layoutToPop = pageContext.getDeviceLayoutContext();       
       
        pageContext.popDeviceLayoutContext();               
View Full Code Here

Examples of com.volantis.mcs.context.MarinerPageContext.popOutputBuffer()

        if (outputBufferPushed) {
            final MarinerPageContext pageContext =
                ContextInternals.getMarinerPageContext(
                    context.getInitialRequestContext());
            pageContext.popOutputBuffer(bodyContentBuffer);
        }
    }

    /**
     * Returns the output buffer that contains the content. This method should
View Full Code Here

Examples of com.volantis.mcs.context.MarinerPageContext.popOutputBuffer()

        final DOMOutputBuffer buffer = (DOMOutputBuffer) preBufferStack.pop();
        // close the pre tag
        closePre(buffer, attributes);
        // closePre removed any additional output buffers from the stack, so
        // <code>buffer</code> must be the next
        pageContext.popOutputBuffer(buffer);
        // add the content buffer to the current output buffer
        final DOMOutputBuffer parentBuffer =
            (DOMOutputBuffer) pageContext.getCurrentOutputBuffer();
        parentBuffer.addOutputBuffer(buffer);
    }
View Full Code Here

Examples of com.volantis.mcs.context.MarinerPageContext.popOutputBuffer()

        try {
            // Pop the anonymous region buffer that was pushed on at the
            // end of the openCanvas() method.
            OutputBuffer anonymousBuffer =
                    anonymousRegionInstance.getCurrentBuffer();
            pageContext.popOutputBuffer(anonymousBuffer);

            pageContext.endPhase1BeginPhase2();

            protocol.closeCanvasPage(canvasAttributes);
View Full Code Here

Examples of com.volantis.mcs.context.MarinerPageContext.popOutputBuffer()

    // Javadoc inherited
    protected void callCloseOnProtocol(XDIMEContextInternal context) {

        final MarinerPageContext pageContext = getPageContext(context);
        pageContext.popOutputBuffer(bodyContentBuffer);

        // Get the textual script. Should be easy as handler is PCDATA.
        String script = bodyContentBuffer.getPCDATAValue();
        if (script != null) {
            // Turn the textual script into a literal script reference.
View Full Code Here

Examples of com.volantis.mcs.context.MarinerPageContext.popOutputBuffer()

    // Javadoc inherited.
    public void stopHandlingData(XDIMEContextInternal context) {
        MarinerPageContext pageContext =
                 ContextInternals.getMarinerPageContext(
                         context.getInitialRequestContext());
        pageContext.popOutputBuffer(content);

        // by this point the current element is this element's parent...
        StylableXDIMEElement labelParent =
                (StylableXDIMEElement)context.getCurrentElement();
View Full Code Here

Examples of com.volantis.mcs.context.MarinerPageContext.popOutputBuffer()

    // Javadoc inherited.
    protected void callCloseOnProtocol(XDIMEContextInternal context)
        throws XDIMEException {

        final MarinerPageContext pageContext = getPageContext(context);       
        pageContext.popOutputBuffer(bodyContentBuffer);
               
        // URIs with device dependent types (e.g. image/gif) are handled
        // differently to URIs with device independent types (e.g
        // application/x-mcs-image). Note that all types apart from the x-mcs-*
        // types are assumed to be device dependent.
View Full Code Here

Examples of com.volantis.mcs.context.MarinerPageContext.popOutputBuffer()

    // Javadoc inherited
    protected void callCloseOnProtocol(final XDIMEContextInternal context)
            throws XDIMEException {

        final MarinerPageContext pageContext = getPageContext(context);
        pageContext.popOutputBuffer(bodyContentBuffer);

        if (scriptAttributes.getScriptReference() == null) {
            // Get the textual script.
            String script = bodyContentBuffer.getPCDATAValue();
            if (script != 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.