@Test(expected=NullPointerException.class) public void testNewLanguageLiteral$nullLanguage() { Literals.newLanguageLiteral("not null",null); }
public static LanguageLiteral newLanguageLiteral(String value, String language) { checkNotNull(value,STRING_CANNOT_BE_NULL); checkNotNull(language,LANGUAGE_CANNOT_BE_NULL); return new ImmutableLanguageLiteral(value,language); }
Literals { public static LanguageLiteral newLanguageLiteral(String value, String language) { checkNotNull(value,STRING_CANNOT_BE_NULL); checkNotNull(language,LANGUAGE_CANNOT_BE_NULL); return new ImmutableLanguageLiteral(value,language); } }
Literals { public static LanguageLiteral newLanguageLiteral(String value, String language) { checkNotNull(value,STRING_CANNOT_BE_NULL); checkNotNull(language,LANGUAGE_CANNOT_BE_NULL); return new ImmutableLanguageLiteral(value,language); } private  Literals(); }
Literals { public static LanguageLiteral newLanguageLiteral(String value, String language) { checkNotNull(value,STRING_CANNOT_BE_NULL); checkNotNull(language,LANGUAGE_CANNOT_BE_NULL); return new ImmutableLanguageLiteral(value,language); } private  Literals(); static Literal<String> of(String value); static DurationLiteral of(javax.xml.datatype.Duration duration); static DurationLiteral of(Duration duration); static DateTimeDateTimeLiteralBuilder of(Date date); static DateTimeLiteral of(java.sql.Date date); static DateTimeLiteral of(java.sql.Time time); static DateTimeDateTimeLiteralBuilder of(Calendar calendar); static DateTimeDateTimeLiteralBuilder of(GregorianCalendar calendar); static XMLGregorianCalendarDateTimeLiteralBuilder of(XMLGregorianCalendar calendar); static DateTimeDateTimeLiteralBuilder of(DateTime dateTime); static DurationLiteral duration(long time, TimeUnit unit); static Literal<? extends Serializable> newLiteral(Object value); static TypedLiteral<? extends Serializable> newTypedLiteral(Object value, URI datatype); static LanguageLiteral newLanguageLiteral(String value, String language); }
Literals { public static LanguageLiteral newLanguageLiteral(String value, String language) { checkNotNull(value,STRING_CANNOT_BE_NULL); checkNotNull(language,LANGUAGE_CANNOT_BE_NULL); return new ImmutableLanguageLiteral(value,language); } private  Literals(); static Literal<String> of(String value); static DurationLiteral of(javax.xml.datatype.Duration duration); static DurationLiteral of(Duration duration); static DateTimeDateTimeLiteralBuilder of(Date date); static DateTimeLiteral of(java.sql.Date date); static DateTimeLiteral of(java.sql.Time time); static DateTimeDateTimeLiteralBuilder of(Calendar calendar); static DateTimeDateTimeLiteralBuilder of(GregorianCalendar calendar); static XMLGregorianCalendarDateTimeLiteralBuilder of(XMLGregorianCalendar calendar); static DateTimeDateTimeLiteralBuilder of(DateTime dateTime); static DurationLiteral duration(long time, TimeUnit unit); static Literal<? extends Serializable> newLiteral(Object value); static TypedLiteral<? extends Serializable> newTypedLiteral(Object value, URI datatype); static LanguageLiteral newLanguageLiteral(String value, String language);  }