Package com.volantis.mcs.integration.iapi

Examples of com.volantis.mcs.integration.iapi.IAPIElement


     * IAPI: Pop the IAPIElement from the top of the stack.
     *
     * @return The IAPIElement from the top of the stack
     */
    public IAPIElement popIAPIElement() {
        IAPIElement element = (IAPIElement) iapiElementStack.pop();
        if (logger.isDebugEnabled()) {
            logger.debug("IAPI stack: popped " + element);
        }
        return element;
    }
View Full Code Here


     * removing it from the stack.
     *
     * @return The IAPI element from the top of the stack
     */
    public IAPIElement peekIAPIElement() {
        IAPIElement element = (IAPIElement) iapiElementStack.peek();
        if (logger.isDebugEnabled()) {
            logger.debug("IAPI stack: peeked " + element);
        }
        return element;
    }
View Full Code Here

     */
    protected void callIAPIElementStart() throws SAXParseException {
        MarinerRequestContext requestContext =
            marlinContext.getInitialRequestContext();

        IAPIElement element = elementStackEntry.getElement();
        IAPIAttributes attributes = elementStackEntry.getAttributes();

        try {
            // Invoke the IAPIElement's elementStart method.
            int result = element.elementStart(requestContext, attributes);

            switch (result) {
                case IAPIConstants.PROCESS_ELEMENT_BODY:
                    // Do nothing.
                    break;
View Full Code Here

        // Get the current request context
        MarinerRequestContext requestContext =
            marlinContext.getInitialRequestContext();

        IAPIElement element = elementStackEntry.element;
        IAPIAttributes attributes = elementStackEntry.attributes;

        try {
            // Invoke the PAPIElement's elementEnd method.
            int result = element.elementEnd(requestContext, attributes);
       
            // Reset the element, make sure that it uses the same context as
            //was passed to the elementStart and elementEnd methods.
            element.elementReset(requestContext);
       
            // Reset the attributes.
            if (attributes != null) {
                attributes.reset();   
            }
View Full Code Here

TOP

Related Classes of com.volantis.mcs.integration.iapi.IAPIElement

Copyright © 2018 www.massapicom. 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.