Package lupos.datastructures.items.literal

Examples of lupos.datastructures.items.literal.LanguageTaggedLiteral


//        return tl.getContent().substring(1,
//            tl.getContent().length() - 1);
//      else
//        return tl.toString();
    } else if(o instanceof LanguageTaggedLiteral){
      LanguageTaggedLiteral ltl = (LanguageTaggedLiteral) o;
      return ltl.getContent().substring(1, ltl.getContent().length() - 1);
    } else if (o instanceof Literal || o instanceof String) {
      if ((o.toString().startsWith("\"") && o.toString().endsWith("\""))
          || (o.toString().startsWith("'") && o.toString().endsWith("'")))
        return o.toString().substring(1, o.toString().length() - 1);
      else
View Full Code Here

TOP

Related Classes of lupos.datastructures.items.literal.LanguageTaggedLiteral

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.