/** * Save the new open tag state and find the iterator to continue to use for processing. * * @param iteratorStack * The current stack of iterators * @param expectedElements * The current iterator of elements * @param tagNameStack * The stack of open tags * @return The iterator to continue to use */ private Iterator saveOpenTagState(ArrayListStack iteratorStack, Iterator expectedElements, ArrayListStack tagNameStack) { if (!isNonClosedTag(workingTag.getTag())) { iteratorStack.push(expectedElements); expectedElements = workingTag.getExpectedChildren().iterator(); tagNameStack.push(workingTag.getTag()); } return expectedElements; }
requestTargets.push(requestTarget);
/** * THIS METHOD IS NOT PART OF THE WICKET PUBLIC API. DO NOT CALL IT. * <p> * Responds to a request with the request target. * * @param target * request target */ public final void request(IRequestTarget target) { checkReuse(); // set it as the current target, on the top of the stack requestTargets.push(target); // set start step currentStep = PROCESS_EVENTS; // loop through steps steps(); }
requestTargets.push(requestTarget);
/** * Save the new open tag state and find the iterator to continue to use for processing. * * @param iteratorStack * The current stack of iterators * @param expectedElements * The current iterator of elements * @param tagNameStack * The stack of open tags * @return The iterator to continue to use */ private Iterator<DocumentElement> saveOpenTagState( ArrayListStack<Iterator<DocumentElement>> iteratorStack, Iterator<DocumentElement> expectedElements, ArrayListStack<String> tagNameStack) { if (!isNonClosedTag(workingTag.getTag())) { iteratorStack.push(expectedElements); expectedElements = workingTag.getExpectedChildren().iterator(); tagNameStack.push(workingTag.getTag()); } return expectedElements; }
/** * Save the new open tag state and find the iterator to continue to use for processing. * * @param iteratorStack * The current stack of iterators * @param expectedElements * The current iterator of elements * @param tagNameStack * The stack of open tags * @return The iterator to continue to use */ private Iterator<DocumentElement> saveOpenTagState( ArrayListStack<Iterator<DocumentElement>> iteratorStack, Iterator<DocumentElement> expectedElements, ArrayListStack<String> tagNameStack) { if (!isNonClosedTag(workingTag.getTag())) { iteratorStack.push(expectedElements); expectedElements = workingTag.getExpectedChildren().iterator(); tagNameStack.push(workingTag.getTag()); } return expectedElements; }
/** * THIS METHOD IS NOT PART OF THE WICKET PUBLIC API. DO NOT CALL IT. * <p> * Responds to a request with the request target. * * @param target * request target */ public final void request(IRequestTarget target) { checkReuse(); // set it as the current target, on the top of the stack if (target != null) { requestTargets.push(target); } // set start step currentStep = PROCESS_EVENTS; // loop through steps steps(); }
/** * @see org.apache.wicket.extensions.wizard.IWizardModel#last() */ public void last() { history.push(getActiveStep()); IWizardStep lastStep = findLastStep(); setActiveStep(lastStep); }
/** * @see org.apache.wicket.extensions.wizard.IWizardModel#next() */ public void next() { history.push(getActiveStep()); IWizardStep step = findNextVisibleStep(); setActiveStep(step); }
changeListStack.push(changeList);
changeListStack.push(changeList);
/** * @param entry * Entry that was accessed */ private final void pushAccess(IPageMapEntry entry) { // Create new access entry final Access access = new Access(); access.id = entry.getNumericId(); access.version = versionOf(entry); if (accessStack.size() > 0) { if (peekAccess().equals(access)) { return; } int index = accessStack.indexOf(access); if (index >= 0) { accessStack.remove(index); } } accessStack.push(access); dirty(); }
/** * @param entry * Entry that was accessed */ private final void pushAccess(IPageMapEntry entry) { // Create new access entry final Access access = new Access(); access.id = entry.getNumericId(); access.version = versionOf(entry); if (accessStack.size() > 0) { if (peekAccess().equals(access)) { return; } int index = accessStack.indexOf(access); if (index >= 0) { accessStack.remove(index); } } accessStack.push(access); dirty(); }
autolinkStatus.push(Boolean.valueOf(autolinking));
closeTag.closes(tag); stack.push(new ComponentTag(closeTag));
autolinkStatus.push(autolinking);