Java XMLStreamWriter CloseNewHTML(XMLStreamWriter serializer)

Here you can find the source of CloseNewHTML(XMLStreamWriter serializer)

Description

Close New HTML

License

Open Source License

Declaration

public static XMLStreamWriter CloseNewHTML(XMLStreamWriter serializer) throws XMLStreamException 

Method Source Code

//package com.java2s;
//   Licensed under the Apache License, Version 2.0 (the "License"); you may

import javax.xml.stream.XMLStreamException;
import javax.xml.stream.XMLStreamWriter;

public class Main {
    public static XMLStreamWriter CloseNewHTML(XMLStreamWriter serializer) throws XMLStreamException {
        serializer.writeEndElement(); // end body
        serializer.writeEndElement(); // end html
        serializer.writeEndDocument();//w w w .  j  a va 2s .  c o  m
        return serializer;
    }
}

Related

  1. addObjectId(final XMLStreamWriter writer, final String objId)
  2. closeQuietly(XMLStreamWriter c)
  3. copy(Reader reader, XMLStreamWriter xmlStreamWriter)
  4. CreateColumn(XMLStreamWriter serializer, String w, String h)
  5. CreateSimpleImage(XMLStreamWriter serializer, URL url, int w, int h)