Class XmlFieldMetadata
- java.lang.Object
-
- org.codehaus.modello.plugins.xml.metadata.XmlFieldMetadata
-
- All Implemented Interfaces:
FieldMetadata
,Metadata
public class XmlFieldMetadata extends java.lang.Object implements FieldMetadata
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
attribute
private boolean
content
private java.lang.String
format
static java.lang.String
ID
private java.lang.String
insertParentFieldsUpTo
private java.lang.String
tagName
private boolean
transientField
private boolean
trim
-
Constructor Summary
Constructors Constructor Description XmlFieldMetadata()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getFormat()
java.lang.String
getInsertParentFieldsUpTo()
java.lang.String
getTagName()
boolean
isAttribute()
boolean
isContent()
boolean
isTransient()
boolean
isTrim()
void
setAttribute(boolean attribute)
void
setContent(boolean content)
void
setFormat(java.lang.String format)
void
setInsertParentFieldsUpTo(java.lang.String insertParentFieldsUpTo)
void
setTagName(java.lang.String tagName)
void
setTransient(boolean transientField)
void
setTrim(boolean trim)
-
-
-
Field Detail
-
ID
public static final java.lang.String ID
-
attribute
private boolean attribute
-
content
private boolean content
-
tagName
private java.lang.String tagName
-
trim
private boolean trim
-
format
private java.lang.String format
-
transientField
private boolean transientField
-
insertParentFieldsUpTo
private java.lang.String insertParentFieldsUpTo
-
-
Method Detail
-
getFormat
public java.lang.String getFormat()
-
setFormat
public void setFormat(java.lang.String format)
-
isTrim
public boolean isTrim()
-
setTrim
public void setTrim(boolean trim)
-
isAttribute
public boolean isAttribute()
- Returns:
- Returns the attribute.
-
setAttribute
public void setAttribute(boolean attribute)
- Parameters:
attribute
- The attribute to set.
-
isContent
public boolean isContent()
-
setContent
public void setContent(boolean content)
-
getTagName
public java.lang.String getTagName()
- Returns:
- Returns the tag name or the attribute name if it's an attribute.
-
setTagName
public void setTagName(java.lang.String tagName)
- Parameters:
tagName
- The tag or attribute name to set.
-
isTransient
public boolean isTransient()
-
setTransient
public void setTransient(boolean transientField)
-
getInsertParentFieldsUpTo
public java.lang.String getInsertParentFieldsUpTo()
-
setInsertParentFieldsUpTo
public void setInsertParentFieldsUpTo(java.lang.String insertParentFieldsUpTo)
-
-