All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.epam.jdi.light.elements.interfaces.common.IsText Maven / Gradle / Ivy

There is a newer version: 1.6.0
Show newest version
package com.epam.jdi.light.elements.interfaces.common;

import com.epam.jdi.light.common.TextTypes;
import com.epam.jdi.light.elements.interfaces.base.ICoreElement;

/**
 * Created by Roman Iovlev on 26.09.2019
 * Email: [email protected]; Skype: roman.iovlev
 */
public interface IsText extends ICoreElement {
    default String getText() { return core().getText(); }
    default String text() { return getText(); }
    default String text(TextTypes type) { return core().text(type); }
    default String getValue() { return getText(); }
    default boolean isEmpty() { return getText().isEmpty(); }
    default boolean isNotEmpty() { return !isEmpty(); }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy