<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_20) on Tue Aug 31 11:35:56 CST 2010 -->
<TITLE>
类 org.codehaus.jackson.JsonGenerationException 的使用
</TITLE>
<META NAME="date" CONTENT="2010-08-31">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="类 org.codehaus.jackson.JsonGenerationException 的使用";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<HR>
<CENTER>
<H2>
<B>类 org.codehaus.jackson.JsonGenerationException<br>的使用</B></H2>
</CENTER>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
使用 <A HREF="../../../../org/codehaus/jackson/JsonGenerationException.html" title="org.codehaus.jackson 中的类">JsonGenerationException</A> 的软件包</FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><A HREF="#org.codehaus.jackson"><B>org.codehaus.jackson</B></A></TD>
<TD>Contains main public API of the core streaming JSON
processor: most importantly <A HREF="../../../../org/codehaus/jackson/JsonFactory.html" title="org.codehaus.jackson 中的类"><CODE>JsonFactory</CODE></A>
used for constructing
Json parser (<A HREF="../../../../org/codehaus/jackson/JsonParser.html" title="org.codehaus.jackson 中的类"><CODE>JsonParser</CODE></A>)
and generator
(<A HREF="../../../../org/codehaus/jackson/JsonParser.html" title="org.codehaus.jackson 中的类"><CODE>JsonParser</CODE></A>)
instances. </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><A HREF="#org.codehaus.jackson.impl"><B>org.codehaus.jackson.impl</B></A></TD>
<TD>Contains parser and generator implementation classes that Jackson
defines and uses. </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><A HREF="#org.codehaus.jackson.map"><B>org.codehaus.jackson.map</B></A></TD>
<TD>Contains basic mapper (conversion) functionality that
allows for converting between regular streaming json content and
Java objects (beans or Tree Model: support for both is via
<A HREF="../../../../org/codehaus/jackson/map/ObjectMapper.html" title="org.codehaus.jackson.map 中的类"><CODE>ObjectMapper</CODE></A> class, as well
as convenience methods included in
<A HREF="../../../../org/codehaus/jackson/JsonParser.html" title="org.codehaus.jackson 中的类"><CODE>JsonParser</CODE></A>
Object mapper will convert Json content to ant from
basic Java wrapper types (Integer, Boolean, Double),
Collection types (List, Map), Java Beans,
Strings and nulls. </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><A HREF="#org.codehaus.jackson.map.ser"><B>org.codehaus.jackson.map.ser</B></A></TD>
<TD>Contains implementation classes of serialization part of
data binding. </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><A HREF="#org.codehaus.jackson.node"><B>org.codehaus.jackson.node</B></A></TD>
<TD>Contains concrete <A HREF="../../../../org/codehaus/jackson/JsonNode.html" title="org.codehaus.jackson 中的类"><CODE>JsonNode</CODE></A> implementations
Jackson uses. </TD>
</TR>
</TABLE>
<P>
<A NAME="org.codehaus.jackson"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<A HREF="../../../../org/codehaus/jackson/package-summary.html">org.codehaus.jackson</A> 中 <A HREF="../../../../org/codehaus/jackson/JsonGenerationException.html" title="org.codehaus.jackson 中的类">JsonGenerationException</A> 的使用</FONT></TH>
</TR>
</TABLE>
<P>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left" COLSPAN="2">抛出 <A HREF="../../../../org/codehaus/jackson/JsonGenerationException.html" title="org.codehaus.jackson 中的类">JsonGenerationException</A> 的 <A HREF="../../../../org/codehaus/jackson/package-summary.html">org.codehaus.jackson</A> 中的方法</FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>PrettyPrinter.</B><B><A HREF="../../../../org/codehaus/jackson/PrettyPrinter.html#beforeArrayValues(org.codehaus.jackson.JsonGenerator)">beforeArrayValues</A></B>(<A HREF="../../../../org/codehaus/jackson/JsonGenerator.html" title="org.codehaus.jackson 中的类">JsonGenerator</A> jg)</CODE>
<BR>
Method called after array start marker has been output,
and right before the first value is to be output.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>PrettyPrinter.</B><B><A HREF="../../../../org/codehaus/jackson/PrettyPrinter.html#beforeObjectEntries(org.codehaus.jackson.JsonGenerator)">beforeObjectEntries</A></B>(<A HREF="../../../../org/codehaus/jackson/JsonGenerator.html" title="org.codehaus.jackson 中的类">JsonGenerator</A> jg)</CODE>
<BR>
Method called after object start marker has been output,
and right before the field name of the first entry is
to be output.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>JsonGenerator.</B><B><A HREF="../../../../org/codehaus/jackson/JsonGenerator.html#writeArrayFieldStart(java.lang.String)">writeArrayFieldStart</A></B>(java.lang.String fieldName)</CODE>
<BR>
Convenience method for outputting a field entry ("member")
(that will contain a Json Array value), and the START-ARRAY marker.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>PrettyPrinter.</B><B><A HREF="../../../../org/codehaus/jackson/PrettyPrinter.html#writeArrayValueSeparator(org.codehaus.jackson.JsonGenerator)">writeArrayValueSeparator</A></B>(<A HREF="../../../../org/codehaus/jackson/JsonGenerator.html" title="org.codehaus.jackson 中的类">JsonGenerator</A> jg)</CODE>
<BR>
Method called after an array value has been completely
output, and before another value is to be output.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract void</CODE></FONT></TD>
<TD><CODE><B>JsonGenerator.</B><B><A HREF="../../../../org/codehaus/jackson/JsonGenerator.html#writeBinary(org.codehaus.jackson.Base64Variant, byte[], int, int)">writeBinary</A></B>(<A HREF="../../../../org/codehaus/jackson/Base64Variant.html" title="org.codehaus.jackson 中的类">Base64Variant</A> b64variant,
byte[] data,
int offset,
int len)</CODE>
<BR>
Method that will output given chunk of binary data as base64
encoded, as a complete String value (surrounded by double quotes).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>JsonGenerator.</B><B><A HREF="../../../../org/codehaus/jackson/JsonGenerator.html#writeBinary(byte[])">writeBinary</A></B>(byte[] data)</CODE>
<BR>
&nbs
评论11
最新资源