Class CipPath.StaticTypeParser

  • All Implemented Interfaces:
    TypeTokenParser
    Enclosing class:
    CipPath

    public static class CipPath.StaticTypeParser
    extends java.lang.Object
    implements TypeTokenParser
    A parser factory for keywords that will return a constant data definition segment.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      DataDefinitionSeg parse​(java.util.List<java.lang.String> tokens)
      Given the parameters for a token as a list of strings, construct and return the corresponding data definition segment.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • parse

        public DataDefinitionSeg parse​(java.util.List<java.lang.String> tokens)
        Description copied from interface: TypeTokenParser
        Given the parameters for a token as a list of strings, construct and return the corresponding data definition segment. The keyword token is already removed from the list. This method must remove the parameter tokens it consumes.
        Specified by:
        parse in interface TypeTokenParser
        Parameters:
        tokens - The remaining tokens.
        Returns:
        The single resultiing data definition segment.