// Path: restannotations/src/main/java/org/wicketstuff/rest/contenthandling/RestMimeTypes.java
// public class RestMimeTypes {
// 	public static final String APPLICATION_RSS_XML = "application/rss+xml";
// 
// 	public static final String TEXT_CSS = "text/css";
// 
// 	public static final String TEXT_CSV = "text/csv";
// 
// 	public static final String TEXT_PLAIN = "text/plain";
// 
// 	public static final String TEXT_HTML = "text/html";
// 
// 	public static final String APPLICATION_XML = "application/xml";
// 	
// 	public static final String TEXT_XML = "text/xml";
// 	
// 	public static final String APPLICATION_JSON = "application/json";
// 	
// 	public static final String IMAGE_GIF = "image/gif";
// 	
// 	public static final String IMAGE_JPEG = "image/jpeg";
// 	
// 	public static final String IMAGE_PNG = "image/png";
// 	
// 	public static final String OCTET_STREAM = "application/octet-stream";
// }


import java.io.StringWriter;
import javax.xml.bind.JAXB;
import org.apache.wicket.request.cycle.RequestCycle;
import org.apache.wicket.request.http.WebResponse;
import org.wicketstuff.rest.contenthandling.RestMimeTypes;
/**
 *  Licensed to the Apache Software Foundation (ASF) under one or more
 *  contributor license agreements.  See the NOTICE file distributed with
 *  this work for additional information regarding copyright ownership.
 *  The ASF licenses this file to You under the Apache License, Version 2.0
 *  (the "License"); you may not use this file except in compliance with
 *  the License.  You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */
package org.wicketstuff.rest.contenthandling.serialdeserial;




public class XmlSerialDeser extends TextualObjectSerialDeserial {

	public XmlSerialDeser() {
// Path: restannotations/src/main/java/org/wicketstuff/rest/contenthandling/RestMimeTypes.java
// public class RestMimeTypes {
// 	public static final String APPLICATION_RSS_XML = "application/rss+xml";
// 
// 	public static final String TEXT_CSS = "text/css";
// 
// 	public static final String TEXT_CSV = "text/csv";
// 
// 	public static final String TEXT_PLAIN = "text/plain";
// 
// 	public static final String TEXT_HTML = "text/html";
// 
// 	public static final String APPLICATION_XML = "application/xml";
// 	
// 	public static final String TEXT_XML = "text/xml";
// 	
// 	public static final String APPLICATION_JSON = "application/json";
// 	
// 	public static final String IMAGE_GIF = "image/gif";
// 	
// 	public static final String IMAGE_JPEG = "image/jpeg";
// 	
// 	public static final String IMAGE_PNG = "image/png";
// 	
// 	public static final String OCTET_STREAM = "application/octet-stream";
// }


// Path: restannotations/src/test/java/org/wicketstuff/rest/contenthandling/serialdeserial/XmlSerialDeser.java
import java.io.StringWriter;
import javax.xml.bind.JAXB;
import org.apache.wicket.request.cycle.RequestCycle;
import org.apache.wicket.request.http.WebResponse;
import org.wicketstuff.rest.contenthandling.RestMimeTypes;

/**
 *  Licensed to the Apache Software Foundation (ASF) under one or more
 *  contributor license agreements.  See the NOTICE file distributed with
 *  this work for additional information regarding copyright ownership.
 *  The ASF licenses this file to You under the Apache License, Version 2.0
 *  (the "License"); you may not use this file except in compliance with
 *  the License.  You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */
package org.wicketstuff.rest.contenthandling.serialdeserial;




public class XmlSerialDeser extends TextualObjectSerialDeserial {

	public XmlSerialDeser() {
		super("UTF-8", RestMimeTypes.APPLICATION_XML);