@@ -29,27 +29,27 @@ public class PlainText extends AbstractSelectable {
...
@@ -29,27 +29,27 @@ public class PlainText extends AbstractSelectable {
@Override
@Override
publicSelectablexpath(Stringxpath){
publicSelectablexpath(Stringxpath){
thrownewUnsupportedOperationException();
thrownewUnsupportedOperationException("XPath can not apply to plain text. Please check whether you use a previous xpath with attribute select (/@href etc).");
}
}
@Override
@Override
publicSelectable$(Stringselector){
publicSelectable$(Stringselector){
thrownewUnsupportedOperationException();
thrownewUnsupportedOperationException("$ can not apply to plain text. Please check whether you use a previous xpath with attribute select (/@href etc).");
}
}
@Override
@Override
publicSelectable$(Stringselector,StringattrName){
publicSelectable$(Stringselector,StringattrName){
thrownewUnsupportedOperationException();
thrownewUnsupportedOperationException("$ can not apply to plain text. Please check whether you use a previous xpath with attribute select (/@href etc).");
}
}
@Override
@Override
publicSelectablesmartContent(){
publicSelectablesmartContent(){
thrownewUnsupportedOperationException();
thrownewUnsupportedOperationException("Smart content can not apply to plain text. Please check whether you use a previous xpath with attribute select (/@href etc).");
}
}
@Override
@Override
publicSelectablelinks(){
publicSelectablelinks(){
thrownewUnsupportedOperationException();
thrownewUnsupportedOperationException("Links can not apply to plain text. Please check whether you use a previous xpath with attribute select (/@href etc).");