net.sf.jpkgmk.prototype
Class PrototypeEntryLink.PrototypeEntryLinkParser

java.lang.Object
  extended by net.sf.jpkgmk.prototype.AbstractPrototypeEntryParser
      extended by net.sf.jpkgmk.prototype.PrototypeEntryLink.PrototypeEntryLinkParser
All Implemented Interfaces:
PrototypeEntryParser
Enclosing class:
PrototypeEntryLink

public static class PrototypeEntryLink.PrototypeEntryLinkParser
extends AbstractPrototypeEntryParser
implements PrototypeEntryParser


Constructor Summary
PrototypeEntryLink.PrototypeEntryLinkParser()
           
 
Method Summary
protected  PrototypeEntry parseItems(java.lang.String[] items, java.lang.Integer part, PrototypeEntryType type, int currentIndex, PrototypeEntryCommandDefault entryCommandDefault)
          Invoked by the AbstractPrototypeEntryParser.parse(String, PrototypeEntryCommandDefault) method to parse the items of a line.
 
Methods inherited from class net.sf.jpkgmk.prototype.AbstractPrototypeEntryParser
getArrayValue, getCurrentLine, parse, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface net.sf.jpkgmk.prototype.PrototypeEntryParser
parse
 

Constructor Detail

PrototypeEntryLink.PrototypeEntryLinkParser

public PrototypeEntryLink.PrototypeEntryLinkParser()
Method Detail

parseItems

protected PrototypeEntry parseItems(java.lang.String[] items,
                                    java.lang.Integer part,
                                    PrototypeEntryType type,
                                    int currentIndex,
                                    PrototypeEntryCommandDefault entryCommandDefault)
Description copied from class: AbstractPrototypeEntryParser
Invoked by the AbstractPrototypeEntryParser.parse(String, PrototypeEntryCommandDefault) method to parse the items of a line. The given array of items represents the whole line split up into strings.

Specified by:
parseItems in class AbstractPrototypeEntryParser
Parameters:
items - All items of this line
part - The pre-parsed value for the optional "part" field
type - The pre-parsed value for the mandatory "type" character field
currentIndex - The current index located after the "type" field already parsed. This is the index where the parsing should be continued by the concrete implementations.
Returns:


Copyright © 2007-2008. All Rights Reserved.