Hitachi

uCosminexus Application Server XML Processor User Guide


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 name

Class name

Method name

Support

1

javax.xml.transform

TransformerFactory

getAssociatedStylesheet

(Source, String, String, String)

N

2

getFeature(String)

N

3

newTemplates(Source)

Y

4

newTransformer(Source)

Y

5

Transformer

transform(Source, Result)

Y

6

javax.xml.transform.sax

SAXTransformerFactory

newTransformerHandler(Source)

N

7

newXMLFilter(Source)

Y

8

SAXSource

sourceToInputSource(Source)

N

9

TransformerHandler

setResult(Result)

Y

10

javax.xml.validation

SchemaFactory

newSchema(Source)

N

11

newSchema(Source[])

N

12

Validator

validate(Source)

Y

13

validate(Source, Result)

Y

14

javax.xml.bind

JAXB

marshal(Object, Result)

N

15

unmarshal(Source, Class<T>)

N

16

Marshaller

marshal(Object, Result)

N

17

Unmarshaller

unmarshal(Source)

N

18

unmarshal(Source, Class<T>)

N

19

javax.xml.stream

XMLOutputFactory

createXMLEventWriter(Result)

Y

20

createXMLStreamWriter(Result)

Y

21

XMLInputFactory

createXMLEventReader(Source)

Y

22

createXMLStreamReader(Source)

Y

Legend

Y: Supported.

N: Not supported.