Tabnine Logo
ListElementFinder.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
com.novoda.sexp.finder.ListElementFinder
constructor

Best Java code snippets using com.novoda.sexp.finder.ListElementFinder.<init> (Showing top 3 results out of 315)

origin: novoda/simple-easy-xml-parser

/**
 * Will parse an XML tag into {@link Object} then inform the {@link ParseWatcher}
 * The idea is to have a callback for a number of elements to create a {@link java.util.List}
 * This can be used when you want to parse attributes as well as the XML body into your object
 *
 * @param parser  The parser you wish to parse the XML with
 * @param watcher The watcher on elements to be informed of object creation
 * @param <T>     The type you wish to create from the XML body
 * @return {@link ElementFinder}
 */
public <T> ElementFinder<T> getListElementFinder(Parser<T> parser, ParseWatcher<T> watcher) {
  return new ListElementFinder<T>(parser, watcher);
}
origin: novoda/simple-easy-xml-parser

/**
 * Will parse the attributes off an XML tag, into {@link Object} then inform the {@link ParseWatcher}
 * The idea is to have a callback for a number of elements to create a {@link java.util.List}
 *
 * @param attributeMarshaller The marshaller to parse the attributes into your required type
 * @param watcher        The watcher on elements to be informed of object creation
 * @param attrTags            The tags of the attributes you wish to parse
 * @param <T>            The type you wish to create from the XML body
 * @return {@link ElementFinder}
 */
public <T> ElementFinder<T> getListAttributeFinder(AttributeMarshaller<T> attributeMarshaller, ParseWatcher<T> watcher, String... attrTags) {
  return new ListElementFinder<T>(new BasicAttributeParser<T>(attributeMarshaller, attrTags), watcher);
}
origin: novoda/simple-easy-xml-parser

@Before
public void setUp() throws Exception {
  initMocks(this);
  elementCreator = new ListElementFinder<Object>(mockParser, mockWatcher);
}
com.novoda.sexp.finderListElementFinder<init>

Popular methods of ListElementFinder

  • find
  • getResult
  • getResultOrThrow
  • onParsed
  • popResult
  • popResultOrThrow

Popular in Java

  • Creating JSON documents from java classes using gson
  • addToBackStack (FragmentTransaction)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now