oracle.panama.messaging.xms
Class XMSUtil
java.lang.Object
|
+--oracle.panama.messaging.xms.XMSUtil
- public class XMSUtil
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
prolog
public static final java.lang.String prolog
-
- See Also:
- Constant Field Values
footer
public static final java.lang.String footer
-
- See Also:
- Constant Field Values
header
public static final java.lang.String header
-
- See Also:
- Constant Field Values
TAG_HTML
public static final java.lang.String TAG_HTML
-
- See Also:
- Constant Field Values
xhtmlProfile
public static final java.lang.String xhtmlProfile
-
- See Also:
- Constant Field Values
xhtmlHeader
public static final java.lang.String xhtmlHeader
-
- See Also:
- Constant Field Values
xhtmlFooter
public static final java.lang.String xhtmlFooter
-
- See Also:
- Constant Field Values
MOBILEXML_MIME_TYPE
public static final java.lang.String MOBILEXML_MIME_TYPE
-
- See Also:
- Constant Field Values
XHTML_MIME_TYPE
public static final java.lang.String XHTML_MIME_TYPE
-
- See Also:
- Constant Field Values
XHTML_MIME_TYPE2
public static final java.lang.String XHTML_MIME_TYPE2
-
- See Also:
- Constant Field Values
XHTML_MIME_PROFILE
public static final java.lang.String XHTML_MIME_PROFILE
- Deprecated.
- See Also:
- Constant Field Values
DEFAULT_MIME_TYPE
public static final java.lang.String DEFAULT_MIME_TYPE
-
- See Also:
- Constant Field Values
SMIL_MIME_TYPE
public static java.lang.String SMIL_MIME_TYPE
MULTIPART_MIXED
public static java.lang.String MULTIPART_MIXED
TEXT_MIME_TYPE
public static java.lang.String TEXT_MIME_TYPE
XMSUtil
public XMSUtil()
getDocumentAsString
public java.lang.String getDocumentAsString(org.w3c.dom.Document doc)
throws XMSException
-
XMSException
guessMimeType
public java.lang.String guessMimeType(java.lang.Object content)
throws XMSException
-
XMSException
parseDocument
public oracle.xml.xforms.doc.XFormsDocument parseDocument(java.lang.String input)
throws XMSException
-
XMSException
parseDocument
public oracle.xml.xforms.doc.XFormsDocument parseDocument(java.lang.String input,
java.lang.String contentType)
throws XMSException
-
XMSException
getParsedContent
public org.w3c.dom.Element getParsedContent(Message message)
throws XMSException
-
XMSException
parseInput
public org.w3c.dom.Element parseInput(java.lang.String input)
throws XMSException
-
XMSException
parseInput
public org.w3c.dom.Element parseInput(java.lang.String input,
java.lang.String contentType)
throws XMSException
-
XMSException
getInstance
public static XMSUtil getInstance()
getContentType
public static java.lang.String getContentType(MessagePart msg)
throws XMSException
-
- Parameters:
msg
-
- Returns:
- Throws:
XMSException
contentTypeMatches
public static boolean contentTypeMatches(java.lang.String expectedType,
java.lang.String mimeType)
contentTypeMatches
public static boolean contentTypeMatches(java.lang.String expectedType,
javax.mail.internet.ContentType inputContentType)
removeRecipients
public static void removeRecipients(oracle.panama.messaging.push.Packet packet,
DeliveryType deliveryType)
createContentType
public static javax.mail.internet.ContentType createContentType(java.lang.String contentType)
throws XMSException
-
- Parameters:
contentType
-
- Returns:
- Throws:
<{XMSException}>
XMSException
isXHTMLContentType
public static boolean isXHTMLContentType(java.lang.String contentType)
isXHTMLContentType
public static boolean isXHTMLContentType(javax.mail.internet.ContentType contentType)
isTextMimeType
public static boolean isTextMimeType(java.lang.String contentType)
isTextMimeType
public static boolean isTextMimeType(javax.mail.internet.ContentType contentType)
Copyright © 2003 Oracle Corporation. All Rights Reserved.