Class ContentTest
java.lang.Object
org.codehaus.modello.test.features.ContentTest
- All Implemented Interfaces:
Serializable
A model class that has only XMl attributes fields and exactly
one field with
Content type.- Version:
- $Revision$ $Date$
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAttr()Get an XML attribute.intgetAttr2()Get a 2nd XML attribute.Get the field of the class withContenttype.voidSet an XML attribute.voidsetAttr2(int attr2) Set a 2nd XML attribute.voidsetContent(String content) Set the field of the class withContenttype.
-
Field Details
-
-
attr
-
attr2
A 2nd XML attribute.
-
-
Constructor Details
-
ContentTest
public ContentTest()
-
-
Method Details
-
getAttr
-
getAttr2
-
getContent
-
setAttr
-
setAttr2
-
setContent
Set the field of the class withContenttype.- Parameters:
content- a content object.
-