org.codehaus.modello.plugins.xml

Class XmlFieldMetadata

Implemented Interfaces:
FieldMetadata, Metadata

public class XmlFieldMetadata
extends java.lang.Object
implements FieldMetadata

Version:
$Id: XmlFieldMetadata.java 674 2006-11-15 08:19:45Z brett $
Author:
Trygve Laugstøl

Field Summary

static String
ID
static String
LIST_STYLE_FLAT
static String
LIST_STYLE_WRAPPED

Method Summary

String
getAssociationTagName()
String
getFormat()
String
getListStyle()
String
getTagName()
boolean
isAttribute()
boolean
isTrim()
void
setAssociationTagName(String associationTagName)
void
setAttribute(boolean attribute)
void
setFormat(String format)
void
setListStyle(String listStyle)
void
setTagName(String tagName)
void
setTrim(boolean trim)

Field Details

ID

public static final String ID

LIST_STYLE_FLAT

public static final String LIST_STYLE_FLAT

LIST_STYLE_WRAPPED

public static final String LIST_STYLE_WRAPPED

Method Details

getAssociationTagName

public String getAssociationTagName()

getFormat

public String getFormat()

getListStyle

public String getListStyle()

getTagName

public String getTagName()
Returns:
Returns the tag name or the attribute name if it's an attribute.

isAttribute

public boolean isAttribute()
Returns:
Returns the attribute.

isTrim

public boolean isTrim()

setAssociationTagName

public void setAssociationTagName(String associationTagName)

setAttribute

public void setAttribute(boolean attribute)
Parameters:
attribute - The attribute to set.

setFormat

public void setFormat(String format)

setListStyle

public void setListStyle(String listStyle)

setTagName

public void setTagName(String tagName)
Parameters:
tagName - The tag or attribute name to set.

setTrim

public void setTrim(boolean trim)