@@ -22,7 +22,7 @@ public class Context : JObject
22
22
23
23
JObject termDefinitions ;
24
24
25
- public JObject inverse = null ;
25
+ internal JObject inverse = null ;
26
26
27
27
public Context ( ) : this ( new JsonLdOptions ( ) )
28
28
{
@@ -68,7 +68,7 @@ private void Init(JsonLdOptions options)
68
68
/// <param name="activeProperty"></param>
69
69
/// <param name="element"></param>
70
70
/// <returns></returns>
71
- public virtual JToken CompactValue ( string activeProperty , JObject value )
71
+ internal virtual JToken CompactValue ( string activeProperty , JObject value )
72
72
{
73
73
var dict = ( IDictionary < string , JToken > ) value ;
74
74
// 1)
@@ -137,7 +137,7 @@ public virtual JToken CompactValue(string activeProperty, JObject value)
137
137
/// <returns></returns>
138
138
/// <exception cref="JsonLdError">JsonLdError</exception>
139
139
/// <exception cref="JsonLD.Core.JsonLdError"></exception>
140
- public virtual JsonLD . Core . Context Parse ( JToken localContext , List < string > remoteContexts )
140
+ internal virtual JsonLD . Core . Context Parse ( JToken localContext , List < string > remoteContexts )
141
141
{
142
142
if ( remoteContexts == null )
143
143
{
@@ -318,7 +318,7 @@ public virtual JsonLD.Core.Context Parse(JToken localContext, List<string> remot
318
318
}
319
319
320
320
/// <exception cref="JsonLD.Core.JsonLdError"></exception>
321
- public virtual JsonLD . Core . Context Parse ( JToken localContext )
321
+ internal virtual JsonLD . Core . Context Parse ( JToken localContext )
322
322
{
323
323
return this . Parse ( localContext , new List < string > ( ) ) ;
324
324
}
@@ -952,7 +952,7 @@ public object Clone()
952
952
/// already generated for the given active context.
953
953
/// </remarks>
954
954
/// <returns>the inverse context.</returns>
955
- public virtual JObject GetInverse ( )
955
+ internal virtual JObject GetInverse ( )
956
956
{
957
957
// lazily create inverse
958
958
if ( inverse != null )
@@ -1144,7 +1144,7 @@ private string SelectTerm(string iri, JArray containers, string typeLanguage
1144
1144
/// <remarks>Retrieve container mapping.</remarks>
1145
1145
/// <param name="property"></param>
1146
1146
/// <returns></returns>
1147
- public virtual string GetContainer ( string property )
1147
+ internal virtual string GetContainer ( string property )
1148
1148
{
1149
1149
// TODO(sblom): Do java semantics of get() on a Map return null if property is null?
1150
1150
if ( property == null )
@@ -1169,7 +1169,7 @@ public virtual string GetContainer(string property)
1169
1169
return ( string ) td [ "@container" ] ;
1170
1170
}
1171
1171
1172
- public virtual bool IsReverseProperty ( string property )
1172
+ internal virtual bool IsReverseProperty ( string property )
1173
1173
{
1174
1174
if ( property == null )
1175
1175
{
@@ -1218,7 +1218,7 @@ internal virtual JObject GetTermDefinition(string key)
1218
1218
}
1219
1219
1220
1220
/// <exception cref="JsonLD.Core.JsonLdError"></exception>
1221
- public virtual JToken ExpandValue ( string activeProperty , JToken value )
1221
+ internal virtual JToken ExpandValue ( string activeProperty , JToken value )
1222
1222
{
1223
1223
JObject rval = new JObject ( ) ;
1224
1224
JObject td = GetTermDefinition ( activeProperty ) ;
@@ -1272,7 +1272,7 @@ public virtual JToken ExpandValue(string activeProperty, JToken value)
1272
1272
}
1273
1273
1274
1274
/// <exception cref="JsonLD.Core.JsonLdError"></exception>
1275
- public virtual JObject GetContextValue ( string activeProperty , string @string )
1275
+ internal virtual JObject GetContextValue ( string activeProperty , string @string )
1276
1276
{
1277
1277
throw new JsonLdError ( JsonLdError . Error . NotImplemented , "getContextValue is only used by old code so far and thus isn't implemented"
1278
1278
) ;
0 commit comments