Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
HydraExpress XML Binding Development Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

8.7 Top-level Elements

HydraExpress does not generate classes for top-level elements of simple type.

Top-level elements with a type attribute that specifies a named complex type result in a class that represents the type. The class inherits from the class that represents the complex type.

The top-level element class provides a DefaultElementName that contains the name of the element. Further, the class provides marshal and unmarshal methods that correctly unmarshal the element. The class inherits all other functions from the class created to represent the named complex type.

If the top element name is the same as a file name in the default namespace, HydraExpress renames it elementnameElement.



Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved. All Rights Reserved. Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. HydraExpress is a trademark of Rogue Wave Software, Inc. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.