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 TypeMethodDescriptionbooleanbooleanbooleanbooleanisTrim()voidsetAttribute(boolean attribute) voidsetContent(boolean content) voidvoidsetInsertParentFieldsUpTo(String insertParentFieldsUpTo) voidsetTagName(String tagName) voidsetTransient(boolean transientField) voidsetTrim(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
-