Searched refs:getContentType (Results 1 - 25 of 137) sorted by relevance

123456

/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/
H A DContentType.java40 public String getContentType(); method in interface:ContentType
/openjdk7/jaxws/src/share/jaf_classes/javax/activation/
H A DFileTypeMap.java33 * implement the getContentType methods which will derive a content
66 abstract public String getContentType(File file); method in class:FileTypeMap
75 abstract public String getContentType(String filename); method in class:FileTypeMap
H A DDataSource.java69 * that getContentType return "application/octet-stream" if the
74 public String getContentType(); method in interface:DataSource
H A DURLDataSource.java64 * It calls the URL's <code>URLConnection.getContentType</code> method
68 * returned from the URLConnection, getContentType returns
73 public String getContentType() { method in class:URLDataSource
82 type = url_conn.getContentType();
H A DFileDataSource.java123 public String getContentType() { method in class:FileDataSource
126 return FileTypeMap.getDefaultFileTypeMap().getContentType(_file);
128 return typeMap.getContentType(_file);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/
H A DDataHandlerDataSource.java69 public String getContentType() { method in class:DataHandlerDataSource
70 return dataHandler.getContentType();
H A DMIMEPartStreamingDataHandler.java104 public String getContentType() { method in class:MIMEPartStreamingDataHandler.StreamingDataSource
105 return part.getContentType();
H A DXMLHTTPBindingCodec.java114 public String getContentType() { method in class:XMLHTTPBindingCodec.AcceptContentType
115 return _c.getContentType();
257 final String contentType = mds.getDataSource().getContentType();
271 mds.getDataSource().getContentType());
281 return new ContentTypeImpl(ds.getContentType());
318 codec.decode(in.getInputStream(), in.getContentType(), p);
325 return XMLMessage.createDataSource(ct.getContentType(), bos.newInputStream());
330 codec.decode(in.getInputStream(), in.getContentType(), p);
338 return XMLMessage.createDataSource(ct.getContentType(), bos.newInputStream());
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/xs/
H A DXSComplexTypeDefinition.java81 public short getContentType(); method in interface:XSComplexTypeDefinition
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/xsom/
H A DXSComplexType.java68 XSContentType getContentType(); method in interface:XSComplexType
93 // meaningful only if getContentType returns particles
/openjdk7/jdk/test/sun/net/www/protocol/file/
H A DGetContentType.java37 String type = urlc.getContentType();
39 throw new RuntimeException("getContentType() returned the wrong type");
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/packaging/mime/internet/
H A DMimePartDataSource.java98 * This implementation just invokes the <code>getContentType</code>
101 public String getContentType() { method in class:MimePartDataSource
102 return part.getContentType();
/openjdk7/jdk/test/java/net/URLConnection/
H A DGetContentType.java26 * @summary check for correct implementation of getContentType for JAR urls.
44 String contentType = connection.getContentType();
51 contentType = connection.getContentType();
H A DUnknownContentType.java26 * @summary URLConnection.getContentType() does not always return content-type header field
39 String s1 = conn.getContentType();
42 throw new RuntimeException("getContentType() differs from getHeaderField(\"content-type\")");
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/runtime/
H A DRuntimeElementInfo.java50 RuntimeNonElement getContentType(); method in interface:RuntimeElementInfo
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/rngom/binary/
H A DInterleavePattern.java99 && !contentTypeGroupable(p1.getContentType(), p2.getContentType()))
101 if (p1.getContentType() == MIXED_CONTENT_TYPE
102 && p2.getContentType() == MIXED_CONTENT_TYPE)
H A DOneOrMorePattern.java57 p.getContentType(),
92 && !contentTypeGroupable(p.getContentType(), p.getContentType()))
H A DGroupPattern.java82 && !contentTypeGroupable(p1.getContentType(), p2.getContentType()))
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/xsom/impl/parser/
H A DBaseContentRef.java44 if (t.isComplexType() && t.asComplexType().getContentType().asParticle()!=null) {
54 public XSContentType getContentType() { method in class:BaseContentRef
57 return t.asComplexType().getContentType();
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/core/
H A DElementInfo.java62 NonElement<T,C> getContentType(); method in interface:ElementInfo
70 * @see #getContentType()
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/xmlschema/ct/
H A DChoiceContentComplexTypeBuilder.java55 XSParticle p = ct.getContentType().asParticle();
80 XSParticle p = ct.getContentType().asParticle();
H A DMultiWildcardComplexTypeBuilder.java49 if (bt ==schemas.getAnyType() && ct.getContentType() != null) {
50 XSParticle part = ct.getContentType().asParticle();
68 XSContentType contentType = ct.getContentType();
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/fastinfoset/
H A DFastInfosetStreamSOAP11Codec.java63 protected ContentType getContentType(String soapAction) { method in class:FastInfosetStreamSOAP11Codec
67 return new ContentTypeImpl(_defaultContentType.getContentType(), soapAction);
H A DFastInfosetStreamSOAP12Codec.java63 protected ContentType getContentType(String soapAction) { method in class:FastInfosetStreamSOAP12Codec
68 _defaultContentType.getContentType() + ";action=\""+soapAction+"\"");
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/message/stream/
H A DStreamAttachment.java70 public String getContentType() { method in class:StreamAttachment
81 return new DataSourceStreamingDataHandler(new ByteArrayDataSource(data,0,len,getContentType()));
104 part.setRawContentBytes(data,0,len,getContentType());

Completed in 255 milliseconds

123456