Class XmlSerializer

java.lang.Object
oracle.webcenter.search.util.XmlSerializer

@Exported public class XmlSerializer extends Object
This class is responsible for serializing Query objects into XML.
Since:
11.1.1.0.0 Beta 2
  • Constructor Details

    • XmlSerializer

      public XmlSerializer()
  • Method Details

    • serialize

      public static void serialize(Query query, Writer writer) throws JAXBException
      Use annotations of the query classes to serialize into XML.
      Parameters:
      query - the query object to serialize into the writer
      writer - the writer into which to write the query object to
      Throws:
      JAXBException