Script specific Node class renamed to ScriptNode.

SVN rename command used to ensure file history is kept.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5920 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2007-06-12 15:10:48 +00:00
parent 4c6a93a5a9
commit f074450627
17 changed files with 148 additions and 148 deletions

View File

@@ -71,7 +71,7 @@ public class ValueConverter
{
// NodeRef object properties are converted to new Node objects
// so they can be used as objects within a template
value = new Node(((NodeRef)value), services, scope);
value = new ScriptNode(((NodeRef)value), services, scope);
}
else if (value instanceof QName || value instanceof StoreRef)
{
@@ -128,10 +128,10 @@ public class ValueConverter
{
return null;
}
else if (value instanceof Node)
else if (value instanceof ScriptNode)
{
// convert back to NodeRef
value = ((Node)value).getNodeRef();
value = ((ScriptNode)value).getNodeRef();
}
else if (value instanceof ChildAssociation)
{