net.sf.jlinkgrammar

## Class Parser

- java.lang.Object
- - net.sf.jlinkgrammar.Parser

-     public class Parser
      extends java.lang.Object

  This class is meant to be a bean type interface to link grammar. All the options are preset and specific actions have to be taken to override them.
  Author:
    johnryan

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Parser()` Creates a new instance of Parser

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `doIt(java.lang.String[] arg)`
    `static void` | `InitializeVars(java.lang.String[] arg)`
    `void` | `printWordsLabelsAndLinks(Sentence sent)` Instead of printing a link diagram print an XML tree

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Parser

          public Parser()

      Creates a new instance of Parser

  - ### Method Detail

    - #### InitializeVars

          public static void InitializeVars(java.lang.String[] arg)

    - #### doIt

          public static void doIt(java.lang.String[] arg)
                           throws java.io.IOException

      Throws:
        `java.io.IOException`

    - #### printWordsLabelsAndLinks

          public void printWordsLabelsAndLinks(Sentence sent)

      Instead of printing a link diagram print an XML tree
      Parameters:
        `sent` - the sentence to print.