|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.edg.security.authorization.admin.HTMLWriter
Class collecting convenience methods for the AuthorizationManager Administration Interface, used to generate header and trailer of HTML pages and to show failure messages.
Constructor Summary | |
HTMLWriter()
|
Method Summary | |
static void |
insertHeader(java.io.PrintWriter out,
java.lang.String message)
Convenience method that writes the header of an HTML response. |
static void |
insertTrailer(java.io.PrintWriter out)
Convenience method that writes the trailer of an HTML response |
static void |
showFailure(java.io.PrintWriter out,
java.lang.String title,
java.lang.String mesg)
Convenience method that shows info about a failure in using the AuthorizationManager Administration Interface. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HTMLWriter()
Method Detail |
public static void insertHeader(java.io.PrintWriter out, java.lang.String message)
out
- The output stream where to write the responsemessage
- The main heading of this HTML pagepublic static void insertTrailer(java.io.PrintWriter out)
out
- The output stream where to write the responsepublic static void showFailure(java.io.PrintWriter out, java.lang.String title, java.lang.String mesg)
out
- The output stream where to write the responsetitle
- The title of the failuremesg
- The message describing the failure
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |