Annotation Type XmlSimpleName


  • @Documented
    @Target(TYPE)
    @Retention(RUNTIME)
    public @interface XmlSimpleName
    Denotes that a class is associated with the processing of a specifically named Xml element or attribute.

    A simple name, also often called local name, is the part of an Xml element or attribute name without the specified Xml namespace.

    For example: The simple name of the Xml element <example:h1> is "h1". The simple name of the Xml element <example> is "example".

    Typically an XmlSimpleName annotation is used to identify the Xml elements/attributes that ElementProcessors/AttributeProcessors can process with in a NamespaceHandler.

    Since:
    Coherence 12.1.2
    Author:
    bo 2012.09.14
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String value
      The simple name of the Xml element or attribute being associated with the class for processing.
    • Element Detail

      • value

        String value
        The simple name of the Xml element or attribute being associated with the class for processing.
        Returns:
        the simple name of an Xml element or attribute