Class DefaultExtensibilityContent
- java.lang.Object
-
- org.springframework.extensions.surf.extensibility.impl.DefaultExtensibilityContent
-
- All Implemented Interfaces:
ExtensibilityContent
public class DefaultExtensibilityContent extends java.lang.Object implements ExtensibilityContent
The default
ExtensibilityContentimplementation. This class basically wraps aStringBuilderand delegates to itsappendandflushmethods- Author:
- David Draper
-
-
Constructor Summary
Constructors Constructor Description DefaultExtensibilityContent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidflush()Should be implemented to flush the content that has been constructedjava.lang.StringtoString()voidwrite(char[] cbuf)voidwrite(char[] cbuf, int off, int len)Should be implemented to allow content to be appended
-
-
-
Method Detail
-
write
public void write(char[] cbuf) throws java.io.IOException- Throws:
java.io.IOException
-
flush
public void flush()
Description copied from interface:ExtensibilityContentShould be implemented to flush the content that has been constructed
- Specified by:
flushin interfaceExtensibilityContent
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
write
public void write(char[] cbuf, int off, int len) throws java.io.IOExceptionDescription copied from interface:ExtensibilityContentShould be implemented to allow content to be appended
- Specified by:
writein interfaceExtensibilityContent- Throws:
java.io.IOException
-
-