public class XmlLinkConsumer extends Object
| Constructor and Description |
|---|
XmlLinkConsumer() |
| Modifier and Type | Method and Description |
|---|---|
String |
readLink(XMLStreamReader reader,
EdmEntitySet entitySet)
Reads single link with format
<uri>http://somelink</uri>. |
List<String> |
readLinks(XMLStreamReader reader,
EdmEntitySet entitySet)
Reads multiple links with format
|
public String readLink(XMLStreamReader reader, EdmEntitySet entitySet) throws EntityProviderException
<uri>http://somelink</uri>.reader - entitySet - EntityProviderExceptionpublic List<String> readLinks(XMLStreamReader reader, EdmEntitySet entitySet) throws EntityProviderException
<links>
<uri>http://somelink</uri>
<uri>http://anotherLink</uri>
<uri>http://somelink/yetAnotherLink</uri>
</links>
reader - entitySet - EntityProviderExceptionCopyright © 2020. All rights reserved.