|
Betty v1.1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectchristophedelory.betty.xml.Child
christophedelory.betty.xml.AbstractMetadataDetails
public abstract class AbstractMetadataDetails
A metadata, associated to a locale.
MetadataBean
,
Serialized FormConstructor Summary | |
---|---|
AbstractMetadataDetails()
|
Method Summary | |
---|---|
void |
accept(XmlVisitor visitor)
Accepts the specified XML visitor. |
String |
getLocaleName()
Returns the locale name. |
abstract String |
getType()
Returns the type of this metadata. |
String |
getValue()
Returns the value of this metadata. |
void |
setLocaleName(String localeName)
Initializes the locale name. |
void |
setValue(String value)
Initializes the value of this metadata. |
Methods inherited from class christophedelory.betty.xml.Child |
---|
getParent, getRoot, getRoot, getVersion, setParent, setVersion |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractMetadataDetails()
Method Detail |
---|
public void setLocaleName(String localeName)
localeName
- the name of a locale, with the language, country and variant separated by underbars. Case insensitive. May be null
.getLocaleName()
public String getLocaleName()
null
.setLocaleName(String)
public void setValue(String value)
value
- a metadata value. Shall not be null
.
NullPointerException
- if value
is null
.getValue()
public String getValue()
null
.setValue(String)
public abstract String getType()
null
.public void accept(XmlVisitor visitor) throws Exception
visitor
- a visitor. Shall not be null
.
NullPointerException
- if visitor
is null
.
Exception
- if any error occurs during the visit.
|
© 2008-2009 Christophe Delory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |