parse(XMLStreamReader reader)
static method to create the object
Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable
If this object is not an element, it is a complex type and the reader is at the event just after the outer start element
Postcondition: If this object is an element, the reader is positioned at its end element
If this object is a complex type, the reader is positioned at the end element of its outer element

fromString

parse

static method to create the object
Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable
If this object is not an element, it is a complex type and the reader is at the event just after the outer start element
Postcondition: If this object is an element, the reader is positioned at its end element
If this object is a complex type, the reader is positioned at the end element of its outer element