org.jvyamlb
Class ParserImpl

java.lang.Object
  extended byorg.jvyamlb.ParserImpl
All Implemented Interfaces:
Parser

public class ParserImpl
extends java.lang.Object
implements Parser

Author:
Ola Bini

Constructor Summary
ParserImpl(Scanner scanner)
           
ParserImpl(Scanner scanner, YAMLConfig cfg)
           
 
Method Summary
 boolean checkEvent(java.lang.Class[] choices)
           
 java.util.Iterator eachEvent()
           
 Event getEvent()
           
 java.util.Iterator iterator()
           
static void main(java.lang.String[] args)
           
 void parseStream()
           
 Event parseStreamNext()
           
 Event peekEvent()
           
static void tmain(java.lang.String[] args)
           
static void tmainx(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParserImpl

public ParserImpl(Scanner scanner)

ParserImpl

public ParserImpl(Scanner scanner,
                  YAMLConfig cfg)
Method Detail

checkEvent

public boolean checkEvent(java.lang.Class[] choices)
Specified by:
checkEvent in interface Parser

peekEvent

public Event peekEvent()
Specified by:
peekEvent in interface Parser

getEvent

public Event getEvent()
Specified by:
getEvent in interface Parser

eachEvent

public java.util.Iterator eachEvent()
Specified by:
eachEvent in interface Parser

iterator

public java.util.Iterator iterator()
Specified by:
iterator in interface Parser

parseStream

public void parseStream()
Specified by:
parseStream in interface Parser

parseStreamNext

public Event parseStreamNext()
Specified by:
parseStreamNext in interface Parser

tmainx

public static void tmainx(java.lang.String[] args)
                   throws java.lang.Exception
Throws:
java.lang.Exception

tmain

public static void tmain(java.lang.String[] args)
                  throws java.lang.Exception
Throws:
java.lang.Exception

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2002-2007 JRuby Team. All Rights Reserved.