Constructor and Description |
---|
XmlAgentImpl()
Instantiates a new xml agent impl.
|
Modifier and Type | Method and Description |
---|---|
String |
retriveContent(String accessUrl)
Retrive content.
|
Object |
unmarshallXml(org.springframework.oxm.Unmarshaller unmarshaller,
String accessUrl)
Unmarshall xml.
|
Object |
unmarshallXml(org.springframework.oxm.Unmarshaller unmarshaller,
String accessUrl,
String nameSpace,
String replace,
String with)
Unmarshall xml.
|
public String retriveContent(String accessUrl) throws Exception
XmlAgent
retriveContent
in interface XmlAgent
accessUrl
- the access urlException
- the exceptionpublic Object unmarshallXml(org.springframework.oxm.Unmarshaller unmarshaller, String accessUrl) throws Exception
XmlAgent
unmarshallXml
in interface XmlAgent
unmarshaller
- the unmarshalleraccessUrl
- the access urlException
- the exceptionpublic Object unmarshallXml(org.springframework.oxm.Unmarshaller unmarshaller, String accessUrl, String nameSpace, String replace, String with) throws Exception
XmlAgent
unmarshallXml
in interface XmlAgent
unmarshaller
- the unmarshalleraccessUrl
- the access urlnameSpace
- the name spacereplace
- the replacewith
- the withException
- the exceptionCopyright © 2010–2017 www.hack23.com. All rights reserved.