Class HtmlCanonicalMapFactory

  • All Implemented Interfaces:
    org.refcodes.factory.MarshalTypeFactory<org.refcodes.struct.CanonicalMap,​String>, org.refcodes.factory.MarshalTypeFactory.MarshalTypeFactoryComplement<org.refcodes.struct.CanonicalMap,​InputStream>, org.refcodes.factory.MarshalTypeFactory.MarshalTypeFactoryComposite<org.refcodes.struct.CanonicalMap,​String,​InputStream>, org.refcodes.factory.UnmarshalTypeFactory<org.refcodes.struct.CanonicalMap.CanonicalMapBuilder,​String>, org.refcodes.factory.UnmarshalTypeFactory.UnmarshalTypeFactoryComplement<org.refcodes.struct.CanonicalMap.CanonicalMapBuilder,​InputStream>, org.refcodes.factory.UnmarshalTypeFactory.UnmarshalTypeFactoryComposite<org.refcodes.struct.CanonicalMap.CanonicalMapBuilder,​String,​InputStream>, CanonicalMapFactory
    Direct Known Subclasses:
    HtmlCanonicalMapFactorySingleton

    public class HtmlCanonicalMapFactory
    extends AbstractCanonicalMapFactory
    implements CanonicalMapFactory
    Implementation of the CanonicalMapFactory for parsing the HTML notation.
    • Constructor Detail

      • HtmlCanonicalMapFactory

        public HtmlCanonicalMapFactory()
    • Method Detail

      • fromMarshaled

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

        public org.refcodes.struct.CanonicalMap.CanonicalMapBuilder fromMarshaled​(InputStream aExternalRepresentation,
                                                                                  Map<String,​String> aProperties)
                                                                           throws org.refcodes.exception.UnmarshalException
        Specified by:
        fromMarshaled in interface org.refcodes.factory.UnmarshalTypeFactory.UnmarshalTypeFactoryComplement<org.refcodes.struct.CanonicalMap.CanonicalMapBuilder,​InputStream>
        Throws:
        org.refcodes.exception.UnmarshalException
      • toUnmarshaled

        public org.refcodes.struct.CanonicalMap.CanonicalMapBuilder toUnmarshaled​(String aExternalRepresentation,
                                                                                  Map<String,​String> aProperties)
                                                                           throws org.refcodes.exception.UnmarshalException
        Specified by:
        toUnmarshaled in interface CanonicalMapFactory
        Specified by:
        toUnmarshaled in interface org.refcodes.factory.UnmarshalTypeFactory<org.refcodes.struct.CanonicalMap.CanonicalMapBuilder,​String>
        Throws:
        org.refcodes.exception.UnmarshalException
      • toMarshaled

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

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

        public InputStream fromUnmarshaled​(org.refcodes.struct.CanonicalMap aDataStructure)
                                    throws org.refcodes.exception.MarshalException
        Specified by:
        fromUnmarshaled in interface org.refcodes.factory.MarshalTypeFactory.MarshalTypeFactoryComplement<org.refcodes.struct.CanonicalMap,​InputStream>
        Throws:
        org.refcodes.exception.MarshalException
      • fromUnmarshaled

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