public final class XmlNamespaceTrait extends AbstractTrait implements ToSmithyBuilder<XmlNamespaceTrait>
Modifier and Type | Class and Description |
---|---|
static class |
XmlNamespaceTrait.Builder
Builder used to create an XmlNamespace trait.
|
static class |
XmlNamespaceTrait.Provider |
Modifier and Type | Method and Description |
---|---|
static XmlNamespaceTrait.Builder |
builder() |
protected Node |
createNode()
The result of toNode is used for hashCodes and equality.
|
java.util.Optional<java.lang.String> |
getPrefix() |
java.lang.String |
getUri() |
XmlNamespaceTrait.Builder |
toBuilder()
Take this object and create a builder that contains all of the
current property values of this object.
|
equals, getSourceLocation, hashCode, setNodeCache, toNode, toShapeId, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
flatMapStream, getIdiomaticTraitName, getIdiomaticTraitName, isSynthetic, makeAbsoluteName, makeAbsoluteName
public static final ShapeId ID
public java.lang.String getUri()
public java.util.Optional<java.lang.String> getPrefix()
protected Node createNode()
AbstractTrait
createNode
in class AbstractTrait
public static XmlNamespaceTrait.Builder builder()
public XmlNamespaceTrait.Builder toBuilder()
ToSmithyBuilder
toBuilder
in interface ToSmithyBuilder<XmlNamespaceTrait>