Class JsonCanonicalMapFactory

  • All Implemented Interfaces:
    org.refcodes.factory.MarshalTypeFactory<org.refcodes.structure.CanonicalMap.CanonicalMapBuilder,java.io.InputStream>, org.refcodes.factory.MarshalTypeFactory.MarshalTypeFactoryComplement<org.refcodes.structure.CanonicalMap.CanonicalMapBuilder,java.io.InputStream>, org.refcodes.factory.MarshalTypeFactory.MarshalTypeFactoryComposite<org.refcodes.structure.CanonicalMap.CanonicalMapBuilder,java.io.InputStream,java.lang.String>, org.refcodes.factory.UnmarshalTypeFactory<org.refcodes.structure.CanonicalMap.CanonicalMapBuilder,java.io.InputStream>, org.refcodes.factory.UnmarshalTypeFactory.UnmarshalTypeFactoryComplement<org.refcodes.structure.CanonicalMap.CanonicalMapBuilder,java.io.InputStream>, org.refcodes.factory.UnmarshalTypeFactory.UnmarshalTypeFactoryComposite<org.refcodes.structure.CanonicalMap.CanonicalMapBuilder,java.io.InputStream,java.lang.String>, CanonicalMapFactory


    public class JsonCanonicalMapFactory
    extends AbstractCanonicalMapFactory
    implements CanonicalMapFactory
    Implementation of the CanonicalMapFactory for parsing the JSON notation.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.refcodes.factory.MarshalTypeFactory

        org.refcodes.factory.MarshalTypeFactory.MarshalTypeFactoryComplement<T extends java.lang.Object,C extends java.lang.Object>, org.refcodes.factory.MarshalTypeFactory.MarshalTypeFactoryComposite<T extends java.lang.Object,SRC extends java.lang.Object,C extends java.lang.Object>
      • Nested classes/interfaces inherited from interface org.refcodes.factory.UnmarshalTypeFactory

        org.refcodes.factory.UnmarshalTypeFactory.UnmarshalTypeFactoryComplement<T extends java.lang.Object,C extends java.lang.Object>, org.refcodes.factory.UnmarshalTypeFactory.UnmarshalTypeFactoryComposite<T extends java.lang.Object,SRC extends java.lang.Object,C extends java.lang.Object>
    • Constructor Detail

      • JsonCanonicalMapFactory

        public JsonCanonicalMapFactory​()
    • Method Detail

      • toUnmarshaled

        public org.refcodes.structure.CanonicalMap.CanonicalMapBuilder toUnmarshaled​(java.io.InputStream aExternalRepresentation)
                                                                              throws org.refcodes.exception.UnmarshalException
        Specified by:
        toUnmarshaled in interface org.refcodes.factory.UnmarshalTypeFactory<org.refcodes.structure.CanonicalMap.CanonicalMapBuilder,java.io.InputStream>
        Throws:
        org.refcodes.exception.UnmarshalException
      • toUnmarshaled

        public org.refcodes.structure.CanonicalMap.CanonicalMapBuilder toUnmarshaled​(java.io.InputStream aExternalRepresentation,
                                                                                     java.util.Map<java.lang.String,java.lang.String> aProperties)
                                                                              throws org.refcodes.exception.UnmarshalException
        Specified by:
        toUnmarshaled in interface org.refcodes.factory.UnmarshalTypeFactory<org.refcodes.structure.CanonicalMap.CanonicalMapBuilder,java.io.InputStream>
        Throws:
        org.refcodes.exception.UnmarshalException
      • fromUnmarshaled

        public java.lang.String fromUnmarshaled​(org.refcodes.structure.CanonicalMap aDataStructure)
                                         throws org.refcodes.exception.MarshalException
        Specified by:
        fromUnmarshaled in interface CanonicalMapFactory
        Specified by:
        fromUnmarshaled in interface org.refcodes.factory.MarshalTypeFactory.MarshalTypeFactoryComplement<org.refcodes.structure.CanonicalMap.CanonicalMapBuilder,java.io.InputStream>
        Throws:
        org.refcodes.exception.MarshalException
      • toMarshaled

        public java.io.InputStream toMarshaled​(org.refcodes.structure.CanonicalMap aDataStructure)
                                        throws org.refcodes.exception.MarshalException
        Specified by:
        toMarshaled in interface org.refcodes.factory.MarshalTypeFactory<org.refcodes.structure.CanonicalMap.CanonicalMapBuilder,java.io.InputStream>
        Throws:
        org.refcodes.exception.MarshalException