The
HyphenBuilder
is used to represent an XML style
that can be applied to a serialized object. A style can be used to
modify the element and attribute names for the generated document.
This styles can be used to generate hyphenated XML.
<example-element>
<child-element example-attribute='example'>
<inner-element>example</inner-element>
</child-element>
</example-element>
Above the hyphenated XML elements and attributes can be generated
from a style implementation. Styles enable the same objects to be
serialized in different ways, generating different styles of XML
without having to modify the class schema for that object.