org.apache.abdera.ext.json
Class JSONStream
java.lang.Object
org.apache.abdera.ext.json.JSONStream
public class JSONStream
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JSONStream
public JSONStream(Writer writer)
startObject
public void startObject()
throws IOException
- Throws:
IOException
endObject
public void endObject()
throws IOException
- Throws:
IOException
startArray
public void startArray()
throws IOException
- Throws:
IOException
endArray
public void endArray()
throws IOException
- Throws:
IOException
writeSeparator
public void writeSeparator()
throws IOException
- Throws:
IOException
writeQuoted
public void writeQuoted(String value)
throws IOException
- Throws:
IOException
writeField
public void writeField(String name)
throws IOException
- Throws:
IOException
writeField
public void writeField(String name,
Date value)
throws IOException
- Throws:
IOException
writeField
public void writeField(String name,
IRI value)
throws IOException
- Throws:
IOException
writeField
public void writeField(String name,
javax.activation.MimeType value)
throws IOException
- Throws:
IOException
writeField
public void writeField(String name,
EntityTag value)
throws IOException
- Throws:
IOException
writeField
public void writeField(String name,
String value)
throws IOException
- Throws:
IOException
writeField
public void writeField(String name,
Number value)
throws IOException
- Throws:
IOException
writeField
public void writeField(String name,
Boolean value)
throws IOException
- Throws:
IOException
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.