/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.apache.wicket;

import org.apache.wicket.markup.IMarkupFragment;

/**
 * Demarcates components that act as a root can dequeue children. These are usually components with
 * associated markup since the markup is needed to dequeue.
 * 
 * It is also important to note that components queued outside of a region cannot be dequeued into
 * it since regions act as roots for the dequeue process because they contain the markup. As such,
 * for example, a component queued in a page cannot be dequeued into a page child that is a panel
 * because a panel is an {@link IQueueRegion}.
 * 
 * @author igor
 * 
 */
public interface IQueueRegion
{
	/**
	 * Gets the markup that will be used to dequeue components in this container. Usually containers
	 * will return their associated markup by simply delegating to
	 * {@link MarkupContainer#getAssociatedMarkup()}, but compoennts that do not render markup in a
	 * standard way (such as repeaters and borders) may choose to override this method to implement
	 * custom behavior for the dequeuing process.
	 */
	public IMarkupFragment getDequeueMarkup();

	/**
	 * Starts component dequeueing on this {@link IQueueRegion}. This is the entry point into the
	 * dequeuing process, it creates the {@link DequeueContext} and delegates the opreation to the
	 * {@link #dequeue(DequeueContext)} method which performs the actual dequeuing. The context's
	 * markup is retrieved using the {@link #getDequeueMarkup()} method which allows subclasses to
	 * provide dequeueing-specific markup.
	 */
	public void dequeue();
}

@@ -1672,18 +1672,18 @@
 ut compo
-e
 n
+e
 nts that
@@ -1836,24 +1836,25 @@
 r the dequeu
+e
 ing process.
@@ -2085,18 +2085,18 @@
 s the op
-r
 e
+r
 ation to
@@ -2111,16 +2111,49 @@
  %7B@link 
+org.apache.wicket.MarkupContainer
 #dequeue
@@ -2195,16 +2195,20 @@
 orms the
+%0A%09 *
  actual 
@@ -2213,16 +2213,17 @@
 l dequeu
+e
 ing. The
@@ -2232,20 +2232,16 @@
 ontext's
-%0A%09 *
  markup 
@@ -2290,16 +2290,20 @@
 arkup()%7D
+%0A%09 *
  method 
@@ -2328,20 +2328,16 @@
 asses to
-%0A%09 *
  provide

Fix typos in javadoc