org.jboss.shrinkwrap.descriptor.api.webcommon30
Interface OrderingType<T>

All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
All Known Implementing Classes:
OrderingTypeImpl

public interface OrderingType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>

This interface defines the contract for the orderingType xsd type

Original Documentation:



Please see section 8.2.2 of the specification for details.


Since:
Generation date :2011-07-19T22:55:02.759+02:00
Author:
Ralf Battenfeld

Method Summary
 OrderingOrderingType<OrderingType<T>> after()
          If not already created, a new after element will be created and returned.
 OrderingOrderingType<OrderingType<T>> before()
          If not already created, a new before element will be created and returned.
 OrderingType<T> removeAfter()
          Removes the after element
 OrderingType<T> removeBefore()
          Removes the before element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

removeAfter

OrderingType<T> removeAfter()
Removes the after element

Returns:
the current instance of OrderingType

after

OrderingOrderingType<OrderingType<T>> after()
If not already created, a new after element will be created and returned. Otherwise, the existing after element will be returned.

Returns:
the node defined for the element after

removeBefore

OrderingType<T> removeBefore()
Removes the before element

Returns:
the current instance of OrderingType

before

OrderingOrderingType<OrderingType<T>> before()
If not already created, a new before element will be created and returned. Otherwise, the existing before element will be returned.

Returns:
the node defined for the element before