|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.internet2.middleware.grouper.ws.rest.contentType.WsXhtmlInputConverter
public class WsXhtmlInputConverter
convert an xhtml string to objects. Only use once and throw away. this parser assumes that beans do not have default values on fields, or if so, if blank or null is passed in, then the default value will be used.
Constructor Summary | |
---|---|
WsXhtmlInputConverter()
|
Method Summary | |
---|---|
void |
addAlias(String key,
Class<?> theClass)
add an alias for demarshaling |
String |
getWarnings()
get warnings, will return the empty string if none (never null) |
Object |
parseXhtmlString(String string)
parse a string to object |
Class<?> |
retrieveClass(String className,
boolean errorIfProblem)
based on className which can be fully qualified or not, return the class object (and cache this) |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WsXhtmlInputConverter()
Method Detail |
---|
public void addAlias(String key, Class<?> theClass)
key
- theClass
- public Object parseXhtmlString(String string)
string
- requireHtmlHeader
- means that the html and body tags are required
public Class<?> retrieveClass(String className, boolean errorIfProblem)
className
- errorIfProblem
-
public String getWarnings()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |