org.codehaus.modello.plugins.xml

Class XmlFieldMetadata

public class XmlFieldMetadata extends Object implements FieldMetadata

Version: $Id: XmlFieldMetadata.java 674 2006-11-15 08:19:45Z brett $

Author: Trygve Laugstøl

Field Summary
static StringID
static StringLIST_STYLE_FLAT
static StringLIST_STYLE_WRAPPED
Method Summary
StringgetAssociationTagName()
StringgetFormat()
StringgetListStyle()
StringgetTagName()
booleanisAttribute()
booleanisTrim()
voidsetAssociationTagName(String associationTagName)
voidsetAttribute(boolean attribute)
voidsetFormat(String format)
voidsetListStyle(String listStyle)
voidsetTagName(String tagName)
voidsetTrim(boolean trim)

Field Detail

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 Detail

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)
Copyright © 2001-2009 Codehaus. All Rights Reserved.