org.yaml.snakeyaml
Class Loader

java.lang.Object
  extended by org.yaml.snakeyaml.Loader

Deprecated. Loader's functionality was moved to Yaml

public class Loader
extends Object


Field Summary
protected  BaseConstructor constructor
          Deprecated.  
protected  Resolver resolver
          Deprecated.  
 
Constructor Summary
Loader()
          Deprecated.  
Loader(BaseConstructor constructor)
          Deprecated.  
 
Method Summary
 Node compose(Reader yaml)
          Deprecated. Parse the first YAML document in a stream and produce the corresponding representation tree.
 Iterable<Node> composeAll(Reader yaml)
          Deprecated. Parse all YAML documents in a stream and produce corresponding representation trees.
 Object load(Reader io)
          Deprecated.  
 Iterable<Object> loadAll(Reader yaml)
          Deprecated.  
 Iterable<Event> parse(Reader yaml)
          Deprecated. Parse a YAML stream and produce parsing events.
 void setBeanAccess(BeanAccess beanAccess)
          Deprecated.  
 void setResolver(Resolver resolver)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

constructor

protected final BaseConstructor constructor
Deprecated. 

resolver

protected Resolver resolver
Deprecated. 
Constructor Detail

Loader

public Loader(BaseConstructor constructor)
Deprecated. 

Loader

public Loader()
Deprecated. 
Method Detail

setBeanAccess

public void setBeanAccess(BeanAccess beanAccess)
Deprecated. 

load

public Object load(Reader io)
Deprecated. 

loadAll

public Iterable<Object> loadAll(Reader yaml)
Deprecated. 

compose

public Node compose(Reader yaml)
Deprecated. 
Parse the first YAML document in a stream and produce the corresponding representation tree.

Parameters:
yaml - YAML document
Returns:
parsed root Node for the specified YAML document

composeAll

public Iterable<Node> composeAll(Reader yaml)
Deprecated. 
Parse all YAML documents in a stream and produce corresponding representation trees.

Parameters:
yaml - stream of YAML documents
Returns:
parsed root Nodes for all the specified YAML documents

setResolver

public void setResolver(Resolver resolver)
Deprecated. 

parse

public Iterable<Event> parse(Reader yaml)
Deprecated. 
Parse a YAML stream and produce parsing events.

Parameters:
yaml - YAML document(s)
Returns:
parsed events


Copyright © 2008-2010. All Rights Reserved.