code: public NodeDefinition[] getDeclaredChildNodeDefinitions()
     {
        NodeDefinitionData[] cndefs = nodeTypeData.getDeclaredChildNodeDefinitions();
        NodeDefinition[] ndefs = new NodeDefinition[cndefs.length];
        for (int i = 0; i < cndefs.length; i++)
        {
           NodeDefinitionData cnd = cndefs[i];
           ndefs[i] =
              new NodeDefinitionImpl(cnd, nodeTypeDataManager, nodeTypeManager, locationFactory, valueFactory,
                 dataManager);
        }
  
        return ndefs;
     }
docs: {@inheritDoc}