Class XmlCanonicalMapFactory

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


    public class XmlCanonicalMapFactory
    extends AbstractCanonicalMapFactory
    implements CanonicalMapFactory
    Implementation of the CanonicalMapFactory for parsing the XML 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

      • XmlCanonicalMapFactory

        public XmlCanonicalMapFactory​()
    • Method Detail

      • fromMarshaled

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

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

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

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

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

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