Package com.google.gdata.model.atom

Examples of com.google.gdata.model.atom.OutOfLineContent


          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,
View Full Code Here

TOP

Related Classes of com.google.gdata.model.atom.OutOfLineContent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.