| java.lang.Object org.wings.externalizer.AbstractExternalizeManager org.wings.externalizer.ExternalizeManager
Method Summary | |
final public void | addDefaultExternalizers() | public void | addExternalizer(Externalizer externalizer) Adds an externalizer. | public void | addExternalizer(Externalizer externalizer, String mimeType) | public void | clear() | public String | externalize(Object obj) | public String | externalize(Object obj, Collection headers) | public String | externalize(Object obj, int flags) | public String | externalize(Object obj, Collection headers, int flags) | public String | externalize(Object obj, String mimeType) | public String | externalize(Object obj, String mimeType, Collection headers) | public String | externalize(Object obj, String mimeType, int flags) | public String | externalize(Object obj, String mimeType, Collection headers, int flags) | final public Object | getExternalizedObject(String identifier) | final public ExternalizedResource | getExternalizedResource(String identifier) | public Externalizer | getExternalizer(Class c) Returns an object externalizer for a class. | public Externalizer | getExternalizer(String mimeType) | final public void | removeExternalizedResource(String identifier) | final protected void | storeExternalizedResource(String identifier, ExternalizedResource extInfo) |
ExternalizeManager | public ExternalizeManager()(Code) | | |
ExternalizeManager | public ExternalizeManager(boolean initWithDefaultExternalizers)(Code) | | |
addDefaultExternalizers | final public void addDefaultExternalizers()(Code) | | |
addExternalizer | public void addExternalizer(Externalizer externalizer)(Code) | | Adds an externalizer. If an externalizer is already
registered for a class or a mime type, it will be replaced.
|
clear | public void clear()(Code) | | |
getExternalizer | public Externalizer getExternalizer(Class c)(Code) | | Returns an object externalizer for a class. If one could not be found,
it goes down the inheritance tree and looks for an object externalizer
for the super classes. If one still could not be found, it goes
through the list of interfaces of the class and checks for object
externalizers for every interface. If this also doesn't return an
object externalizer, null is returned.
|
getExternalizer | public Externalizer getExternalizer(String mimeType)(Code) | | returns an object externalizer for a mime type
|
removeExternalizedResource | final public void removeExternalizedResource(String identifier)(Code) | | |
Methods inherited from org.wings.externalizer.AbstractExternalizeManager | public void clear()(Code)(Java Doc) final protected String createIdentifier()(Code)(Java Doc) public void deliver(String identifier, HttpServletResponse response, Device out) throws IOException(Code)(Java Doc) public void deliver(ExternalizedResource extInfo, HttpServletResponse response, Device out) throws IOException(Code)(Java Doc) public String externalize(Object obj, Externalizer externalizer)(Code)(Java Doc) public String externalize(Object obj, Externalizer externalizer, Collection headers)(Code)(Java Doc) public String externalize(Object obj, Externalizer externalizer, int flags)(Code)(Java Doc) public String externalize(Object obj, Externalizer externalizer, Collection headers, int flags)(Code)(Java Doc) public String externalize(Object obj, Externalizer externalizer, String mimeType)(Code)(Java Doc) public String externalize(Object obj, Externalizer externalizer, String mimeType, Collection headers)(Code)(Java Doc) public String externalize(Object obj, Externalizer externalizer, String mimeType, Collection headers, int flags)(Code)(Java Doc) public String externalize(ExternalizedResource extInfo)(Code)(Java Doc) abstract public ExternalizedResource getExternalizedResource(String identifier)(Code)(Java Doc) public String getId(String url)(Code)(Java Doc) final protected synchronized long getNextIdentifier()(Code)(Java Doc) public String getPrefix()(Code)(Java Doc) abstract public void removeExternalizedResource(String identifier)(Code)(Java Doc) public void setPrefix(String prefix)(Code)(Java Doc) public void setResponse(HttpServletResponse response)(Code)(Java Doc) abstract protected void storeExternalizedResource(String identifier, ExternalizedResource extInfo)(Code)(Java Doc)
|
|
|