public static class ExtensibleAttributes.AttributeBuilder
extends Object
implements Serializable
This builder is implemented because the XOM attribute does not have a no-arg constructor which can be hooked into a LazyList. Because the Builder returns a XOM attribute instead of an IDDMSComponent, it does not officially implement the IBuilder interface.
IBuilder
,
Serialized FormConstructor and Description |
---|
AttributeBuilder()
Empty constructor
|
AttributeBuilder(nu.xom.Attribute attribute)
Constructor which starts from an existing component.
|
Modifier and Type | Method and Description |
---|---|
nu.xom.Attribute |
commit() |
String |
getName()
Builder accessor for the name
|
nu.xom.Attribute.Type |
getType()
Builder accessor for the type
|
String |
getUri()
Builder accessor for the uri
|
String |
getValue()
Builder accessor for the value
|
boolean |
isEmpty() |
void |
setName(String name)
Builder accessor for the name
|
void |
setType(nu.xom.Attribute.Type type)
Builder accessor for the type
|
void |
setUri(String uri)
Builder accessor for the uri
|
void |
setValue(String value)
Builder accessor for the value
|
public AttributeBuilder()
public AttributeBuilder(nu.xom.Attribute attribute)
public nu.xom.Attribute commit() throws InvalidDDMSException
InvalidDDMSException
IBuilder.commit()
public boolean isEmpty()
IBuilder.isEmpty()
public String getName()
public void setName(String name)
public String getUri()
public void setUri(String uri)
public String getValue()
public void setValue(String value)
public nu.xom.Attribute.Type getType()
public void setType(nu.xom.Attribute.Type type)
Copyright 2010 - 2019 by Brian Uri!
Generated on 09/15/2016 12:36 PM
https://ddmsence.urizone.net/