Package com.volantis.mcs.xdime

Examples of com.volantis.mcs.xdime.ElementOutputState


    }

    protected ElementOutputStateBuilder createElementOutputStateBuilder(
            XDIMEContextInternal context, XDIMEAttributes attributes) {

        ElementOutputState parentState;
        if (parent == null) {
            parentState = null;
        } else {
            parentState = parent.getOutputState();
        }
View Full Code Here


    // Javadoc inherited
    public XDIMEResult doElementEnd(XDIMEContextInternal context)
            throws XDIMEException {

        // Call the protocol if the element has not been suppressed.
        ElementOutputState state = getOutputState();
        if ((!suppressedOrSkippedElement && !state.isSuppressing()) ||
                (!suppressedOrSkippedElement && forced)){
            callCloseOnProtocol(context);
        }
        dataHandlingStrategy.stopHandlingData(context);

        stylingStrategy.endElement(
                getStylingEngine(context), getNamespace(), getTagName());

        state.revert();

        return XDIMEResult.CONTINUE_PROCESSING;
    }
View Full Code Here

        // inactive.
        boolean suppressed = !containingModel.isActive();

        // Update the current (group) element's output state and store it in
        // the model (so that we can update the state if necessary).
        ElementOutputState state = getOutputState();
        state.setIsInactiveGroup(suppressed);
        containingModel.pushElementOutputState(state);

        return result;
    }
View Full Code Here

    // Javadoc inherited.
    public void updateAllGroups(boolean isInactiveGroup) {
        final int stateCount = elementOutputStates.size();
        for (int i = 0; i < stateCount; i++) {
            final ElementOutputState state =
                    (ElementOutputState) elementOutputStates.get(i);
            state.setIsInactiveGroup(isInactiveGroup);
        }
    }
View Full Code Here

TOP

Related Classes of com.volantis.mcs.xdime.ElementOutputState

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.