Package lupos.datastructures.items.literal.codemap

Examples of lupos.datastructures.items.literal.codemap.CodeMapLiteral


        || LiteralFactory.getMapType() == MapType.LAZYLITERAL
        || LiteralFactory.getMapType() == MapType.LAZYLITERALWITHOUTINITIALPREFIXCODEMAP
        || LiteralFactory.getMapType() == MapType.PREFIXCODEMAP) {
      return new StringLiteral((String) in.readObject());
    } else {
      return new CodeMapLiteral(InputHelper.readLuposInt(in));
    }
  }
View Full Code Here


            || mapType == MapType.PREFIXCODEMAP
            || mapType == MapType.URICODEMAP) {
          return new StringLiteral(InputHelper.readLuposString(in));
        } else {

          return new CodeMapLiteral(InputHelper.readLuposInt(in));
        }
      }
    } catch (final URISyntaxException e) {
      throw new IOException(
          "Expected URI in InputStream, but it is not an URI!");
View Full Code Here

        || mapType == MapType.LAZYLITERALWITHOUTINITIALPREFIXCODEMAP
        || mapType == MapType.PREFIXCODEMAP
        || mapType == MapType.URICODEMAP) {
      return new StringLiteral(content);
    } else {
      return new CodeMapLiteral(content);
    }
  }
View Full Code Here

    if (mapType == MapType.NOCODEMAP || mapType == MapType.LAZYLITERAL
        || mapType == MapType.LAZYLITERALWITHOUTINITIALPREFIXCODEMAP
        || mapType == MapType.PREFIXCODEMAP) {
      return new StringLiteral(content);
    } else {
      return new CodeMapLiteral(content);
    }
  }
View Full Code Here

        .createLiteralWithoutLazyLiteral(uniqueRepresentation);
  }

  protected TypedLiteral(final int codeContent, final URILiteral type) {
    this.type = type;
    this.content = new CodeMapLiteral(codeContent);
  }
View Full Code Here

    final String languageUniqueRepresentation = (LiteralFactory.semanticInterpretationOfLiterals)?language.toUpperCase():language;
    this.lang = LiteralFactory.createLiteralWithoutLazyLiteral(languageUniqueRepresentation);
  }

  protected LanguageTaggedLiteral(final int codeContent, final int codeLang) {
    this.content = new CodeMapLiteral(codeContent);
    this.lang = new CodeMapLiteral(codeLang);
  }
View Full Code Here

    this.content = LiteralFactory.createStringLiteral(content
        .substring(1, content.length() - 1));
  }

  public StringURILiteral(final int code) {
    this.content = new CodeMapLiteral(code);
  }
View Full Code Here

  public AnonymousLiteral(final String content) {
    this.content = LiteralFactory.createLiteralWithoutLazyLiteral(content);
  }

  protected AnonymousLiteral(final int code) {
    this.content = new CodeMapLiteral(code);
  }
View Full Code Here

TOP

Related Classes of lupos.datastructures.items.literal.codemap.CodeMapLiteral

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.