public class TypedStreamSource
extends javax.xml.transform.stream.StreamSource
StreamSource augmented with ContentType information,
which potentially provides the media type and encoding| Constructor and Description |
|---|
TypedStreamSource() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getContentType()
Get the content type
|
void |
setContentType(java.lang.String contentType)
Set the content type
|
public void setContentType(java.lang.String contentType)
contentType - the content type, in the format of the HTTP content type headerpublic java.lang.String getContentType()
Copyright (c) 2004-2022 Saxonica Limited. All rights reserved.