Annotation Type Namespace


  • @Retention(RUNTIME)
    @Target(TYPE)
    public @interface Namespace
    Declares a namespace for use in the content repository. Namespaces have a repository wide scope and are not private to the current WCB. The prefix and URI attributes have the same meaning as described in the JSR-170 specificication 1.0.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String prefix
      The namespace prefix.
      String URI
      The URI which identifies this namespace.
    • Element Detail

      • prefix

        String prefix
        The namespace prefix. (e.g. "nt").
      • URI

        String URI
        The URI which identifies this namespace. (e.g. "http://www.jcp.org/jcr/sv/1.0")