All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.altova.text.tablelike.csv.ParserState Maven / Gradle / Ivy

There is a newer version: 2.0.4
Show newest version
////////////////////////////////////////////////////////////////////////
//
// ParserState.java
//
// This file was generated by MapForce 2017sp2.
//
// YOU SHOULD NOT MODIFY THIS FILE, BECAUSE IT WILL BE
// OVERWRITTEN WHEN YOU RE-RUN CODE GENERATION.
//
// Refer to the MapForce Documentation for further details.
// http://www.altova.com/mapforce
//
////////////////////////////////////////////////////////////////////////

package com.altova.text.tablelike.csv;

abstract class ParserState {
    private Parser m_Owner = null;

    private ParserStateFactory m_States = null;

    protected Parser getOwner() {
        return m_Owner;
    }

    protected ParserStateFactory getStates() {
        return m_States;
    }

    protected ParserState(Parser owner, ParserStateFactory states) {
        m_Owner = owner;
        m_States = states;
    }

    public abstract ParserState process(char current);

    public abstract ParserState processFieldDelimiter(char current);

    public abstract ParserState processRecordDelimiter(char current)
            throws BadFormatException;

    public abstract ParserState processQuoteCharacter(char current)
            throws BadFormatException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy