Class XStreamMarshaller

  • All Implemented Interfaces:
    org.kie.dmn.api.marshalling.DMNMarshaller, org.kie.dmn.api.marshalling.v1_1.DMNMarshaller

    public class XStreamMarshaller
    extends Object
    implements org.kie.dmn.api.marshalling.v1_1.DMNMarshaller
    • Constructor Detail

      • XStreamMarshaller

        public XStreamMarshaller()
      • XStreamMarshaller

        public XStreamMarshaller​(List<org.kie.dmn.api.marshalling.DMNExtensionRegister> extensionRegisters)
    • Method Detail

      • configureQNameMap

        public static void configureQNameMap​(com.thoughtworks.xstream.io.xml.QNameMap qmap)
      • unmarshal

        public org.kie.dmn.model.api.Definitions unmarshal​(String xml)
        Specified by:
        unmarshal in interface org.kie.dmn.api.marshalling.DMNMarshaller
      • unmarshal

        public org.kie.dmn.model.api.Definitions unmarshal​(Reader isr)
        Specified by:
        unmarshal in interface org.kie.dmn.api.marshalling.DMNMarshaller
      • marshal

        public String marshal​(Object o)
        Specified by:
        marshal in interface org.kie.dmn.api.marshalling.DMNMarshaller
      • marshal

        public void marshal​(Object o,
                            Writer out)
        Specified by:
        marshal in interface org.kie.dmn.api.marshalling.DMNMarshaller
      • marshalMarshall

        @Deprecated
        public void marshalMarshall​(Object o)
        Deprecated.
        Unnecessary as was a tentative UTF-8 preamble output but still not working.
      • marshalMarshall

        @Deprecated
        public void marshalMarshall​(Object o,
                                    OutputStream out)
        Deprecated.
        Unnecessary as was a tentative UTF-8 preamble output but still not working.
      • formatXml

        @Deprecated
        public static String formatXml​(String xml)
        Deprecated.
        Unnecessary as the stax driver custom anon as static definition is embedding the indentation.