Annotation Type Namespaces


  • @Target({TYPE,FIELD,METHOD})
    @Retention(RUNTIME)
    public @interface Namespaces
    Annotation used to declare namespaces available to be used in XPATH expressions To support setting multiple namespaces with arbitrary prefixes the namespace and namespace prefix are held in as a single string value seperated by a colon. For example, "ns:http://tempuri.org" represents the namespace uri http://tempuri.org and the namespace prefix "ns", and the complete Namespaces annotation for that example would be @Namespaces({"ns:http://tempuri.org"})
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String[] value