Class XmlFieldMetadata
java.lang.Object
org.codehaus.modello.plugins.xml.metadata.XmlFieldMetadata
- All Implemented Interfaces:
FieldMetadata
,Metadata
- Author:
- Trygve Laugstøl
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
isTrim()
void
setAttribute
(boolean attribute) void
setContent
(boolean content) void
void
setInsertParentFieldsUpTo
(String insertParentFieldsUpTo) void
setTagName
(String tagName) void
setTransient
(boolean transientField) void
setTrim
(boolean trim)
-
Field Details
-
ID
-
-
Constructor Details
-
XmlFieldMetadata
public XmlFieldMetadata()
-
-
Method Details
-
getFormat
-
setFormat
-
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
- Returns:
- Returns the tag name or the attribute name if it's an attribute.
-
setTagName
- Parameters:
tagName
- The tag or attribute name to set.
-
isTransient
public boolean isTransient() -
setTransient
public void setTransient(boolean transientField) -
getInsertParentFieldsUpTo
-
setInsertParentFieldsUpTo
-