Package org.htmlunit.cyberneko
Interface HTMLElementsProvider
-
- All Known Implementing Classes:
HTMLElements,HTMLElements.HTMLElementsWithCache
public interface HTMLElementsProviderInterface to support differentHTMLElements.Element's providers.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HTMLElements.ElementgetElement(java.lang.String ename)HTMLElements.ElementgetElement(java.lang.String ename, HTMLElements.Element elementIfNotFound)HTMLElements.ElementgetElementLC(java.lang.String enameLC, HTMLElements.Element elementIfNotFound)
-
-
-
Method Detail
-
getElement
HTMLElements.Element getElement(java.lang.String ename)
- Parameters:
ename- the element name.- Returns:
- the element information for the specified element name.
-
getElement
HTMLElements.Element getElement(java.lang.String ename, HTMLElements.Element elementIfNotFound)
- Parameters:
ename- the element name.elementIfNotFound- the default element to return if not found.- Returns:
- the element information for the specified element name.
-
getElementLC
HTMLElements.Element getElementLC(java.lang.String enameLC, HTMLElements.Element elementIfNotFound)
- Parameters:
enameLC- the element name in lower caseelementIfNotFound- the default element to return if not found.- Returns:
- the element information for the specified element name.
-
-