Annotation Type XmlNamedObjectGraph


@Target(TYPE) @Retention(RUNTIME) public @interface XmlNamedObjectGraph
Purpose: Used to define the boundaries for a marshal or unmarhsal operation.
Author:
mmacivor
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The list of properties to be marshalled/unmarshalled for this graph.
    The name of this object graph.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Optional: a list of named subgraphs for any subclasses of this class.
    Optional: a list of named subgraphs that are referenced from the property entries.
  • Element Details

    • name

      String name
      The name of this object graph. Defaults to the name of the class
    • attributeNodes

      XmlNamedAttributeNode[] attributeNodes
      The list of properties to be marshalled/unmarshalled for this graph.
    • subgraphs

      XmlNamedSubgraph[] subgraphs
      Optional: a list of named subgraphs that are referenced from the property entries.
      Default:
      {}
    • subclassSubgraphs

      XmlNamedSubgraph[] subclassSubgraphs
      Optional: a list of named subgraphs for any subclasses of this class.
      Default:
      {}