public Content getSerializableMethods ( String heading , Content serializableMethodContent ) { Content headingContent = new StringContent ( heading ) ; Content serialHeading = HtmlTree . HEADING ( HtmlConstants . SERIALIZED_MEMBER_HEADING , headingContent ) ; Content li = HtmlTree . LI ( HtmlStyle . blockList , serialHeading ) ; li . addContent ( serializableMethodContent ) ; return li ; }
Add serializable methods .