@Test public void testWriteEntryId() throws Exception { odataUri = new ODataParserImpl().parseUri("http: startDocument(false); metadataWriter = new AtomMetadataWriter(xmlWriter, odataUri, entityDataModel, nsConfigurationProvider); metadataWriter.writeEntryId(customer); endDocument(); assertEquals(prettyPrintXml(readContent(EXPECTED_ENTRY_ID_PATH)), prettyPrintXml(outputStream.toString())); }
void writeEntryId(Object entity) throws XMLStreamException, ODataEdmException { xmlWriter.writeStartElement(ATOM_ID); xmlWriter.writeCharacters(getEntryIdString(entity)); xmlWriter.writeEndElement(); }
AtomMetadataWriter { void writeEntryId(Object entity) throws XMLStreamException, ODataEdmException { xmlWriter.writeStartElement(ATOM_ID); xmlWriter.writeCharacters(getEntryIdString(entity)); xmlWriter.writeEndElement(); } }
AtomMetadataWriter { void writeEntryId(Object entity) throws XMLStreamException, ODataEdmException { xmlWriter.writeStartElement(ATOM_ID); xmlWriter.writeCharacters(getEntryIdString(entity)); xmlWriter.writeEndElement(); } AtomMetadataWriter(XMLStreamWriter xmlWriter, ODataUri oDataUri,
                              EntityDataModel entityDataModel, AtomNSConfigurationProvider nsConfigurationProvider); }
AtomMetadataWriter { void writeEntryId(Object entity) throws XMLStreamException, ODataEdmException { xmlWriter.writeStartElement(ATOM_ID); xmlWriter.writeCharacters(getEntryIdString(entity)); xmlWriter.writeEndElement(); } AtomMetadataWriter(XMLStreamWriter xmlWriter, ODataUri oDataUri,
                              EntityDataModel entityDataModel, AtomNSConfigurationProvider nsConfigurationProvider); void writeEntryEntityLink(Object entity); void writeCount(Object count); }
AtomMetadataWriter { void writeEntryId(Object entity) throws XMLStreamException, ODataEdmException { xmlWriter.writeStartElement(ATOM_ID); xmlWriter.writeCharacters(getEntryIdString(entity)); xmlWriter.writeEndElement(); } AtomMetadataWriter(XMLStreamWriter xmlWriter, ODataUri oDataUri,
                              EntityDataModel entityDataModel, AtomNSConfigurationProvider nsConfigurationProvider); void writeEntryEntityLink(Object entity); void writeCount(Object count);  }