Class AbstractFormatter

  • Direct Known Subclasses:
    AbstractEdiFormatter, XMLFormatter

    public abstract class AbstractFormatter
    extends java.lang.Object
    Top level formatter class that allows any model object to be formatted to any output.
    • Constructor Detail

      • AbstractFormatter

        public AbstractFormatter()
    • Method Detail

      • format

        public void format​(EdiElement element)
                    throws java.io.IOException
        Throws:
        java.io.IOException
      • format

        public void format​(EdiElement ruleElement,
                           EdiElement dataElement)
                    throws java.io.IOException
        Throws:
        java.io.IOException
      • format

        public abstract void format​(Message element)
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • format

        public abstract void format​(LoopSegment element)
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • format

        public abstract void format​(Segment element)
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • format

        public abstract void format​(Composite element)
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • format

        public abstract void format​(Field element)
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • format

        public abstract void format​(Message ruleElement,
                                    Message dataElement)
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • format

        public abstract void format​(LoopSegment ruleElement,
                                    LoopSegment dataElement)
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • format

        public abstract void format​(Segment ruleElement,
                                    Segment dataElement)
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • format

        public abstract void format​(Composite ruleElement,
                                    Composite dataElement)
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • format

        public abstract void format​(Field ruleElement,
                                    Field dataElement)
                             throws java.io.IOException
        Throws:
        java.io.IOException