public Content getSerializableFields ( String heading , Content serializableFieldsTree ) { HtmlTree li = new HtmlTree ( HtmlTag . LI ) ; li . addStyle ( HtmlStyle . blockList ) ; if ( serializableFieldsTree . isValid ( ) ) { Content headingContent = new StringContent ( heading ) ; Content serialHeading = HtmlTree . HEADING ( HtmlConstants . SERIALIZED_MEMBER_HEADING , headingContent ) ; li . addContent ( serialHeading ) ; li . addContent ( serializableFieldsTree ) ; } return li ; }
Add serializable fields .