Package org.restlet.ext.atom

Examples of org.restlet.ext.atom.Generator


    content.setInlineContent(new StringRepresentation(txt, MediaType.TEXT_PLAIN));
    return content;
  }

  private Generator getGenerator() {
    Generator generator = new Generator();
    generator.setName(Constants.getName());
    generator.setUri(new Reference(Constants.getUrl()));
    generator.setVersion(Constants.getVersion());
    return generator;
  }
View Full Code Here

TOP

Related Classes of org.restlet.ext.atom.Generator

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.