Navigator

Abstract Class

A query system for navigating an element tree structure.

This is capable of filtering elements according to multiple factors. The navigator must be reset between uses.

When a search function is used, the navigator creates a query of matching elements. If another search function is used, the existing query will be narrowed down.

Extends

Object

Implements

IterableAutoCloseable

Modifiers

public abstract

Constructors


new Navigator (HTMElement)

Constructor
No description is available for this element.
IndexTypeName
1HTMElementelement
Return Type

Navigator

Modifiers

protected


Fields


element

Field
No description is available for this element.
Type

HTMElement

Modifiers

protected final

found

Field
No description is available for this element.
Type

List

Modifiers

protected



Methods


get (String)

Abstract Method
No description is available for this element.
IndexTypeName
1Stringstring
Return Type

String

Modifiers

protected abstract

iterator ()

Method
No description is available for this element.
Return Type

Iterator

Modifiers

public

classes (String...)

Abstract Method

Filter the current query by classes.

IndexTypeName
1String[]string
Return Type

Navigator

Modifiers

public abstract varargs

id (String)

Method
No description is available for this element.
IndexTypeName
1Stringvalue
Return Type

Navigator

Modifiers

public

source ()

Method
No description is available for this element.
Return Type

HTMElement

Modifiers

public

close ()

Method
No description is available for this element.
Return Type

void

Modifiers

public

comments ()

Abstract Method
No description is available for this element.
Return Type

Navigator

Modifiers

public abstract

reset ()

Method
No description is available for this element.
Return Type

Navigator

Modifiers

public

search (String, String)

Abstract Method
No description is available for this element.
IndexTypeName
1Stringstring
2Stringstring
Return Type

Navigator

Modifiers

public abstract

found ()

Method
No description is available for this element.
Return Type

boolean

Modifiers

public

findAll ()

Method
No description is available for this element.
Return Type

HTMElement[]

Modifiers

public

tag (HTMElement)

Abstract Method
No description is available for this element.
IndexTypeName
1HTMElementelement
Return Type

Navigator

Modifiers

public abstract

tag (String)

Abstract Method
No description is available for this element.
IndexTypeName
1Stringstring
Return Type

Navigator

Modifiers

public abstract

findOne ()

Method
No description is available for this element.
Return Type

HTMElement

Modifiers

public