| Modifier and Type | Field and Description |
|---|---|
| private static final ActivationDataFlavor[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected Object | getData(ActivationDataFlavor
the ActivationDataFlavor aFlavor, DataSource DataSource containing the data ds)Overrides com. |
| protected ActivationDataFlavor[] | getDataFlavors()
Return an array of ActivationDataFlavors that we support.
|
| private boolean | |
| public void | writeTo(Object
The object to be converted. obj, String The requested MIME type of the resulting byte stream. mimeType, OutputStream The output stream into which to write the converted
byte stream. os)Overrides com. Implements javax. |
| flavors | back to summary |
|---|---|
| private static final ActivationDataFlavor[] flavors | |
| text_xml | back to summary |
|---|---|
| public text_xml() | |
| getData | back to summary |
|---|---|
| protected Object getData(ActivationDataFlavor aFlavor, DataSource ds) throws IOException Overrides com. Doc from com. Given the flavor that matched, return the appropriate type of object. Usually there's only one flavor so just call getContent.
| |
| getDataFlavors | back to summary |
|---|---|
| protected ActivationDataFlavor[] getDataFlavors() Overrides com. Doc from com. Return an array of ActivationDataFlavors that we support. Usually there will be only one.
| |
| isXmlType | back to summary |
|---|---|
| private boolean isXmlType(String type) | |
| writeTo | back to summary |
|---|---|
| public void writeTo(Object obj, String mimeType, OutputStream os) throws IOException Overrides com. Implements javax. Doc from com. Write the object to the output stream, using the specified MIME type.
| |