com.cisco.oss.foundation.configuration.xml
Class XmlParser

java.lang.Object
  extended by com.cisco.oss.foundation.configuration.xml.XmlParser

public class XmlParser
extends Object


Constructor Summary
  XmlParser()
           
protected XmlParser(JAXBContext jaxbContext, Unmarshaller jaxbUnmarshaller, Marshaller jaxbMarshaller)
           
 
Method Summary
protected static void clearJaxbObjects()
           
 String marshall(Object jaxb)
           
 Object unmarshall(String xml)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlParser

public XmlParser()

XmlParser

protected XmlParser(JAXBContext jaxbContext,
                    Unmarshaller jaxbUnmarshaller,
                    Marshaller jaxbMarshaller)
Method Detail

clearJaxbObjects

protected static void clearJaxbObjects()

marshall

public String marshall(Object jaxb)
                throws XmlException
Throws:
XmlException

unmarshall

public Object unmarshall(String xml)
                  throws XmlException
Throws:
XmlException


Copyright © 2014 Cisco. All Rights Reserved.