Class XmlAttributeTrait
- java.lang.Object
-
- software.amazon.smithy.model.traits.AnnotationTrait
-
- software.amazon.smithy.model.traits.XmlAttributeTrait
-
- All Implemented Interfaces:
FromSourceLocation
,ToNode
,ToShapeId
,Trait
public final class XmlAttributeTrait extends AnnotationTrait
Marks a structure member to be serialized to/from an XML attribute.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
XmlAttributeTrait.Provider
-
Constructor Summary
Constructors Constructor Description XmlAttributeTrait()
XmlAttributeTrait(ObjectNode node)
-
Method Summary
-
Methods inherited from class software.amazon.smithy.model.traits.AnnotationTrait
equals, getSourceLocation, hashCode, toNode, toShapeId
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.smithy.model.traits.Trait
isSynthetic
-
-
-
-
Field Detail
-
ID
public static final ShapeId ID
-
-
Constructor Detail
-
XmlAttributeTrait
public XmlAttributeTrait(ObjectNode node)
-
XmlAttributeTrait
public XmlAttributeTrait()
-
-