ElementMetadata<?, ?> metadata) throws IOException {
if (!(e instanceof OutOfLineContent)) {
return super.startElement(xw, parent, e, metadata);
}
OutOfLineContent content = (OutOfLineContent) e;
ContentType type = content.getMimeType();
URI src = content.getSrc();
generateEnclosure(xw,
type == null ? null : type.getMediaType(),
src == null ? null : src.toString(),
content.getLength());
return false;
}
@Override
public void textContent(XmlWriter xw, Element e,