|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.infolayer.soap.Soap_Schema
This class handles a SOAP Schema request. The result of this request is an XML schema describing the model currently loaded into the Infolayer. This schema can help validating Update requests before sending them to the server. TODO: Nice schema describing model vs. flat schema for updates TODO: Use schema substitution for inheritance TODO: Use (typed?) href/keys for associations TODO: Restrict schema to accessible classes TODO: Provide enumeration types for non-accessible classes (e.g. User in MuSofT) TODO: (MuSofT) DTD for single class? DTDs with namespaces for classes?
Field Summary | |
static java.lang.String |
XSD
Specifies the XML schema namespace. |
Constructor Summary | |
Soap_Schema()
|
Method Summary | |
void |
execute()
Handles the interesting part of the SOAP request, that is, the part that contains the "Schema" command. |
void |
init(SoapHandler handler,
SoapInboundMessage inbound,
XmlPullParser parser)
Initializes a new SOAP Schema handler that operates on the given surrounding SoapHandler and reads its input from the given XML parser. |
void |
writeResponse(SoapOutboundMessage response)
Writes an HTTP response for the results that this request produced. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String XSD
Constructor Detail |
public Soap_Schema()
Method Detail |
public void init(SoapHandler handler, SoapInboundMessage inbound, XmlPullParser parser)
init
in interface SoapRequest
public void execute() throws java.io.IOException, XmlPullParserException
execute
in interface SoapRequest
java.io.IOException
XmlPullParserException
public void writeResponse(SoapOutboundMessage response) throws java.io.IOException
writeResponse
in interface SoapRequest
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |