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.
  • Field Details

    • ID

      public static final ShapeId ID
  • Constructor Details

    • XmlAttributeTrait

      public XmlAttributeTrait(ObjectNode node)
    • XmlAttributeTrait

      public XmlAttributeTrait()