net.sf.adf.acl.xml
Class SOAPCodec
java.lang.Object
net.sf.adf.acl.xml.XMLCodec
net.sf.adf.acl.xml.SOAPCodec
- All Implemented Interfaces:
- ACLCodec
public class SOAPCodec
- extends XMLCodec
Decorator pattern - nu e absolut necesar sa folosesc SOAPCodec
pot la fel de bine sa folosesc numai XMLCodec si atat
- Author:
- Catalin Hritcu
| Methods inherited from class net.sf.adf.acl.xml.XMLCodec |
decode, encode, getDoctypePublicId, getDoctypeSystemId, getNamespacePrefix, getNamespaceURI, isFragment, isValidating, setDoctypePublicId, setDoctypeSystemId, setFragment, setNamespacePrefix, setNamespaceURI, setValidating |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SOAPCodec
public SOAPCodec()
throws javax.xml.parsers.ParserConfigurationException
- Throws:
javax.xml.parsers.ParserConfigurationException
SOAPCodec
public SOAPCodec(XMLCodec xmlCodec)
throws javax.xml.parsers.ParserConfigurationException
- Throws:
javax.xml.parsers.ParserConfigurationException
decodeDOM
public ACLMessage decodeDOM(org.w3c.dom.Document doc)
throws DecodingException
- Overrides:
decodeDOM in class XMLCodec
- Throws:
DecodingException
decodeSOAP
public ACLMessage decodeSOAP(SOAPMessage soapMessage)
throws DecodingException
- Throws:
DecodingException
encodeDOM
public org.w3c.dom.Document encodeDOM(ACLMessage message)
throws EncodingException
- Overrides:
encodeDOM in class XMLCodec
- Throws:
EncodingException
encodeSOAP
public SOAPMessage encodeSOAP(ACLMessage message)
throws EncodingException
- Throws:
EncodingException
getMimeType
public java.lang.String getMimeType()
- Specified by:
getMimeType in interface ACLCodec- Overrides:
getMimeType in class XMLCodec