public final class XmlObject extends Component implements ToSmithyBuilder<XmlObject>
Modifier and Type | Class and Description |
---|---|
static class |
XmlObject.Builder |
Modifier and Type | Method and Description |
---|---|
static XmlObject.Builder |
builder() |
protected ObjectNode.Builder |
createNodeBuilder() |
java.util.Optional<java.lang.String> |
getName() |
java.util.Optional<java.lang.String> |
getNamespace() |
java.util.Optional<java.lang.String> |
getPrefix() |
boolean |
isAttribute() |
boolean |
isWrapped() |
XmlObject.Builder |
toBuilder()
Take this object and create a builder that contains all of the
current property values of this object.
|
equals, getExtension, getExtensions, hashCode, toNode
public static XmlObject.Builder builder()
public java.util.Optional<java.lang.String> getName()
public java.util.Optional<java.lang.String> getNamespace()
public java.util.Optional<java.lang.String> getPrefix()
public boolean isAttribute()
public boolean isWrapped()
protected ObjectNode.Builder createNodeBuilder()
createNodeBuilder
in class Component
public XmlObject.Builder toBuilder()
ToSmithyBuilder
toBuilder
in interface ToSmithyBuilder<XmlObject>