import org.apache.slide.content.NodeProperty.NamespaceCache;
boolean inheritance = true;
// Inheritance element
Element inheritanceElm = aceElm.getChild("non-inheritable", NamespaceCache.SLIDE_NAMESPACE);
if (inheritanceElm != null)
{
inheritance = false;
System.out.println("setting non-inheritable node");
}
NodePermission np = new NodePermission(objectUri, subjectUri, actionUri, true, negative);
NodePermission np = new NodePermission(objectUri, subjectUri, actionUri, inheritance, negative);
--
// inheritable
if (perm.isInheritable() == false)
currentAceElm.addContent(new Element("non-inheritable", NamespaceCache.SLIDE_NAMESPACE));