com.uwyn.rife.cmf.loader.xhtml
Class Jdk14Loader
java.lang.Object
com.uwyn.rife.cmf.loader.XhtmlContentLoaderBackend
com.uwyn.rife.cmf.loader.xhtml.Jdk14Loader
- All Implemented Interfaces:
- ContentLoaderBackend<String>
public class Jdk14Loader
- extends XhtmlContentLoaderBackend
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Jdk14Loader
public Jdk14Loader()
loadFromString
public String loadFromString(String data,
boolean fragment,
Set<String> errors)
throws ContentManagerException
- Description copied from class:
XhtmlContentLoaderBackend
- Loads the data from a string
- Specified by:
loadFromString in class XhtmlContentLoaderBackend
- Parameters:
data - the raw data that has to be loadedfragment - true if the raw data is a fragment; or
false if the raw data is a complete document or file
errors - a set to which possible error messages will be added
- Returns:
- an instance of the xhtml as a
String; or
null if the raw data couldn't be loaded
- Throws:
ContentManagerException
isBackendPresent
public boolean isBackendPresent()
- Description copied from interface:
ContentLoaderBackend
- Indicates whether the back-end is present.
This can be important for optional libraries that should only
actually try to load the data when the required classes are available
in the classpath.
- Returns:
true if the back-end is present; or
false if this is not the case
Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.