6.1.1 Range supported in the javax.xml.transform.stax.StAXSource class and the javax.xml.transform.stax.StAXResult class

In version 08-50 and later versions of Cosminexus XML Processor, you can use the javax.xml.transform.stax.StAXSource class and javax.xml.transform.stax.StAXResult class.

Some of the methods defined in JAXP 1.4 and JAXB use the javax.xml.transform.stax.StAXSource class and the javax.xml.transform.stax.StAXResult class, or the FEATURE field of these classes as arguments. However, some of the methods are not supported. The following table describes the status of support.

Table 6-4 Status of support for methods using StAXSource class or StAXResult class in arguments

No.Package nameClass nameMethod nameSupport
1javax.xml.transformTransformerFactorygetAssociatedStylesheet
(Source, String, String, String)
N
2getFeature(String)N
3newTemplates(Source)Y
4newTransformer(Source)Y
5Transformertransform(Source, Result)Y
6javax.xml.transform.saxSAXTransformerFactorynewTransformerHandler(Source)N
7newXMLFilter(Source)Y
8SAXSourcesourceToInputSource(Source)N
9TransformerHandlersetResult(Result)Y
10javax.xml.validationSchemaFactorynewSchema(Source)N
11newSchema(Source[])N
12Validatorvalidate(Source)Y
13validate(Source, Result)Y
14javax.xml.bindJAXBmarshal(Object, Result)N
15unmarshal(Source, Class<T>)N
16Marshallermarshal(Object, Result)N
17Unmarshallerunmarshal(Source)N
18unmarshal(Source, Class<T>)N
19javax.xml.streamXMLOutputFactorycreateXMLEventWriter(Result)Y
20createXMLStreamWriter(Result)Y
21XMLInputFactorycreateXMLEventReader(Source)Y
22createXMLStreamReader(Source)Y
Legend
Y: Supported.
N: Not supported.