This interface provides navigation over the reflection model to decouple the caller from any particular implementation. This allows the JAXB RI to reuse much of the code between the compile time (which works on top of APT) and the run-time (which works on top of {@code java.lang.reflect})
{@link Navigator} instances are stateless and immutable.
A Java class declaration (not an interface, a class and an enum.)
A Java type. This includs declaration, but also includes such things like arrays, primitive types, parameterized types, and etc. @author Kohsuke Kawaguchi (kk@kohsuke.org)
The view switching can be based e.g. on URI fragments containing the view name and parameters to the view. There are two types of parameters for views: an optional parameter string that is included in the fragment (may be bookmarkable).
Views can be explicitly registered or dynamically generated and listening to view changes is possible.
Note that {@link Navigator} is not a component itself but comes with{@link SimpleViewDisplay} which is a component that displays the selectedview as its contents. @author Vaadin Ltd @since 7.0
Navigator
class must also implement the NavigatorGeolocation
interface. An instance of NavigatorGeolocation
would be then obtained by using binding-specific casting methods on an instance of Navigator
. Note: This class must not have any sub-classes to ensure W3C Specifications are being strictly followed by the system or application that uses this geolocation package.
Every navigator does the specific task to classify, according to a number of StAX events, if the position in the tree matches specific values and therefore decides if they are true or false and returns this value.
There is a method to obtain a java.util.Iterator
, for each axis specified by XPath. If the target object model does not support the semantics of a particular axis, an {@link UnsupportedAxisException} is to be thrown.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|