com.sun.ws.management
Class Message
java.lang.Object
com.sun.ws.management.Message
- Direct Known Subclasses:
- SOAP
public abstract class Message
- extends java.lang.Object
Field Summary |
static java.lang.String |
COLON
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
COLON
public static final java.lang.String COLON
- See Also:
- Constant Field Values
Message
public Message()
throws javax.xml.soap.SOAPException
- Throws:
javax.xml.soap.SOAPException
Message
public Message(Message message)
throws javax.xml.soap.SOAPException
- Throws:
javax.xml.soap.SOAPException
Message
public Message(java.io.InputStream is)
throws javax.xml.soap.SOAPException,
java.io.IOException
- Throws:
javax.xml.soap.SOAPException
java.io.IOException
Message
public Message(javax.xml.soap.SOAPMessage message)
throws javax.xml.soap.SOAPException
- Throws:
javax.xml.soap.SOAPException
newDocument
public static org.w3c.dom.Document newDocument()
getDocumentBuilder
public static javax.xml.parsers.DocumentBuilder getDocumentBuilder()
createElement
public static org.w3c.dom.Element createElement(org.w3c.dom.Document doc,
javax.xml.namespace.QName qname)
setAttribute
public static void setAttribute(org.w3c.dom.Element element,
javax.xml.namespace.QName qname,
java.lang.String value)
getContentType
public ContentType getContentType()
setContentType
public void setContentType(ContentType ct)
throws javax.xml.soap.SOAPException
- Throws:
javax.xml.soap.SOAPException
validate
public abstract void validate()
throws javax.xml.soap.SOAPException,
javax.xml.bind.JAXBException,
FaultException
- Throws:
javax.xml.soap.SOAPException
javax.xml.bind.JAXBException
FaultException
writeTo
public void writeTo(java.io.OutputStream os)
throws javax.xml.soap.SOAPException,
java.io.IOException
- Throws:
javax.xml.soap.SOAPException
java.io.IOException
prettyPrint
public void prettyPrint(java.io.OutputStream os)
throws javax.xml.soap.SOAPException,
javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException,
java.io.IOException
- Throws:
javax.xml.soap.SOAPException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
addNamespaceDeclarations
public void addNamespaceDeclarations(java.util.Map<java.lang.String,java.lang.String> ns)
throws javax.xml.soap.SOAPException
- Throws:
javax.xml.soap.SOAPException
getMessage
public javax.xml.soap.SOAPMessage getMessage()
getEnvelope
public javax.xml.soap.SOAPEnvelope getEnvelope()
getHeader
public javax.xml.soap.SOAPHeader getHeader()
getBody
public javax.xml.soap.SOAPBody getBody()