@Override
    public boolean hasText() {
        switch(currentEvt){
            case CDATA:
            case CHARACTERS:
            case COMMENT:
            case DTD:
            case ENTITY_REFERENCE:
                return true;
            default:
                return false;
        }
    }