anchor.diff:  ...
   ----
   
  +.Example setting attributes and options with classes
  +[source, java]
  +----
  +import static org.asciidoctor.AttributesBuilder.attributes;
  +import static org.asciidoctor.OptionsBuilder.options;
  +
  +...
  +
  +Attributes attributes = attributes().backend("docbook").get();
  +Options options = options().inPlace(true).attributes(attributes).get();
  +
  +String render = asciidoctor.renderFile("target/test-classes/rendersample.asciidoc", options);
  +
  +...
  +----
  +
   === Utilities
   
   A utility class for searching all asciidoc files present in a root folder and all its subfolders is given. In fact it finds all files that end up with _.asc_, _.asciidoc_, _.ad_ or _.adoc_. This class is +AsciiDocDirectoryWalker+.
  
positive.code: 
  See that in previous example we have created a Map, where we have put the options and attributes (creating a Map too) required to render input as docbook and generate an output file.
  
  But +asciidoctor-java-integration+ also provides two builder classes to create these maps in a more readable form. 
  
  +AttributesBuilder+ is provided for creating a map with required attributes set, and +OptionsBuilder+ can be used for options. Previous example but using these classes looks like:
  
  .Example setting attributes and options
  [source, java]
  ----
  import static org.asciidoctor.AttributesBuilder.attributes;
  
negative.code: 
  {asciidoctor-url}[Asciidoctor] supports different kind of options, like +in_place+ which renders the output inside a file, +template_dir+ used to provide a directory of Tilt-compatible templates to be used instead of the default built-in templates, or for example +attributes+ option where we can set key-value pairs of attributes that will be used within asciidoc document.
  
  The second parameter of +render+ methods are a +java.util.Map+ where all these options can be set.
  
  .Example of using in_place Option and backend Attribute
  [source, java]
  