@Test public void readLargeStringPropertyValue() throws Exception { String name = StringHelper.generateData(77777); String xml = "<EmployeeName xmlns=\"" + Edm.NAMESPACE_D_2007_08 + "\">" + name + "</EmployeeName>"; InputStream content = createContentAsStream(xml); final EdmProperty property = (EdmProperty) MockFacade.getMockEdm().getEntityType("RefScenario", "Employee").getProperty("EmployeeName"); Object result = new XmlEntityConsumer().readPropertyValue(property, content, String.class); assertEquals(name, result); }
public Object readPropertyValue(final EdmProperty edmProperty, final InputStream content) throws EntityProviderException { return readPropertyValue(edmProperty, content, null); }
XmlEntityConsumer { public Object readPropertyValue(final EdmProperty edmProperty, final InputStream content) throws EntityProviderException { return readPropertyValue(edmProperty, content, null); } }
XmlEntityConsumer { public Object readPropertyValue(final EdmProperty edmProperty, final InputStream content) throws EntityProviderException { return readPropertyValue(edmProperty, content, null); } XmlEntityConsumer(); }
XmlEntityConsumer { public Object readPropertyValue(final EdmProperty edmProperty, final InputStream content) throws EntityProviderException { return readPropertyValue(edmProperty, content, null); } XmlEntityConsumer(); ODataDeltaFeed readFeed(final EdmEntitySet entitySet, final InputStream content,
      final EntityProviderReadProperties properties); ODataEntry readEntry(final EdmEntitySet entitySet, final InputStream content,
      final EntityProviderReadProperties properties); Map<String, Object> readProperty(final EdmProperty edmProperty, final InputStream content,
      final EntityProviderReadProperties properties); Map<String, Object> readProperty(final EntityPropertyInfo propertyInfo, final InputStream content,
      final EntityProviderReadProperties readProperties); Object readPropertyValue(final EdmProperty edmProperty, final InputStream content); Object readPropertyValue(final EdmProperty edmProperty, final InputStream content, final Class<?> typeMapping); Object readCollection(final EntityPropertyInfo info, InputStream content,
      final EntityProviderReadProperties properties); String readLink(final EdmEntitySet entitySet, final Object content); List<String> readLinks(final EdmEntitySet entitySet, final Object content); }
XmlEntityConsumer { public Object readPropertyValue(final EdmProperty edmProperty, final InputStream content) throws EntityProviderException { return readPropertyValue(edmProperty, content, null); } XmlEntityConsumer(); ODataDeltaFeed readFeed(final EdmEntitySet entitySet, final InputStream content,
      final EntityProviderReadProperties properties); ODataEntry readEntry(final EdmEntitySet entitySet, final InputStream content,
      final EntityProviderReadProperties properties); Map<String, Object> readProperty(final EdmProperty edmProperty, final InputStream content,
      final EntityProviderReadProperties properties); Map<String, Object> readProperty(final EntityPropertyInfo propertyInfo, final InputStream content,
      final EntityProviderReadProperties readProperties); Object readPropertyValue(final EdmProperty edmProperty, final InputStream content); Object readPropertyValue(final EdmProperty edmProperty, final InputStream content, final Class<?> typeMapping); Object readCollection(final EntityPropertyInfo info, InputStream content,
      final EntityProviderReadProperties properties); String readLink(final EdmEntitySet entitySet, final Object content); List<String> readLinks(final EdmEntitySet entitySet, final Object content);  }