anon.terms
Class TermsAndConditionsResponseHandler
java.lang.Object
java.util.Observable
anon.terms.TermsAndConditionsResponseHandler
public class TermsAndConditionsResponseHandler
- extends java.util.Observable
Extracts the requested resources the mix sends back
and stores them.
Now the mix supports sending two kinds of T&C resources:
1. Customized sections: additional or modified sections that the operator wants
to be displayed in the given template.
2. Template: the template with predefined terms which is intended
to be source of multiple Operator terms & conditions.
A mix tc response looks like this:
...
...
...
Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XML_ELEMENT_INVALID_REQUEST_NAME
public static final java.lang.String XML_ELEMENT_INVALID_REQUEST_NAME
- See Also:
- Constant Field Values
XML_ELEMENT_RESPONSE_NAME
public static final java.lang.String XML_ELEMENT_RESPONSE_NAME
- See Also:
- Constant Field Values
SINGLETON
private static final TermsAndConditionsResponseHandler SINGLETON
TermsAndConditionsResponseHandler
private TermsAndConditionsResponseHandler()
handleXMLResourceResponse
public void handleXMLResourceResponse(org.w3c.dom.Document answerDoc,
TermsAndConditionsRequest request)
throws XMLParseException,
java.io.IOException,
IllegalTCRequestPostConditionException,
java.security.SignatureException
- Throws:
XMLParseException
java.io.IOException
IllegalTCRequestPostConditionException
java.security.SignatureException
notifyAboutChanges
public void notifyAboutChanges()
get
public static TermsAndConditionsResponseHandler get()