|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.planet_ink.coffee_mud.WebMacros.StdWebMacro
com.planet_ink.coffee_mud.WebMacros.AreaXML
public class AreaXML
| Constructor Summary | |
|---|---|
AreaXML()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getFilename(ExternalHTTPRequests httpReq,
java.lang.String filename)
If this macro returns true from isAWebPath(), this will be the substitute filename to use as a page for returning to the caller. |
protected Area |
getLoggedArea(ExternalHTTPRequests httpReq,
MOB mob)
|
java.lang.String |
getSpecialContentHeader(java.lang.String filename)
Whether this macro returns an attachment instead of something displayable. |
boolean |
isAWebPath()
Whether this macro substitutes as an aspect of the web path instead of a standard web macro. |
java.lang.String |
name()
The public name of this macro |
boolean |
preferBinary()
Whether the runMacro or runBinaryMacro executor should be called. |
byte[] |
runBinaryMacro(ExternalHTTPRequests httpReq,
java.lang.String parm)
This method is executed only if this macro returns true for preferBinary(). |
java.lang.String |
runMacro(ExternalHTTPRequests httpReq,
java.lang.String parm)
This method is executed only if this macro returns false for preferBinary(). |
| Methods inherited from class com.planet_ink.coffee_mud.WebMacros.StdWebMacro |
|---|
clearWebMacros, clearWebMacros, colorwebifyOnly, compareTo, copyOf, helpHelp, helpHelp, htmlIncomingFilter, htmlIncomingFilter, htmlOutgoingFilter, htmlOutgoingFilter, ID, initializeClass, isAdminMacro, newInstance, parseOrderedParms, parseParms, webify |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AreaXML()
| Method Detail |
|---|
public java.lang.String name()
WebMacro
name in interface WebMacroname in class StdWebMacropublic boolean isAWebPath()
WebMacro
isAWebPath in interface WebMacroisAWebPath in class StdWebMacroWebMacro.getFilename(ExternalHTTPRequests, String)public boolean preferBinary()
WebMacro
preferBinary in interface WebMacropreferBinary in class StdWebMacroWebMacro.runBinaryMacro(ExternalHTTPRequests, String),
WebMacro.runMacro(ExternalHTTPRequests, String)public java.lang.String getSpecialContentHeader(java.lang.String filename)
WebMacro
getSpecialContentHeader in interface WebMacrogetSpecialContentHeader in class StdWebMacrofilename - the filename from getFilename
WebMacro.getFilename(ExternalHTTPRequests, String)
public java.lang.String getFilename(ExternalHTTPRequests httpReq,
java.lang.String filename)
WebMacro
getFilename in interface WebMacrogetFilename in class StdWebMacrohttpReq - the requests objectfilename - the default filename
WebMacro.isAWebPath(),
ExternalHTTPRequests
protected Area getLoggedArea(ExternalHTTPRequests httpReq,
MOB mob)
public byte[] runBinaryMacro(ExternalHTTPRequests httpReq,
java.lang.String parm)
throws HTTPServerException
WebMacro
runBinaryMacro in interface WebMacrorunBinaryMacro in class StdWebMacrohttpReq - the external requests objectparm - any parameter strigs given to the macro
HTTPServerExceptionWebMacro.preferBinary(),
ExternalHTTPRequests
public java.lang.String runMacro(ExternalHTTPRequests httpReq,
java.lang.String parm)
throws HTTPServerException
WebMacro
runMacro in interface WebMacrorunMacro in class StdWebMacrohttpReq - the external requests objectparm - any parameter strigs given to the macro
HTTPServerExceptionWebMacro.preferBinary(),
ExternalHTTPRequests
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||