net.sf.json
Class DelegatingValueVisitor<V>

java.lang.Object
  extended by net.sf.json.ValueVisitor<V>
      extended by net.sf.json.DelegatingValueVisitor<V>

public abstract class DelegatingValueVisitor<V>
extends ValueVisitor<V>

Author:
Kohsuke Kawaguchi

Constructor Summary
DelegatingValueVisitor()
           
 
Method Summary
 V accept(java.lang.Boolean b)
           
protected  V accept(JSON json)
           
 V accept(JSONArray a)
           
 V accept(JSONFunction f)
           
 V accept(JSONObject o)
           
 V accept(JSONString s)
           
 V accept(java.lang.Number n)
           
protected abstract  V accept(java.lang.Object o)
           
 
Methods inherited from class net.sf.json.ValueVisitor
acceptNull
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelegatingValueVisitor

public DelegatingValueVisitor()
Method Detail

accept

protected abstract V accept(java.lang.Object o)

accept

protected V accept(JSON json)

accept

public V accept(JSONFunction f)
Specified by:
accept in class ValueVisitor<V>

accept

public V accept(JSONString s)
Specified by:
accept in class ValueVisitor<V>

accept

public V accept(java.lang.Number n)
Specified by:
accept in class ValueVisitor<V>

accept

public V accept(java.lang.Boolean b)
Specified by:
accept in class ValueVisitor<V>

accept

public V accept(JSONObject o)
Specified by:
accept in class ValueVisitor<V>

accept

public V accept(JSONArray a)
Specified by:
accept in class ValueVisitor<V>


Copyright © 2006-2012 Json-lib. All Rights Reserved.