Code example for XmlSerializer

Methods: endDocumentstartDocument

0
	/** 
	 * {@inheritDoc} 
	 */ 
	@Override 
	public void serialize(XmlSerializer cereal) throws IllegalArgumentException, IllegalStateException, IOException {
		cereal.startDocument(DEFAULT_ENCODING, true);
 
		super.serialize(cereal);
 
		cereal.endDocument();
	} 
 
	/** 
	 * {@inheritDoc} 
	 */ 
	@Override 
	public XMLParentNode getHeader() { 
		return header;
	} 
 
	/**