if (theResource instanceof IResource) { IResource resource = (IResource) theResource; List<XMLEvent> xmlEvents = XmlUtil.parse(resource.getText().getDiv().getValue()); if (xmlEvents != null) { for (XMLEvent next : xmlEvents) {
((IResource) input).getText().getDiv().setValueAsString((String) null); ((IResource) input).getText().getStatus().setValueAsString((String) null); if (input instanceof Bundle) { for (Entry nextEntry : ((Bundle) input).getEntry()) { if (nextEntry.getResource() != null) { nextEntry.getResource().getText().getDiv().setValueAsString((String) null); nextEntry.getResource().getText().getStatus().setValueAsString((String) null);
INarrative narr; if (theResource instanceof IResource) { narr = ((IResource) theResource).getText(); } else if (theResource instanceof IDomainResource) { narr = ((IDomainResource) theResource).getText();
INarrative narr; if (theResource instanceof IResource) { narr = ((IResource) theResource).getText(); } else if (theResource instanceof IDomainResource) { narr = ((IDomainResource) theResource).getText();
writer.append(((IResource) theResource).getText().getDiv().getValueAsString()); } else if (encodingDomainResourceAsText && theResource instanceof IDomainResource) {
protected String getDetail(M modelObject) { if (modelObject instanceof IResource) { XhtmlDt detail = ((IResource) modelObject).getText().getDiv(); return detail == null ? null : detail.getValueAsString(); } return null; }
if (theResource instanceof IResource) { IResource resource = (IResource) theResource; List<XMLEvent> xmlEvents = XmlUtil.parse(resource.getText().getDiv().getValue()); if (xmlEvents != null) { for (XMLEvent next : xmlEvents) {
INarrative narr; if (theResource instanceof IResource) { narr = ((IResource) theResource).getText(); } else if (theResource instanceof IDomainResource) { narr = ((IDomainResource) theResource).getText();
INarrative narr; if (theResource instanceof IResource) { narr = ((IResource) theResource).getText(); } else if (theResource instanceof IDomainResource) { narr = ((IDomainResource) theResource).getText();
writer.append(((IResource) theResource).getText().getDiv().getValueAsString()); } else if (encodingDomainResourceAsText && theResource instanceof IDomainResource) {